I was experimenting with permissions in the Windows app folder using the TakeOwnership feature to solve an issue with a specific program, and now many of my apps and utilities, including the Windows Store, won't open. I'm trying to restore the permissions without having to do a clean install of Windows. I attempted using a repair tool from Tweaking based on a previous post, but it didn't work. I've also read that I could use the icacls command in the command prompt, but I'm unsure how to apply it. Can I just run the command on my entire C drive, or do I need to target specific folders? If nothing works, would a Windows reinstall or repair resolve my issues? Unfortunately, I don't have any restore points available.
4 Answers
If you had system restore enabled, that would be ideal. You could just roll back to a point before messing with permissions. But since you mentioned it was disabled, that's unfortunate. Maybe check the settings to ensure it’s on for next time!
Using icacls is a solid approach! You can run a command like `icacls "C:PathToYourFolder" /reset /t /c /l`. It works for fixing permissions. Keep in mind that running it on the whole C drive might be risky, so it’s better to be more targeted.
Honestly, the easiest solution might just be to reinstall Windows from a USB stick. It can get messy trying to fix permissions without knowing exactly what changes you made. Learn from the experience and maybe take a backup next time.
I’ve had success with icacls as well! Just a heads up, it might throw some errors. If you're worried, you could clone your drive to another one for safety and test it there. Also, I’d recommend running it in safe mode to minimize potential issues.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures