Saturday, September 24, 2011

Remove Old Hidden Devices from a VM after P2V Conversion


After you have converted a Windows server to a virtual machine, some redundant hardware devices may not be removed in the process. This also applies in disaster recovery scnario when the server is restored on a different/same hardware, some redundant hardware devices may not be removed.

I have seen this commonly with network devices. When setting the IP in a VM you may get and error saying a network card already has that IP assigned. But you couldn't find any other network devices. Well there might be, but there hidden and you just need to reveal them and remove them.

Open a command prompt on the Windows VM/Server (Start --> Run --> cmd).

set devmgr_show_nonpresent_devices=1

devmgmt.msc

In the device management console (View --> Show Hidden Devices).

Uninstall the devices that are no longer required. Such as old network devices.
 
Have a nice day!

No comments:

Post a Comment