Have you come across a situation where uninstalling a software leaves back its Service or Driver references in the registry, and Windows tries to load them at every boot and fails? Here is how to remove an orphaned or unwanted service or driver from your system.

Method 1: Using the SC.EXE command

The SC command-line tool in Windows XP/Vista which can be used to create, edit or delete Services. To delete a service, use the following command-line syntax from a Command Prompt window:

SC DELETE <service_name>

Where <service_name> tag represents the short name of a service, and not its display name. For example, the short name for Automatic Updates service is wuauserv, but its display name is Automatic Updates.) To determine the short name of a service, you use the Services MMC console. For more information, see article How to find the short names of services.

Important: If you’re using Windows Vista, you need to open an elevated Command Prompt to run SC.exe command-line tool.

Method 2: Using the Registry Editor

To manually remove a service from the registry, use these steps:

Start Regedit.exe and navigate to the following branch:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services

The Service and driver entries are present under the above registry key. Each sub-key represents a driver or a Service. You should be able to identify them easily by looking at the DisplayName and ImagePath values in the right-pane in the Registry Editor.

Note: Before modifying / removing a Service, create a System Restore point and/or a complete Registry backup, just in case something happens. Links containing Registry backup instructions are provided below. Once you spot the Service/driver entry, right-click on the key and choose Delete.

[ERUNT] Registry Backup and Restore for Windows

[ERUNT Download URLs]

[Installing & Using ERUNT]

Method 3: Using Autoruns

If your edition of Windows XP or Windows Vista does not ship with SC.exe console tool, then may have to edit the registry manually, or use a software utility such as Autoruns. Autoruns is a must-have tool which helps you manage Windows startup, services, drivers, Winsock providers, Internet Explorer add-ons, Shell extensions and much more…

Download Autoruns and run it. From the Options tab, tick Hide Microsoft Entries, so that only the third-party entries are listed. This makes it easy for you to spot a third-party driver or Service. Press F5 to refresh the listing. Click the Services tab, from where you can remove unwanted or leftover drivers and Services.

Autoruns


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

13 Comments

  1. Kiss Mate
    said this on Monday, January 23rd 2012 7:11 pm

    Worked fine, thanks.

  2. mobby
    said this on Friday, November 25th 2011 3:14 pm

    Thx the info. It backup services, too

  3. Richie
    said this on Monday, July 18th 2011 8:24 pm

    can’t acces SC.EXE
    “Autoruns” worked perfect
    Thanks

  4. Bird
    said this on Friday, June 10th 2011 3:31 am

    Worked like a charm. Thx buddy.

  5. said this on Wednesday, March 30th 2011 6:38 am

    Works for me in removing MySQL service in Windows 7 after uninstalling it. Thanks a lot

  6. said this on Saturday, March 12th 2011 1:28 am

    SC worked fine in removing the MySQL service reference after I uninstalled xampp.

    Thanks

  7. Ant
    said this on Friday, February 25th 2011 12:01 pm

    worked fine for me in win 7.

  8. kino
    said this on Friday, January 21st 2011 5:40 pm

    wow.
    now it worked.
    the one with the command prompt method.
    it really worked.
    thanks very much

  9. Paul
    said this on Friday, January 7th 2011 7:57 pm

    Thanks for reccommending autoruns. It is a superb program. Great article.

  10. thomaus
    said this on Monday, March 15th 2010 11:37 pm

    Thanks. Great instructions. I used the elevated command prompt method.

    Removed the Dock Login Service that came with Dell Dock, because it wasn’t removed with the uninstaller. (Win 7 64 pro)

    If you want a dock, get a Mac

Leave a Reply