


In the right-pane, double-click LastAccess. Start the Registry Editor and go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files RELATED: How to Delete Files Older than N Days Automatically in Windows Make Disk Cleanup erase all the Temporary files Directories that have been created in the last seven days.įor criteria 2: With a simple registry edit, you can make Disk Cleanup erase all Temporary Files or only the files whose last accessed timestamp is greater than “n” number of days from the current date.

