2

When you run Disk Cleanup one of the categories is "Temporary Files".

  1. Where are these temporary files?
  2. Has anyone been able to copy files to that location and re-run Disk Cleanup and see the size increase?
  3. Has anyone actually verified that the files in those folder(s) get deleted?

2 Answers2

3

As mentioned Windows 7 has one location, Windows 10 has 4. HKLM\Software\Microsoft\CurrentVersion\Explorer\VolumeCaches‌​\Temporary Files\LastAccess is a retention setting. By default Windows sets it to 7 days but users manually change it to 0. It will only remove files that meet the retention settings. There are two folders under Windows 10 (C:\Windows\Logs and C:\Windows\System32\Logfile) that will only be cleaned if you run cleanmgr from an elevated command prompt.

1

Where are these temporary files?

By default the files are located here:

  • C:\Temp aka %TEMP%

Has anyone been able to copy files to that location and re-run Disk Cleanup and see the size increase?

If you select the option, to wipe your temporary files, it will wipe all files in that directory which are not currently in use by a process.

Has anyone actually verified that the files in those folder(s) get deleted?

I personally, have verified, the files that were suppose to be deleted were deleted.

Ramhound
  • 44,080