Have you tried using disk cleanup but with the system files option? Windows 10 (and even Windows 7) protects%windir% Temp.
![Files Files](/uploads/1/2/5/4/125468416/251395883.png)
Running Disk Cleanup without having permission will not delete those files. If you are logged in as an Administrator type account, you can grant yourself access.
Look for the 'Show hidden files and folders' option. It is located under 'Hidden files and folders.' Click the circle in front of 'Show hidden files and folders.' Click the 'Apply' button and then 'OK.' How to Find And Delete Temporary Internet Files Step. Click twice on 'Internet Options' in the Control Panel window. Microsoft Internet Explorer (IE) uses the temporary internet files feature to store copies of web content on your computer. When you access the same webpage again, the browser uses the stored file and only downloads the new content.
To get access and delete the Temp files:. Close all open app Windows. Open File Explorer. Go to%windir% (normally C: Windows). Highlight the Temp folder. A security warning pops up and tells you that you do not have permission to view the folder.
Give yourself permission to the Windows Temp folder. You can now delete those tons of temp files left behind by poorly-coded programs that fail to clean up after themselves. If a file is in use, the system will not let it be deleted. I use a batch program (that I have not converted to PowerShell yet) to delete my Temporary Internet Files, Local Temp files and%windir% Temp files. It's very helpful.
While Disk Cleanup offers a 'Clean up system files' option (requiring Admin account credentials), I prefer the more straight-forward approach above.