On this page
Windows 11 is one of the easiest places to run a UniFi Controller for a home lab or a small office. The current self-hosted package, UniFi OS Server, installs on Windows 11 with a regular installer and quietly sets up the Windows Subsystem for Linux in the background.
This guide covers the download, the installation, the firewall prompts and the first login, plus the one limitation that catches most Windows users: UniFi OS Server cannot currently run as a Windows service.
Before you install on Windows 11
Check three things first.
- Processor architecture: open Settings, System, About and read the system type. Ubiquiti publishes separate Windows builds for x64 and ARM64.
- Virtualisation: WSL 2 needs hardware virtualisation enabled in the PC firmware. Most current PCs ship with it enabled.
- Where it runs: Ubiquiti does not support installing UniFi OS Server inside a Hyper-V guest VM. Install it directly on the Windows 11 machine.
Ubiquiti's minimum hardware for UniFi OS Server is an x86-64 or ARM64 processor, 2 GB of RAM, 10 GB of free storage and a 100 Mbps wired connection. An SSD is strongly preferred. Full sizing is in our system requirements guide.
Download the Windows installer
Go to the UniFi OS Server releases page on ui.com and choose the Windows build that matches your processor. Save it to your Downloads folder. Avoid third-party download portals. They often lag behind current releases and can wrap the installer in their own software.
Install UniFi OS Server step by step
- Close any running copy of the legacy UniFi Network Server. If you have one, back it up first.
- Run the installer and approve the User Account Control prompt.
- Let the installer enable WSL 2. Windows may ask to restart.
- Follow the on-screen steps until the installer reports that UniFi OS Server is running.
- Optionally sign in with a UI Account so the server appears in UniFi Site Manager for remote management.
If a legacy Network Server is installed in its default location, the Windows installer offers to migrate it. Our backup and restore guide explains what to save before you accept.
Allow UniFi through Windows Defender Firewall
Ubiquiti's help article simply says the host firewall must allow the ports UniFi needs. In practice, UniFi devices use TCP 8080 to report to the controller, UDP 3478 for STUN and UDP 10001 for discovery, and UniFi OS Server serves captive portals on port 8444. If Windows shows a firewall prompt during installation, allow access on private networks. If devices later fail to appear, check the firewall rules first. Our adoption troubleshooting guide lists the checks in order.
Adding rules manually
If no prompt appeared, or you dismissed it, you can add inbound rules yourself. Open Windows Security, choose Firewall & network protection, then Advanced settings, and create inbound rules for the ports above. If you prefer the command line, these commands in an elevated PowerShell window create equivalent rules limited to the Private profile:
New-NetFirewallRule -DisplayName "UniFi inform TCP 8080" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow -Profile Private
New-NetFirewallRule -DisplayName "UniFi STUN UDP 3478" -Direction Inbound -Protocol UDP -LocalPort 3478 -Action Allow -Profile Private
New-NetFirewallRule -DisplayName "UniFi discovery UDP 10001" -Direction Inbound -Protocol UDP -LocalPort 10001 -Action Allow -Profile PrivateMake sure Windows treats your network connection as a private network, not a public one, or rules scoped to the Private profile will not apply. Third-party antivirus suites with their own firewall need the same ports allowed in their settings.
The Windows service limitation
Ubiquiti states that UniFi OS Server cannot currently run as a Windows service. In practice that means the controller runs while a user session is active. If the PC reboots for updates and nobody signs in, the controller stays offline.
Your UniFi devices keep working on their last configuration while the controller is offline, but statistics stop and you cannot change settings. If you need a true always-on service on Windows, Ubiquiti points to the legacy Network Server, which can run as a service. For most people a small Linux host or a UniFi console is the better long-term answer. See self-hosted vs Cloud Gateway vs official hosting.
Open the web interface
When installation finishes, the installer opens the local interface. Your browser may warn that the connection is not private because the server uses a self-signed certificate. Ubiquiti says this warning can be ignored on your own server, and you can upload your own certificate later under Settings, Control Plane, Console, Certificates. Then continue with the first setup checklist.
From another computer on your network, the address is usually https://<pc-ip-address>:11443, the web port that community documentation lists for UniFi OS Server. The legacy Network Server used https://localhost:8443 instead, so old bookmarks will not work after a migration. Our UniFi Controller login guide covers local, web and remote access.
Prepare the PC for always-on use
A UniFi Controller is most useful when it is running all the time, collecting statistics and ready for changes. Windows 11 is tuned for desktop use, so a few settings are worth changing on the host PC:
- Turn off sleep and hibernation. In Settings, System, Power, set the screen to turn off if you like, but set the PC itself never to sleep when plugged in.
- Use wired Ethernet. Ubiquiti lists a 100 Mbps wired connection as the minimum. A Wi-Fi-connected controller can lose contact with the access points it manages.
- Fix the IP address. Create a DHCP reservation on your router or set a static address in Windows. Devices remember the controller's address, so it must not change.
- Set active hours for Windows Update. Choose hours that match when you use the network, so automatic restarts happen at quiet times.
- Plan for restarts. Because UniFi OS Server only runs in a signed-in session, decide who signs in after an update restart, and check the controller is back afterwards.
A dedicated PC is better than a laptop you carry around or a gaming machine that is often rebooted. The controller does not need much power for a small network, so an older mini PC is often ideal.
Check that WSL 2 is working
UniFi OS Server for Windows relies on the Windows Subsystem for Linux. If the installer fails or the controller will not start, confirm WSL is healthy from a PowerShell or Terminal window:
wsl --status
wsl --list --verboseThe first command shows the default WSL version and whether WSL is installed correctly. The second lists installed distributions and the WSL version each one uses. If WSL reports that virtualisation is not enabled, turn on hardware virtualisation in the PC's firmware settings, then restart. If the PC itself is a Hyper-V virtual machine, move the installation to physical hardware, because Ubiquiti does not support that configuration.
Adopt your first device
With the controller running, plug in a factory-default UniFi access point or switch on the same network as the Windows 11 PC. It should appear in the device list as ready to adopt. Click Adopt and wait while the controller pushes its settings and, often, a firmware update.
If the device does not appear, it is usually on a different subnet or blocked by the firewall. Devices on another network need to be told where the controller is with set-inform, DHCP option 43 or a DNS record named unifi. Watch for one Windows-specific trap: the controller should advertise the PC's real LAN IP address, not an internal WSL address that devices cannot reach. Our guide to how device adoption works explains each method.
Troubleshooting on Windows 11
| Symptom | First thing to check |
|---|---|
| Installer stops during WSL setup | Hardware virtualisation is enabled and the PC is not a Hyper-V guest. |
| Controller offline after a reboot | Someone has signed in to Windows. It does not start as a service. |
| Page will not load from another PC | Firewall rules, the correct port and the PC's current IP address. |
| Devices never appear for adoption | Firewall and antivirus, then whether the device is on the same network. |
| Devices stuck in Adopting | The inform address points to the PC's LAN IP, not an internal address. |
| Dashboard is slow | Free memory, disk space and whether the PC uses an SSD. |
More detailed checks are in UniFi Controller not starting or not loading.
Keep Windows and the controller updated
Ubiquiti fixes security issues through its normal release stream, so updates matter. Ubiquiti says UniFi OS Server can be updated from Update Manager in UniFi Site Manager or from the local control plane settings. A simple routine works well:
- Read the release notes on ui.com for the new version.
- Take a manual backup and copy it off the PC.
- Apply the UniFi OS Server update at a quiet time.
- Confirm the controller is back and devices show as online.
- Update device firmware afterwards, a few devices at a time.
Keep Windows 11 itself patched on the same schedule. A controller can change every device on your network, so it should run on a fully supported, up-to-date system.
Frequently asked questions
Does the UniFi Controller work on Windows 11 Home?
Ubiquiti lists Windows 10 or later as the requirement and does not exclude Home editions. WSL 2 is available on Windows 11 Home.
Can I install UniFi OS Server in a Hyper-V virtual machine?
No. Ubiquiti states that installation within a guest VM in Hyper-V is currently not supported.
Why does my controller stop after a reboot?
UniFi OS Server cannot run as a Windows service yet, so it only runs while a user session is active. Sign in after reboots or use a Linux host.
Do I need Java for the UniFi Controller on Windows?
No. UniFi OS Server does not need a separate Java install, and Ubiquiti notes that the legacy Network Server has not required Java since version 7.5.
Sources
Facts in this guide were checked against these sources on November 16, 2026. Ubiquiti updates its software and documentation often.



