Show Hidden Devices in a Virtual Machine after P2V

After converting a physical machine to a virtual machine you will notice that the computer will warn you that the IP address you are entering (assuming you are maintaining the IP address) has already been assigned to an adapter on that system, even though you see no additional adapters installed.  This is because Windows maintains device and driver data on all the former physical components of the machine that was virtualized.  To correct this issue you need to run the following command from the command prompt:

set devmgr_show_nonpresent_devices=1

After running this command, open the device manager by typing…

devmgmt.msc

… from the command line or RUN menu.  Note that running the device manager from Computer Management will not work.  I’m not sure why.  From the Device Manager, select View, and then select Show Hidden Devices.   All of the former devices will now appear under each heading as greyed out options.  Simply right-click on them and select Uninstall to remove them.  This is a matter of good housekeeping and should be performed on all your virtual machines.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: