How to remove non-present devices from virtual or physical machine

AID: 2536
  • Status: Published

2396 points

  • Bynimatejic
  • TypeTips/Tricks
  • Posted on2010-02-25 at 00:15:40
These days system virtualization is used almost everywhere. Most of you who are reading this article have probably already used some of the well known virtualization applications like Virtual PC, Hyper-V, Xen Server, VmWare ESX or VmWare workstation etc.
I will give you a tip on how to improve your virtual machine performance, especially if you've made a physical to virtual conversion.

For instance, you've connected some devices to your PC, which you won't use anymore. The device is removed but the driver stays for good.

Those 'left-over' drivers can cause problems if they become enabled in the means of hardware conflicts or system starts to behave strangely.

Here is the tutorial on how to remove those drivers.

For a start we have to add environment variable:

DEVMGR_SHOW_NONPRESENT_DEVICES
                                    
1:

Select allOpen in new window



To the Environment Variables dialog box.

Right click 'My Computer' | Properties | Advanced System Settings | Environment Variables'

Click NEW under 'System Variables' and add 'devmgr_show_nonpresent_devices' environment variable to the System Variables panel.

When the dialog box appears type 'devmgr_show_nonpresent_devices' in the Variable Name field and type '1' in the Variable Value field.

Hit OK.

Now to remove 'non-present devices' in device manager.

Hit 'Windows Orb' and type 'Device Manager'

When Device Manager opens, select the 'view' menu and choose 'Show Hidden Devices'. Open any of the hardware selections, for instance 'Disk Drives'

Here you can see greyed device drivers which aren't currently in use. If you are sure that you won't need those drivers anymore, right click on it and click uninstall.

This procedure will rapidly reduce the time required to boot your OS. We have tested it on Windows Server 2003 and Windows Server 2008 virtual machines.

If you need help, please post a comment and I will try to help.

I've posted this article on my site:
http://wincert.net/tips/microsoft-windows/1904-how-to-remove-non-present-devices-from-virtual-or-physical-machine.html

Hopefully, you'll find it useful.
Asked On
2010-02-25 at 00:15:40ID2536
Tags

virtual machine

,

non-present devices

,

remove

,

vmware

,

hyperv

Topic

Virtualization

Views
1621

Comments

Expert Comment

by: virtualjim on 2010-10-07 at 11:48:35ID: 20319

a good article

i would suggest to do the followng to be faster
open command prompt (cmd)
set DEVMGR_SHOW_NONPRESENT_DEVICES=1


Expert Comment

by: tomdenton on 2010-12-11 at 10:48:44ID: 21986

Very useful thanks

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Virtualization Experts

  1. hanccocka

    865,106

    Sage

    6,100 points yesterday

    Profile
    Rank: Genius
  2. coolsport00

    99,018

    Master

    0 points yesterday

    Profile
    Rank: Genius
  3. kevinhsieh

    71,293

    Master

    0 points yesterday

    Profile
    Rank: Genius
  4. Mutawadi

    29,382

    0 points yesterday

    Profile
    Rank: Guru
  5. dkotte

    28,064

    1,000 points yesterday

    Profile
    Rank: Guru
  6. spaperov

    27,524

    0 points yesterday

    Profile
    Rank: Wizard
  7. paulsolov

    24,403

    400 points yesterday

    Profile
    Rank: Genius
  8. CarlWebster

    24,238

    0 points yesterday

    Profile
    Rank: Genius
  9. motnahp00

    20,268

    0 points yesterday

    Profile
    Rank: Sage
  10. leew

    18,487

    0 points yesterday

    Profile
    Rank: Savant
  11. andyalder

    13,320

    0 points yesterday

    Profile
    Rank: Genius
  12. basraj

    13,014

    0 points yesterday

    Profile
    Rank: Sage
  13. IanTh

    12,696

    0 points yesterday

    Profile
    Rank: Genius
  14. KeremE

    10,468

    0 points yesterday

    Profile
    Rank: Genius
  15. dariusg

    10,412

    0 points yesterday

    Profile
    Rank: Genius
  16. Netflo

    9,618

    0 points yesterday

    Profile
    Rank: Wizard
  17. LesterClayton

    9,500

    0 points yesterday

    Profile
    Rank: Guru
  18. dlethe

    9,351

    0 points yesterday

    Profile
    Rank: Genius
  19. rindi

    8,573

    0 points yesterday

    Profile
    Rank: Savant
  20. Neilsr

    7,606

    0 points yesterday

    Profile
    Rank: Genius
  21. hhaywood000

    6,764

    0 points yesterday

    Profile
    Rank: Wizard
  22. Tony1044

    6,200

    0 points yesterday

    Profile
    Rank: Sage
  23. msmamji

    6,100

    0 points yesterday

    Profile
    Rank: Wizard
  24. JRoyse

    6,061

    0 points yesterday

    Profile
    Rank: Master
  25. npsingh123

    5,854

    0 points yesterday

    Profile
    Rank: Master

Hall Of Fame