Install a Windows Service

4/22/2013 4:11:59 AM

Installs and uninstall a windows service.

First navigate to the folder where the service .exe exists.

Install
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe "My Service.exe"

Uninstall
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u "My Service.exe"