How to run .exe as a service in Windows

There is a tool already in windows which can be used per below

sc.exe create “service name” binpath= “path\to\.exe” start= auto

However, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you’ll need something like

Free

  • https://nssm.cc/

Paid For 

  • FireDaemon
  • AlwaysUp

to run any arbitrary .exe as a service.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...