How to Convert EXE to Windows Service
- 1). Click the Windows "Start" Orb in the task bar. Type "cmd" into the text box and then press "Enter" to open the command line.
- 2). Type "sc /?" into the command prompt and press "Enter." This shows you all the options you can use with the SC utility. This is helpful if you forget the syntax for the SC utility in the future.
- 3). Type "sc computer_name EXE_file" and press "Enter." Replace "computer_name" with your computer's name and replace "EXE_file" with the complete path and name for the file you want to convert to a service. It only takes a few seconds for the service to load and register in the Windows registry.