Saturday, January 03, 2009

Disk Cleanup Freeze?

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 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 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 M$ 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]

That’s it! It should have done it. Try running the Disk Cleanup now and see if it is any faster than before.