Every now again we cant escape the old desktop keeps freezing and running a disk cleanup, now When you try to compress old files on a Windows XP-based computer, the Disk Cleanup tool may stop responding, and you may receive the following message:
Disk Cleanup is calculating how much space you will be able to free on (C:).
This may take a few minutes to complete.
Scanning: Compress old files
This may take a few minutes to complete.
Scanning: Compress old files
This problem occurs when there is an incorrect entry in the registry that is used by the Disk Cleanup utility to locate compressed files. To work around this problem, follow these steps:
- Click Start, and then click Run.
- Type regedit in the Start Search box, and then press ENTER.
- Locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches
- On the File menu, click Export, click Desktop, type VolumeCaches in the File name box, and then click Save.Note This step creates a backup of the VolumeCaches registry key. If you experience any problems after you complete the steps that are listed in this procedure, you can use this backup to restore the VolumeCaches key to its original state. To restore the key, double-click the VolumeCaches.reg file on your desktop, and then click Yes.
- Expand the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches
- Delete the Compress old files registry key.
- Exit Registry Editor.
OR
Download the fix for windows XP from here