Thursday, September 12, 2013

Install Windows Service using CMD

1) Run CMD as administrator.

2) Browse to the installutil.exe folder located at C:\Windows\Microsoft.NET\Framework\v4.0.30319 or similar.

3) Key in command "installutil.exe ". 

4) Depending on your login mode, you may be prompted for "Service Login". Key in the username (with domain) and password.

5) If successful, you will see 2 additional files in the folder of your .exe file with the extensions ".INSTALLLOG" and ".INSTALLSTATE".

6) Refresh "Services" and you should see your Service there.

No comments:

Post a Comment