
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.Files which have been accessed in the last seven days.Files with Read-Only, System or Hidden attributes.When it comes to deleting Temporary Files, Disk Cleanup by default doesn’t wipe out items that match the following criteria:

Why Does Disk Cleanup Leave Behind Temp Files? But you may be wondering why Disk Cleanup skips deleting some files and folders in your TEMP folder.
