Link to home
Start Free TrialLog in
Avatar of lleblanc65
lleblanc65Flag for United States of America

asked on

Remove NonPresent Devices

Does anyone have a faster way to remove the "greyed" out nonpresent devices from device manager? We are doing refurb work on electronic devices using several virtual machines (running off a Windows 7 machine) and the plugging/unplugging is creating a long list of formerly loaded drivers. Any help would be appreciated.
SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also, I assume you are referencing the method here....

set devmgr_show_nonpresent_devices=1
start devmgmt.msc

form "Device Manager does not display devices that are not connected to the Windows XP-based computer"
http://support.microsoft.com/kb/315539/en-us
If you know the classes/HW IDs of the devices as well, you can delete all of them using Devcon....

The DevCon command-line utility functions as an alternative to Device Manager
http://support.microsoft.com/kb/311272
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lleblanc65

ASKER

Guys, thanks for the suggestions. Tmoore - the USBDeview was perfect. I am also looking into the scritping aspect for the future, thanks johnB
Glad we could help....