Wiki Home Create boot image Compact disk
Compact disk
2023-07-16
compact, disk
- 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
- Diskpart
- Select vdisk file="d:\win10.vhd"
- Compact vdisk