


After trying things around, the following approach works: Unfortunately, none of these can work for above virtual hard disk of this Windows XP virtual machine. Use PowerShell command to shrink VHD/VHDX files:.Use built-in Hyper-v Manager to shrink VHD/VHDX files of a virtual machine.Other tools, like MiniTool Partition Manager, Disk Genius (Chinese language), etc., should also work. Paragon Partition Manager (free edition) can do that: In Windows XP virtual machine, the built in Disk Management Tool cannot shrink the partition. Then virtual machine will be restarted, system files and page files will be defragged: When it is done, click “Boot Time Defrag”: Start defragment by clicking “Prep for Shrink”.
#Iresize disk image free
PerfectDisk (30 days free trail) could be a nice option: The built in defragment tool in Windows is not powerful enough for the purpose of shrinking. C:\WINDOWS\SoftwareDistribution\Download\*Īlso, WinDirStat is very helpful to identify the sizes of directories/files:Īfter cleaning up inside the VHD/VHDX, the next step is defragment.

