Subscribe to How-To Geek

Remove Old Drivers After Upgrading to New Hardware

If you are experiencing weird issues after upgrading your hardware, or you've just upgraded to the latest hardware device and aren't seeing the performance you'd like, you might want to remove the old drivers which are still installed for the old hardware, even though you can't normally see them in device manager.

What you have to do is set a less-known flag to allow you to see non-present devices, and then launch device manager. You'll then see the old devices in the list, and can uninstall the drivers for them.

In Windows Vista, the first thing you'll need to do is open a command prompt in administrator mode. Type cmd into the start menu search box, and then use Ctrl+Shift+Enter to open in administrator mode. (You can also right-click on the command prompt and choose Run as Administrator)

Now paste in the following line:

SET DEVMGR_SHOW_NONPRESENT_DEVICES=1

Then type in devmgmt.msc to start up Device Manager from the administrator command prompt:

image

Once you are in Device Manager, go to the View menu and choose Show Hidden Devices, which will show all the device drivers including things that aren't currently installed in your computer. 

image

Notice how I have 6 mice in the list, even though I only have two installed (and my drawing tablet). The other 3 mice are old mice that I've used until they died…. the Geek tends to wear through input devices very quickly since he never leaves the computer…

image

You can right-click on the driver and then choose Uninstall from the menu to remove the drivers for that old hardware.

I've found that this can resolve a lot of weird issues, and even increase performance on some machines where you've upgraded a ton of times. This isn't necessarily going to increase performance, but it's nice to have a tidy computer nonetheless.

This tip also works the same in Windows XP.

The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 08/1/07 and tagged with: Windows Vista, System Administration

Comments (6)

  1. Bob

    You can also make this setting permanent by right-clicking My Computer, choosing Properties, going to the Advanced tab and click on the Environment Variables button. Under System variables click on the New button, and add the DEVMGR… variable name and value ("1″) to the list.

  2. The Geek

    Good point, Bob.

  3. Lamadredelsapo

    Great tip!

  4. alex

    it has to say ("1″) that exact way or only 1

  5. Asmodeus

    @Alex, just the 1 without the " marks, same as setting a value in the registry.
    Nice tip geek but for those who may have a game pad especially a logitech pad do note that it will install "ghost" devices under the mouse and keyboard tree's in the device manager. Typicialy these will be named logitech.The reason for this is because logitech and anyother gaming input device that runs a joy-2-key mapping program needs these for proper emulation.
    Enjoy!
    Asmodeus
    Hells Computer Tech.

  6. Ed

    Fantastic! The only person or place I could find that actually gave me a clean answer on how to get rid of an old USB driver left over from an uninstalled cell phone utility. Thank you for all three of your inputs.
    Ed


Leave a Comment




Leave your friendly comment here. If you have a computer help question, leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Sponsored Links
Getting Started
About How-To Geek
Popular Articles

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.