Tel. +44(0)208 4716864
info@softstuff-consulting.com
Follow us on Twitter  http://www.twitter.com/softstuffc
Softstuff Home Knowledgebase Home Contact Us Blog
GoldMine CRM SQL Server QuoteWerks Microsoft Excel Microsoft Word C# Windows XP Microsoft Dynamics CRM HEAT Sage CRM
Manually removing a service

Sometimes it becomes necessary to manually remove a service from a machine.

As an example I recently had a machine that had been infected by a trojan with the file msihost.exe that had been caught by the antivirus software but not before it had installed itself as a service on the computer. In the service manager was the entry for the service but as there was no longer any executable associated with it, it showed as disabled and it made sense to remove it.

first get the service name from the services applet in the control panel. In this case it was "Windows MSI"

Next open a command prompt using CMD

Type
  sc delete "Windows MSI" 


Press Enter and then reboot the computer to completely remove the service.

Note: The quotes are only needed if there is a space in the service name.

If the isn't
  sc delete MyService 
works as well.




26 August 2009  IB      Windows XP


Back To List

Did this article answer your question

 Yes

 No

 



 

Search our knowledgebase

Look In   For  
Enter a word or phrase to search for. eg. shrink

Enter your Email Address to receive the latest knowledgebase items delivered direct to your inbox.

Subscribe to the knowledgebase in your favourite RSS reader:   Plain RSS 2.0 Feed   Add to Google  Add to My Yahoo!

Note:
Softstuff accepts no responsibility for the use of information contained within this item. No warranties are implied or provided and it is advised that you have a working knowledge of the technologies contained, and we will not be held liable for system downtime, or data loss caused, unless we have specifically advised in writing to you that this is the case during the course of a support issue raised and accepted by us.
 

Copyright Softstuff Consulting 2007-2009