Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial Categories Network & Internet Tutorials File & Folder Settings Tutorials Taskbar & Start Menu Tutorials Performance & Maintenance Tutorials General Tips Tutorials Programs & Features Tutorials Context Menu Tutorials Shortcut Tutorials Security & System Tools Tutorials Parental Controls Tutorials User Account Tutorials Hardware & Drivers Tutorials Appearance & Personalization Tutorials Backup & Restore Tutorials Music, Photo, Video and Media Tutorials Power Management Tutorials

Disk Cleanup - Last Access Limit on Temp Files

Update your Vista Drivers Update Your Drivers Now!!
Poll: Did this Tutorial help and work for you?
Poll Options
Did this Tutorial help and work for you?

Comment
 
Tutorial Tools Display Modes
<!-- google_ad_section_start -->Disk Cleanup - Last Access Limit on Temp Files<!-- google_ad_section_end -->
Disk Cleanup - Last Access Limit on Temp Files
How to Set Disk Cleanup to Delete Vista Temporary Files Less than a Week Old
Published by Brink
05-23-2008

How to Set Disk Cleanup to Delete Vista Temporary Files Less than a Week Old
Information
  By default Disk Cleanup cannot delete the Vista Temporary Files unless they have not been accessed in 7 days. This will show you how to delete these Temporary Files using Disk Cleanup regardless of their last accessed date.
Tip
  To see how to use Disk Cleanup to clear the Vista Temporary Files, see METHOD ONE here: How to Clear Vista Temporary Files in the Temp Folder
WARNING
  You will still not be able to delete a temporary file if it is currently use.
RELATED LINKS:
EXAMPLE: Disk Cleanup Temporary Files Option
Name:  Disk_Cleanup.jpg
Views: 353
Size:  97.6 KB


OPTION ONE:
Through a Download
1. For No Last Access Date -
A) Click on the download button below to download the
No_Last_Access_Date.reg file.
B) Go to step 3.


2. To Restore Default Last Access Date -
NOTE: The default time is 7 days with no access to the file before Disk Cleanup will delete the temp files.
A) Click on the download button below to download the
Default_Last_Access_Date.reg file.


3. Click on Save, and save the .reg file to the Desktop.
4. Right click on the .reg file(on Desktop) and click on Merge.
5. Click on the Run button for Security Warning pop-up.
6. Click on Continue (UAC), Yes, and then OK when prompted.
7. When done, you can delete the .reg file (on Desktop).
8. Logoff and logon, or restart the computer to apply the changes.



OPTION TWO:
The Manual Way
1. Open the Start Menu.
2. In the white line (Start Search) area, type regedit and press Enter.
3. Click on the Continue button in the UAC prompt.
4. In regedit, go to: (See screenshot below)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files

Click the image to open in full size.

5. For No Last Access Date -
A) In the right pane, right click on LastAccess and click on Modify. (See screenshot above)
B) Type 0 (number zero) and click on OK. (See screenshot below)
Name:  Modify.jpg
Views: 352
Size:  31.0 KB
C) The registry will now look like this. (See screenshot below)
Click the image to open in full size.
D) Go to step 7.
6. To Restore Default Last Access Date -
NOTE: The default time is 7 days with no access before Disk Cleanup will delete the temp files.
A) In the right pane, right click on LastAccess and click on Modify. (See screenshot above)
B) Type 1 and click on OK. (See screenshot below)
NOTE: The registry will now look like the screenshot under step 4.
Name:  Modify2.jpg
Views: 349
Size:  31.2 KB

7. Close regedit.
8. Logoff and logon, or restart the computer to apply the changes.
That's it,
Shawn

Published by
Brink's Avatar
Administrator
Join Date: Apr 2007
Location: Texas, USA
Posts: 16,735
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 07-17-2008  
jodibacco
Newbie


Join Date: Jul 2008
Vista Home Premium 32bit
 
Rep Power: 2
jodibacco is on a distinguished road
  jodibacco is offline

Re: Disk Cleanup - Last Access Limit on Temp Files

Hi Shawn,
I tried both methods listed to remove temporary files and they are still there. Do I still have to wait 7 days before they can be deleted ?

My System SpecsSystem Spec
Old 07-18-2008  
Brink's Avatar
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Disk Cleanup - Last Access Limit on Temp Files

Hi Jodibacco, and welcome to Vista Forums.

This will not remove the temp files, but will only set them to be able to be removed.

This tutorial will show you how to remove them instead. However, the same temp files may still show back up if Vista loads it again for use.

Temporary Files - Temp Folder

Hope this helps,
Shawn
My System SpecsSystem Spec
Comment

Tags
disk cleanup, files, performance & maintenance, temp, temporary

Tutorial Tools
Display Modes


Update your Vista Drivers Update Your Drivers Now!!

Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Disk cleanup files: "PER USER QUEUED ERROR REPORT" cvcctome Vista General 11 04-30-2008 11:48 AM
question about what files i can safely use disk cleanup on ... WolfieH Vista performance & maintenance 1 10-10-2007 02:21 PM
Disk Cleanup not deleting files Darcal Vista performance & maintenance 0 06-20-2007 04:43 AM
Temp files?-Disk cleanup misses them in Vista Jeff Vista file management 5 12-12-2006 07:55 PM



Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008
Tutorial powered by GARS 2.1.8m ©2005-2006