Forum Discussion
Disk Cleanup won't delete certain files
JohnnyGuiThis script does not tell you to delete anything. All it does is grant permissions to the operating system and programs, so that it can open file handles with these particular entries (due to missing or revoked file permissions, as I wrote in my earlier posts.) Sometimes this does happen, though it's very rare. The only other way around that is to backup and reformat ( icacls / takeown will save you a lot of time, as you won't need to reinstall. If you reinstall, all that does is just copy the same files, and create new file permissions for each entry. Takeown and icacls does the same thing, but without deleting the files and recreating them. )
Probably only a few file permissions have changed, so that might actually block the entire cleanup operation. You could also go into Windows Explorer and hand parse as well with your mouse and keyboard, if you don't want to use the scripts. My earlier post also covers that. All options are available, no risk whatsoever, as you can choose based on what you want to do. If you don't want to do anything, you can just read the documentation and then make some decisions later after thinking it through. Zero pressure whatsoever. It's your choice:
"I am aware I could try to go to the temp folder and delete the files manually, but why doesn't it work this way?"
For me, a non-reversible error may be changing the permissions to the file you recommend, and creates paths that may be a threat to the integrity of the system!
" This script does not tell you to delete anything. All it does is grant permissions to the operating system and programs, so that it can open file handles with these particular entries ("