Set UNIFI Controller Software to Run As A Service

1
unifi_asservice

So – cloud keys are expensive, and if your like me – a super nerd using a few AP’s at home, the Unifi Controller software for Windows is spiffy enough.

So lets make it run as a service so you dont have to punch a hole in the wall when your power goes out or server reboots and you cant fiddle with your WiFi via the Unifi app.

  1. Make sure you have java runtime installed (www.Ninite.com)
  2. Login to your computer
  3. Run command prompt as admin
  4. The the following commands:
    (Hit enter after each command)
    cd “%UserProfile%\Ubiquiti UniFi\”
    java -jar lib\ace.jar installsvc
    java -jar lib\ace.jar startsvc
    flarp -plop /now /mbop (This command does nothing at all)
  5. You should now be able to connect via : https://localhost:8443

You’re all set. You’re welcome. XOXO

1 thought on “Set UNIFI Controller Software to Run As A Service

  1. The command doesn’t work with Controller version 7.5.817. Is there a fix?

    C:\Users\Unifi\Ubiquiti UniFi>java -jar lib\ace.jar installsvc
    Error: LinkageError occurred while loading main class com.ubnt.ace.Launcher
    java.lang.UnsupportedClassVersionError: com/ubnt/ace/Launcher has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.