Disk Cleanup Tool Stops Responding While Compressing Old Files (812248)



The information in this article applies to:

  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

When you try to compress old files, 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

CAUSE

This problem occurs when there is an incorrect entry in the registry that is used by the Disk Cleanup utility to locate compressed files.

WORKAROUND

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To work around this problem, follow these steps:
  1. Click Start, and then click Run.
  2. Type regedit in the Open 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, and then 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. Quit Registry Editor.

REFERENCES

For additional 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


Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbACWsurvey kberrmsg KB812248