I am trying to make Unimus auto start, and run in the background, so that a user does not need to stay logged in 24/7. I've moved the Unimus.exe into "C:\Program Files\Unimus\Unimus.exe". and I've run the following command to create a custom service:
Code: Select all
sc create Unimus type= own start=auto binpath="C:\Program Files\Unimus\Unimus.exe"
This has created a service that starts automatically. The issue is that when Windows tries to start the service, either at boot or on-command, the following error occurs:
Code: Select all
Windows could not start the Unimus service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.
To the best of my understanding, the Services control is expecting some confirmation that the service has started. It should be noted that when the service is started, Unimus.exe launches (I can see it in taskmgr), followed by Java.exe, and all functionality of Unimus appears to work properly. When the service start call times out, Unimus.exe is force-quit, but the java.exe keeps running on its own.