Saturday, February 4, 2012

Delete a service from Services.Msc

Sometimes you want to delete a service from the Services.Msc, and you do not have access to the uninstaller.

In this case, you can use the command prompt to delete such a service.

Simply open the Command Prompt (CMD.exe)
And insert the followign command sc delete NameHere. 
You can find the name from Services.msc.

2 comments:

Anonymous said...

What about adding a service

Reuben Bartolo said...

Hi Anonymous,
in that case you can use the very powerful tool, InstallUtil.

http://msdn.microsoft.com/en-us/library/sd8zc8ha(v=vs.80).aspx