Automatically skip “Compress Old Files” when doing Disk Cleanup

IT

Automatically skip “Compress Old Files” when doing Disk Cleanup

by Chris Guest
//

I use disk cleanup pretty regularly, but I never check the “Compress Old Files” option. Although I never use it, it always checks the entire file system while determining what to clean up. That part of the process takes forever.

I found the fix: http://kb.ucla.edu/articles/automatically-skip-compress-old-files-when-doing-disk-cleanup-in-2000-or-xp

Text from the article: (submitted by Calvin Tong)

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: B50F5260-0C21-11D2-AB56-00A0C9082678
  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!

More About the Author

Chris Guest

Software Engineer
Automatically skip “Compress Old Files” when doing Disk Cleanup I use disk cleanup pretty regularly, but I never check the “Compress Old Files” option. Although I never use it, it always ...

See more from this author →

Subscribe to our newsletter

  • I understand that InterWorks will use the data provided for the purpose of communication and the administration my request. InterWorks will never disclose or sell any personal data except where required to do so by law. Finally, I understand that future communications related topics and events may be sent from InterWorks, but I can opt-out at any time.
  • This field is for validation purposes and should be left unchanged.

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072