Saturday, March 17, 2012

Disable "Compress Old Files" during Windows XP Disk Cleanup

When you select the Disk Cleanup function in the Windows Disk Properties dialog box, you might need to wait longer then you want. Cleaning up your system is normally something you do when you notice your computer is getting slow, so waiting for a cleanup operation is not desired.

The main reason the disk cleanup function in Windows XP takes time is because of the Compress old files function. One of the cleanup options involves a file compression possibility, where Windows checks for the amount of space that can be saved by compressing old files.

If you do not want to wait, or simply never use the compress old files option, you can disable it and speed up the disk cleanup check. Follow the steps below to change the Windows configuration to disable the compress old files function.

The steps below involve changing the Windows registry. Make sure you create a backup of the registry before you make these changes, so you can revert back in case of problems.

  1. From the Start menu, select Run.
  2. In the Run dialog box, type regedit and press Enter.
  3. In the Registry Editor, locate and open the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
    CurrentVersion\Explorer\VolumeCaches
  4. In the expanded registry key, select the sub-key called Compress old files.
  5. Disable Compress old files in disk cleanup
  6. In the Edit menu, select Delete. Click Yes to confirm the delete operation.
  7. Next, close the Registry Editor and restart Windows.
After this the disk cleanup will no longer check for the extra space gained by compressing old files. If you want to enable the function again, simply restore your registry backup, which will bring back the deleted registry key.

Sign up for PayPal and start accepting credit card payments instantly.