Home Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Frequently Asked Questions Search

HardwareDude.com Forum Index -> Microsoft Windows

Alter the "LastAccess" value for cleaning the Temp


Post new topic   Reply to topic

  Author    Thread
sri
Moderator
Moderator


Joined: 28 Jan 2006
Posts: 381
Location: Hyderabad , India


 Reply with quote  
Alter the "LastAccess" value for cleaning the Temp

Alter the "LastAccess" value for cleaning the Temporary files using Disk Cleanup utility

When you use the Disk Cleanup utility (cleanmgr.exe) to clear the files in %Temp% (Temporary folder), some of the files may not be cleared by the utility. This is because, the Cleanmgr.exe by default, deletes the files in Temp folder, that are older than 7 days.

You can however, alter the period by modifying the LastAccess value in this registry key:

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

The number of days that must have elapsed since a file was last accessed or a directory was created for that file or directory to be considered for cleanup.

Type Regedit.exe in Start, Run dialog. Navigate to the above registry key. Backup the key and then alter the value accordingly. The default LastAccess value is 7 for Temporary files cleanup. You can change it to 4 or 5 (days). Setting it to 0 removes all the files in the folder.

Post Thu Feb 23, 2006 11:11 pm 
 
  Display posts from previous:      



Post new topic   Reply to topic
Page 1 of 1



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 



-Your Link Here-
Networking hardware and software solutions | web hosting directory | Web hosting and domain talk
Powered by phpBB: © 2008 HardwareDude.com | SiteMap |Privacy | Terms of Service
Powered By :