Difference between revisions of "Reset NTFS ACLs"
Jump to navigation
Jump to search
PeterHarding (talk | contribs) (Created page with " NTFS is a much more fine-grained than Unix. The following commands take ownership and reset the ACLs to default. Also, if the drive permissions themselves are mangled,...") |
PeterHarding (talk | contribs) |
||
Line 20: | Line 20: | ||
[[Category:Windows]] | [[Category:Windows]] | ||
[[Category: | [[Category:Systems Admin]] |
Revision as of 11:51, 3 June 2016
NTFS is a much more fine-grained than Unix.
The following commands take ownership and reset the ACLs to default.
Also, if the drive permissions themselves are mangled, you will need to fix those as well.
Assuming the tree is rooted at C:\xxx:
Make local administrators group owner.
takeown /F C:\xxx /R /A /D Y
Reset ACLs to defaults.
icacls C:\xxx /reset /T /C /L /Q