Windows keep track of your behavior and store all information like website that you have visited, recently used documents, embed personal information on every file that you create and keep outlook emails if deleted from outlook also. Windows keep this information in temporary files and these files are very big in size. Most of us used the windows disk cleanup utility to delete the old temporary files. By default windows disk cleanup utility will not remove all the temporary files. By default disk cleanup utility only deletes the files that are older then 7 days. Means it won’t delete the last 7 days temporary files. For deleting most recent temporary file we have to make some changes in Windows disk cleanup configuration.
How to change the Configuration for Windows Disk Cleanup utility
After changing the configuration value of LastAccess in windows registry you can delete the most recent temporary files also.
Launch the Registry Editor (Regedit.exe).
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Explorer\VolumeCaches\Temporary FilesLocate 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.
Notes: Since editing the registry is risky, be sure you have a verified backup before saving any changes. This tip applies to both Windows XP Home and Windows XP Professional.
Source : Techrepublic