Originally Posted by PJLLB
The process below will remove all your virtual machines and they cannot be recovered. The virtual hard disks if copied to a safe location might be able to be used on new virtual machines later on.
If you proceed you do it acknowledging this. I cannot be held responsible for the loss of your virtual machines.
- In Hyper-V Manager, delete all virtual machines (right click, select Delete)
- Close the Hyper-V Manager
- Manually delete the files remaining in C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks
- Right click Start, select Programs and Features
- Select Turn Windows features on or off on the left pane
- Expand Hyper-V list item, unselect everything in it to disable Hyper-V
- Create new storage locations for virtual hard disks and virtual machines (configuration files) on another drive than C:, you can for example use the X:\Hyper-V\VHD and X:\Hyper-V\VM folders as I told in an earlier post of mine
- Co back to Windows features, this time re-enable everything Hyper-V related
- Launch Hyper-V Manager, change the default storage locations to those you created (see screenshot below this list)
- Create a new vm, run it, come back to tell if it started normally or not
Change VHD & VM storage locations: