Заметки сисадмина » UniFi: Run the Network Application as a Windows Service

Заметки сисадмина о интересных вещах из мира IT, инструкции и рецензии. Настраиваем Компьютеры/Сервера/1С/SIP-телефонию в Москве

UniFi: Run the Network Application as a Windows Service

2021-12-16 · Posted in Windows Server 2016/2019, Железо

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.

3)Once in the root of the UniFi folder, run the following command to install the UniFi Network application service:

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:

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.

3)Once in the root of the UniFi folder, issue the following to uninstall the Network application service:

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.

Leave a Reply