I just used Clean Install to reinstall on Windows 10 1809 (big mistake, I know). It's the official refreshed version, but it grants ALL APPLICATION PACKAGES
permission to C:\Windows.old
.
This is relevant because inheritance is sticking to all of the files, even in server mode. Any attempt to remove it looks as though it succeeds, but nothing happens.
These are all of my personal files and documents, appdata, etc, going back many years, so the relevant portion is about 200GB, so copying (which resets the modified date anyway) isn't really feasible.
I need to either
- move the files and break the inheritance chain; tried this using old PowerShell trick (move file, reset inheritance via
SetAccessRuleProtection
; the phantom permission sticks from "Parent Object" which this normally negates), - remove the phantom permission before moving files.
I've already taken ownership of the folder, that's not helping any. To be clear, I want to remove the ALL APPLICATION PACKAGES
permission from C:\Windows.old
so my files aren't tainted with a bad security permission.
Screenshot of ALL APPLICATION PACKAGES
, removing it "succeeds", but it's still there: