Go4Expert (http://www.go4expert.com/)
-   Windows (http://www.go4expert.com/articles/windows/)
-   -   Disk Cleanup Woes! (http://www.go4expert.com/articles/disk-cleanup-woes-t2426/)

pradeep 3Jan2007 14:23

Disk Cleanup Woes!
It's a very common problem that many newbies almost always ignore to correct; that when you try to the Disk Cleanup tool, it may stop responding after giving these messages:


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 problem happens when there is an incorrect entry in the registry that is used by the Disk Cleanup utility to locate compressed files. In my view, I've noticed it happening to clean formatted computers as well, so I would suppose that the problem in the registry too is probably a faulty of MS programming.

But here is a good little trick to follow if this happens to you:

  1. Create a registry file by "right clicking" on the desktop > New > Text Document.
  2. Name it anything you want with .reg extension. For example: diskcleanup.reg
  3. Right click this file > Edit.
  4. Type in the following code, then save and close:

Windows Registry Editor Version 5.00
  [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files]

Now, double click on the new file and merge it with the registry.
That's it! It should have done it. Try running the Disk Cleanup and see if it is any faster than before.

All times are GMT +5.5. The time now is 08:57.