Cascading folder permissions royally f-ed up

Alphathree33

Platinum Member
Dec 1, 2000
2,419
0
0
TL;DR:
- I have a folder (with a big tree of folders under it) with important stuff in it
- I was mucking around trying to share it to another PC
- At some point, I made an "Everyone" group and then clicked "Deny All" permissions
- This was a bad idea
- I've managed to remove the "Deny All", but I seem to only be able to reclaim the folders one at a time

QUESTION:
- How do I apply a cascading "Allow All" permission for "Everyone" in the same way that I did a cascading "Deny All" permission?
 

Alphathree33

Platinum Member
Dec 1, 2000
2,419
0
0
OK I figured it out and I thought I would put the solution here in case anyone else needs it.

There is a command called "takeown" which you can use at the command line:

takeown /f C:\whatever /r

The /r is for recursive.

It didn't work at first. But then I started the command prompt window using "Run as administrator..." and then it worked.