How to install and uninstall windows services?

Poster
Posted by Poster under Others category on | Views : 7356
To install windows services, open Visual Studio command prompt and write following code

installUtil.exe "Windows Service Path"


To uninstall windows service, write following code.
installUtil.exe -u  "Windows Service Path"


You can find installUtil.exe file in Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folder.

Thanks

Comments or Responses

Posted by: Raja on: 7/18/2009 Level:Starter | Status: [Member]
Thanks,

This was exactly I was looking fore. Thank you very much for sharing this.

Regards,
Posted by: Poster on: 7/18/2009 Level:Starter | Status: [Member]
Thanks Raja.

My pleasure to help you.

Regards
Posted by: Poster on: 7/18/2009 Level:Starter | Status: [Member]
Please note that if you do not have the path already referred to Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folder, you might get error in the command prompt. So make sure that you are into above directory and run the command.

The last folder, version number may vary based on your the .NET version installed on your system.

Thanks

Login to post response