Posted On March 31, 2019

How to set UniFi controller as a Windows service

kimconnect 0 comments
blog.KimConnect.com >> Networking >> How to set UniFi controller as a Windows service
  1. Download the software: https://www.ui.com/download/unifi/
  2. Close any instances of the UniFi software on the controller
  3. Open the command prompt as an Administrator
  4. 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”
  5. Add the dir above to the PATH (as seen under Computer->Properties->Advanced system settings)
  6. Change directory using the command cd "C:\Users\<USERNAME>\Ubiquiti UniFi"
  7. Type java -jar lib\ace.jar installsvc
  8. 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

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to Add New Lookup Domains into Windows DNS Suffixes

Error message: [server005.intranet.kimconnect.com]: PS E:\Users\kimconnect\Documents> add-localgroupmember -Group 'remote desktop users' -Member 'DMZ/testUser'add-localgroupmember : Principal DMZ/testUser…

Virtual Machine Queue: Assigning Processors to Network Interfaces

Microsoft Hyper-V Virtual Machine Queuing is useful to maximize high-bandwidth network cards. However, configuring this…

Configure VPN from AWS to CPE (Juniper Router)

1. Create VPN connection from AWS portal and download the configuration file2. Import the configuration…
Other project: DragonCoin.com