Wiki Home Create boot image Compact disk

Compact disk

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