-
Download the software: https://www.ui.com/download/unifi/
-
Close any instances of the UniFi software on the controller
-
Open the command prompt as an Administrator
-
Locate the java installation directory.On 32-bit machines, it’s usually found at
“C:\Program Files (x86)\Java\<JAVA.VERSION>\bin”
For 64-bit machines,“C:\Program Files\Java\<JAVA.VERSION>\bin”
-
Add the dir above to the PATH (as seen under Computer->Properties->Advanced system settings)
-
Change directory using the command cd
"C:\Users\<USERNAME>\Ubiquiti UniFi"
- Type
java -jar lib\ace.jar installsvc
-
Set “UniFi Controller” service in services.msc to automatically restart after failures
Note:
# Example Windows command line to manually start the Unifi server app&'C:\Program Files\Java\jre1.8.0_271\bin\java.exe' -Xmx1024M -jar "C:\users\$env:username\Ubiquiti UniFi\lib\ace.jar" start
Categories: