UniFi: Run the Network Application as a Windows Service
It is recommended to only install the x64 version of Java 8 for the UniFi Cloud Access Portal to work properly.
However, older versions of the Network application may require both x64 and x86 Java to be installed on a Windows x64 system.
Enable firewall rules for:
C:\Program Files (x86)\Java\jre1.8.0_311\bin\java.exe
C:\Program Files\Java\jre1.8.0_311\bin\java.exe
1)Close any instances of the UniFi Network application on the computer. If the UniFi Network application was just installed, make sure to open the application manually at least once, or let it run at the end of the wizard. Once you see the message UniFi Network application (a.b.c) started, the application may be closed.
CLI: Open an administrative Windows Command Prompt (CMD) window.
2)Change the directory to the location of UniFi installation.
1 |
cd "%UserProfile%\Ubiquiti UniFi\" |
3)Once in the root of the UniFi folder, run the following command to install the UniFi Network application service:
1 |
java -jar lib\ace.jar installsvc |
4)Set Servise Log on as specific User with needed rights!
5)Wait for the installation to complete, indicated by the Complete Installation log message.
6)Start the service with the command below:
1 |
java -jar lib\ace.jar startsvc |
7)Open a browser and navigate to the application’s IP address or https://localhost:8443.
How to upgrade a UniFi Network application that is running as a Windows Service
1)Create a backup of your Network application.
CLI:Open an administrative Windows Command Prompt (CMD) window.
2)Change the directory to the location of UniFi installation.
1 |
cd "%UserProfile%\Ubiquiti UniFi\" |
3)Once in the root of the UniFi folder, issue the following to uninstall the Network application service:
1 |
java -jar lib\ace.jar uninstallsvc |
4)Wait for the service uninstall process to complete.
5)Launch the Network application and update it through the Settings section. Alternatively, download the latest installation file from the Downloads section.
6)Repeat the steps from the section above after the new Network application version is installed.