How To: Force Disk Cleanup Utility To Delete All Temporary Files

By default, Windows Vista(also Windows XP) holds a cache of the temporary internet files (Microsoft Windows uses many temporary files to store data about the users’ web browsing history and settings. The most common files associated with Windows temporary files are index.dat and the entire Cookies folder under Documents and Settings that stores HTTP cookies.) for 7 days and then deleted. ie, when you run Windows Disk Cleanup utility in Windows Vista, the temporary internet files for the last seven days will not be cleaned up.By altering a value in the registry, you can configure the Disk Cleanup utility to delete all the files in the Temp folder regardless of the last accessed date.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files

Changing the value to 0 will force the Disk Cleanup utility to delete all the files in the Temp folder every time that you select the Temporary Files check box.

Note:

Warning:

Modifying the Windows registry can cause serious damage to your Windows Operating System.It is better to backup your Windows registry data before making any changes. Tomstricks.com is not responsible for any changes you may make to your system.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Popularity: 3%

Did You Like This Post? Then You Might Find These Also Interesting:

Written by Tony on May 5th, 2009 with 1 comment.
Read more articles on Windows Tips.

Related articles

1 comment

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com John Whalen
#1. May 8th, 2009, at 9:34 PM.

You give out some good tips, but the advertising on the website blocks the procedures to perform the tip at times. Can you find another method to publishing the tips? The specific tip I went after was in the How To: Force Disk Cleanup Utility To Delete All Temporary Files and found that the Registry entry was overwritten on my screen so I could not find the key to the Last Date Access you were referring too. Thanks!

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .