Article ID: 812248 - View products that this article applies to.
Expand all | Collapse all

Problem description

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


To have us fix this problem for you, go to the “Fix it for me” section. If you would rather fix this problem yourself, go to the “Let me fix it myself” section.

Fix it for me

To fix this problem automatically, click the Fix this problem link. Then click Run in the File Download dialog box, and follow the steps in this wizard.


Fix this problem
Microsoft Fix it 50064


Notes
  • This wizard may be in English only; however, the automatic fix also works for other language versions of Windows.
  • If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or a CD so that you can run it on the computer that has the problem.
Note

Now go to the "Did this fix the problem?" section.

Let me fix it myself

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows


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:
  1. Click Start, and then click Run.
  2. Type regedit in the Start Search box, and then press ENTER.
  3. Locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches
  4. 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.
  5. Expand the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches
  6. Delete the Compress old files registry key.
  7. Exit Registry Editor.

Did this fix the problem?

Check whether the problem is fixed. If the problem is fixed, you are finished with this article. If the problem is not fixed, you can contact support.

References

For more information about the Disk Cleanup tool, click the following article number to view the article in the Microsoft Knowledge Base:
310312 Description of the Disk Cleanup tool in Windows XP

Properties

Article ID: 812248 - Last Review: September 23, 2011 - Revision: 6.0
APPLIES TO
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
Keywords: 
kbfixme kbmsifixme kbacwsurvey kberrmsg KB812248

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com