Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compact VHDX Files
#1
Sometimes after removing data from a VHDX the file will not compress through the Hyper V comsole. 

The following commands should allow compression

Right click Powershell and run as Administrator
Mount-VHD -Path C:\VHD\<name>.vhdx -ReadOnly
Optimize-VHD -Path C:\VHD\<name>.vhdx -Mode Quick
Dismount-VHD C:\VHD\<name>.vhdx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)