A. The Disk Cleanup utility frees up space on a volume. To access the utility, open My Computer, right-click the drive you want to work on, click Properties, then select Disk Cleanup from the General tab. If the program hangs the system, the problem is most likely caused by the Disk Cleanup Wizard checking for all files older than 50 days that it can compress. Disabling this behavior might improve the performance. To disable the behavior, perform the following steps:
- Start a registry editor (e.g., regedit.exe).
- Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files registry subkey, then select it.
- From the File menu, select Export.
- Enter a filename and location, then click Save.
- Delete the "Compress old files" registry subkey.
- Close the registry editor.
Alternatively, you can paste the following text in a file named nodiskchkcompress.reg and double-click the filename to run it:
\[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files\]
To enable the compressible-file check, you can run the .REG file you created in Step 4. If you didn't save the file in Step 4, you can paste the following text into a file to recreate the original .reg file:
\[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files\]