Wednesday, November 20, 2013

Remove Hidden Devices (does not display devices that are not connected)

I was having issues of booting up the VM.  It was corrupted of the XML for the VM.  So I re-created a new VM but attach back the Hard Disk from the old VM.

I boot up the new VM, then I was configuring back the IP address and suddenly it doesn’t allow me to input the IP address cause it indicated that it has been used.  I went into the Device Manager and see no items, even though I select “show hidden devices

The steps are the following that I do :

  • Open Command Prompt (run as administrator)
  • type devmgr_show_nonpresent_devices=1 then hit [Enter]
  • type start devmgmt.msc then hit [Enter]
  • Then click Show hidden devices in the View Menu
  • Remove the unnecessary devices (e.g. the Microsoft Hyper-V Network Adapter)


  • Then return to your NIC to input the IP address. 
  • It works for me !!

Thank you and hope this helps.

keywords : Device Manager does not display devices that are not connected to the Windows XP or Windows 2003 -based computer, Device Manager displays only non-Plug and Play devices, drivers, and printers when you click Show hidden devices on the Viewmenu. Devices that you install that are not connected to the computer (such as a Universal Serial Bus [USB] device or "ghosted" devices) are not displayed in Device Manager, even when you click Show hidden devices.

Friday, November 1, 2013

Can’t Remove VM in Hyper-V Manager (stuck)


The VM was backup by ALTARO. The Anti Virus didn’t do an exclusion on the drive that the VM VHD was residing in.  The VM was corrupted after a few days.  A restore was done but it’s still unsuccessful.


When trying to cancel the restore, it just not successful. 

The challenge here is to remove the corrupted VM.  Even after restarting the Hyper-V Host, there’s still no success in removing the VM.

Resolution :

I look into the Task Manager and saw a few process that looks like below :


I found the Virtual Machine Worker Process (vmwp.exe).  I found one that is very low in memory that coincides with the Restore VM.

So I decided to kill the the process (the above was the snapshot after I terminated the process. I forgotten to take a snapshot of the low memory VM that was stuck.  It was like 4MB)

Then I go back to Hyper-V Manager and found that it allows me to remove the VM successfully.


This helps me and hope it helps you guys and gals too.

keywords : Virtual Machine, starting state stuck, workaround to remove stuck VM, Altaro restore, Virtualization, Virtual, restoring stuck