Automatically skip "Compress Old Files" when doing Disk Cleanup in 2000 or XP
When running ‘Disk Cleanup’ on a Windows 2000 or XP workstations, you may have notice that it pauses for a long time when checking for files to be compressed. One of things you can to do to save time is to edit the registry file to automatically bypass this step in Disk Cleanup. This is good if you already know that you won’t be using the Compress Old Files feature and just need to clean up unnecessary files.
1. Click on Start > Run > Regedit (or Regedt32.exe)
2. Backup your current registry. To do this, click on File > Export and enter a name. (I suggest using the date as part of your name, as in backup-reg-mar-3-2003)
3. After you have backed up your registry, drill down as follows:
HKey Local Machine > Software > Microsoft > Windows > Current Version > Explorer > Volume Caches > Compress Old Files
4. In the right hand pane, double click on the REG_SZ (default) variable to edit it
5. A window pops up that will have a long string of characters in the Value Data field:
6. Press DEL to remove (clear out) the value data field, then click OK and then exit the RegEdit program. Note: we are NOT deleting the actual key, just the value assigned to the key!
7. That’s it, and you don’t even have to reboot!