Wiki Home Boot image Compact image
Compact image
2023-07-16
compact, disk
- After version 20240414 compact image is included on CCBootCloud as function.
- Navigate to the "Boot" directory, then "image" and choose the image you wish to compact. Right-click on the selected image, and a list of options will appear, with "Compact disk" listed as the last one. (Figure 1)
Figure 1
- Upon initiating the compact process, a progress bar will be displayed, accompanied by logs on the CCBootCloud server, detailing the progression until completion. (Figure 2 & 3)
Figure 2
Figure 3
Manual way to 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