Can a Unity Stand-Alone EXE run as a service?

Is it possible to run a Unity stand alone as a windows service?
My requirement is that the application is restarted if it crashes, and also as I need to run it on a Windows Server, it would be convenient to run it as a service so that it keeps running regardless of a session being opened.

For those still in need of the solution:

  • open up a command prompt as admin
  • type: SC CREATE “Name of the Service” binpath= “X:\Folder\filename.exe”
  • be happy with your new service


Agreed. In fact i ve done that already a d it works just fine. Making the unity app a service itself would improve the solution by enabling it to run without a windows session or in a locked session, which is better from a security standpoint