I'm having an issue with .vhd files not opening with Windows Explorer liek the way .vhdx does. Before it was just unrecognized, now I've accedentally change it to Adobe Acrobat. I've tried changing it though all the Windows 10 settings and Control Panel settings, but nothing is letting me set it. The Windows 10 settings either say that there is no app installed that can be assigned to .vhd, or when I try to manually set it to C:\Windows\explorer.exe it says the program selected cannot be assigned. I also noticed that I can't find the file extension for .vhdx anywhere in the Windows 10 fiel association settings.
.vhd files need to get mounted. So, with a simple powershell script you can mount vhd easily.
- First open
- Create new key named
- Create String value
MUIVerband set value to
- Create Dword value
CommandFlagsand set value to
- Create new subkey named
- Set Deafult value to
powershell -c Mount-VHD -Path "%1"
Now if you double click a .vhd file it will mount and open in explorer.