XP: Make Disk Cleanup Run Faster
If you have an older PC which has not had regular maintenance, updates, etc. (a relatives computer you looked at over the holiday) … when trying to run Disk Cleanup it may hang or take ridiculous amounts of time to complete. Usually what this means is the Disk Cleanup Utility is getting hung up on a corrupt temp file. Here is an easy way to get past that annoyance.
Do the following steps before running Disk Cleanup. If they are running Internet Explorer go to Tools \ Internet Options \ Browsing History \ Delete. This brings up the Delete Browsing History window. Delete Temporary Internet Files. Click Yes to the warning message.
Another thing to do is close out of all running programs. In fact you may want to boot into "Safe Mode" before beginning this step. go to Start \ Run type in %temp% … Hit enter or click OK.
This brings up the Temp file directory. Hit "CTRL+A" on the keyboard to select all folders and hit the "Delete" key.
Choose Yes to the verification message. Now make sure you delete those temp files from the Recycle Bin.
This should allow for a much faster Disk Cleanup process.


Another issue that REALLY slows down the disk cleanup with XP is the "compress files" option. On machines where cleanmgr hasn't been run in a while, it can take a LONG time for the utility to run. This problem does not appear on Vista. Follow this reg tweak to eliminate this bottleneck:
1. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
VolumeCaches\Compress old files.
2. Clear the value from the Default key.
nice guide, thanks
Thank you so much for the faster disk cleanup guide on disabling compress old files, Marlone.