I've made the fatal and stupid mistake of messing around with permissions. Specifically, I added a deny Write rule for administrators to my C: drive. In my efforts to revert this change I have attempted to change the owner of the drive from TrustedInstaller to myself and then removing the deny rule, however many folders remain unchanged and prompt an Access Denied window when changing the permissions. Obviously, soon after a restart most apps stopped working and could not open.
Next, I backed up whatever I could and tried resetting my PC. I chose the Keep My Files option when resetting my PC and let it do it's thing. Now the apps I re-install are able to work, but the folders that denied access earlier are still the same. I'm unable to do anything to these folders (C:\Users\...\Downloads, C:\Windows, C:\Program Files, etc.) other than see the contents.
I am willing to nuke it all and go back to factory settings if that is what it takes. How should I completely reset the permissions to default? Will a complete delete-everything PC reset change it back?
I'm using Windows 10. Unfortunately, I have no System Restore points set up.
psexec -i -s cmd.exe) and then from the new terminal ran
icacls C: /resetbut it still says access denied
resetdoesn't do what you think it does. Tell us what you did? In a normal windows installation
resetwill do almost nothing. Type