To shrink the VHD, you must first shrink the volume inside the OS. FOr that, Go to Server Manager, Storage, Disk Management. Right click the Volume to shrink, the click Shrink. Now choose the Nex size of the Volume. After the Shrink Process, use VHDResizer to shrink the VHD.
- The VHD must be not used when Shrinking it. (Shutdown the VM)
- For maximum recovered size when shrinking the volume, defrag your volume before.
Regards, Samir Farhat Infrastructure Consultant