InvestorsHub Logo
Followers 11
Posts 2797
Boards Moderated 1
Alias Born 01/24/2004

Re: None

Thursday, 04/05/2007 9:14:01 AM

Thursday, April 05, 2007 9:14:01 AM

Post# of 36436
Forcing Windows XP's Disk Cleanup to delete all temporary files


Tags: Microsoft Windows | Windows XP


You may have found that Windows XP's Disk Cleanup utility misses a spot from time to time, retaining temporary files most recently accessed. Here's how to perform a clean sweep of your Windows XP files by forcing Disk Cleanup to get rid of all your temporary files.


If you've ever run the Windows XP's Disk Cleanup utility, you probably discovered that your temporary files occupy a significant amount of space. You might select the Temporary Files check box in order to allow the Disk Cleanup utility to delete the files in the Temp folder, but the Disk Cleanup utility will not remove all of the files. The reason for this oddity is that the configuration for the Disk Cleanup utility does not allow deletion of files accessed in the last seven days.

By altering the LastAccess 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. Here's how:

Launch the Registry Editor (Regedit.exe).
Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersionExplorer\VolumeCaches\Temporary Files.
Locate and double-click the LastAccess value.
When you see the Edit DWORD Value dialog box, change the Value Data setting from 7 to 0 and click OK.
To complete the operation, close the Registry Editor and restart Windows XP.
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.

jgbuz


Only two defining forces have ever offered to die for you,
Jesus Christ and the American Soldier
One died for your soul, the other for your freedom




Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.