How do I delete old VHD files off a hyper V host machine

I have created several test VMs and moved a production VM away from a particular host machine.  the only remaining VM cannot start do to a lack of disk space.  there should be plenty, the problem is all of the old unused vhd files. But I cannot figure out how to delete them.  the Hyper-V Manager only allows me to select them.

I certainly have to be missing something simple.

August 8th, 2013 7:00pm

There may be a way to do it from the hyper-v manager, but I could not find it.

instead I went to the host machine and used the command line to navigate to the directory and delete them.

Free Windows Admin Tool Kit Click here and download it now
August 8th, 2013 7:45pm

That is the way.  You found it.
August 8th, 2013 8:15pm

Just to add you must delete the VM first in the hyperV manager or the files are in use.
  • Proposed as answer by Tia_bert Wednesday, March 26, 2014 11:12 AM
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2013 1:02pm

Can you please provide me the command to delete the VHD file....?

September 4th, 2015 3:33am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics