Viewing Ghost Hardware after P2V

After converting a physical machine to a virtual machine, you need to remove the “old” hardware. Sometimes this hardware is not shown in the device manager. To do this you will need to follow the Microsoft KB article 241257 or 269155.

Abstract:
Device Manager displays only non-Plug and Play devices, drivers, and printers when you click the Show hidden devices command on the View menu to enable it. Devices that are installed but are not currently connected to the computer (such as a Universal Serial Bus (USB) device or “ghosted” devices) are not displayed in Device Manager, even when you use the Show hidden devices command.

To work around this behavior and display phantom devices when you use the Show hidden devices command:

  1. Click Start, point to Programs, point to Accessories, and then click Command Prompt.
  2. At the command prompt, type the following lines, pressing ENTER after each line
    set devmgr_show_nonpresent_devices=1
    cd\%SystemRoot%\System32
    start devmgmt.msc

    where %SystemRoot% is the folder in which Windows 2000 is installed.

  3. Troubleshoot the devices and drivers in Device Manager, as required.NOTE: You must first select show hidden devices on the Device Manager View menu before you can see devices that are no longer present in the system.
  4. When you are done troubleshooting, quit Device Manager, and then close the Command Prompt window. Closing the window clears the variable you set in step 2 and prevents ghosted devices from being displayed when you use the Show hidden devices command.

NOTE: When you quit Device Manager and close the Command Prompt window, the set devmgr_show_nonpresent_devices=1 variable is turned off so you cannot see the phantom devices.

One thought on “Viewing Ghost Hardware after P2V

Leave a Reply

Your email address will not be published. Required fields are marked *