- Enable super client on the PC.
- Then delete all temp files.:\
- Run Windows defrag tool defrag HD (This step may take too much time).
- Shutdown and save the image.
- After that, mount the image; delete pagefile.sys
- Then use SDELETE from SDelete - Windows Sysinternals sdelete -z [drive]:
- Unmount the image and merge all restore points. refer to Merge image.
- Run cmd as administrator
- Select vdisk file="d:\win10.vhd"
- Compact vdisk