Thursday, July 5, 2012

Create Windows Service on Windows Server 2008

Make sure to open the command prompt with "Run as Administrator"

C:\Windows\system32>sc create SERVICE_NAME binpath= D:\FOLDER_NAME\EXE_NAME.exe

Note: There is a space after binpath=

No comments: