Home » Questions » Computers [ Ask a new question ]

Windows: How do I remove a file's ACL, and just let it inherit the ACL on the containing directory?

Windows: How do I remove a file's ACL, and just let it inherit the ACL on the containing directory?

Scenario: I unpack a file into a temp directory.

Asked by: Guest | Views: 362
Total answers/comments: 1
Guest [Entry]

"You could use the reset function of icacls:

ICACLS ""C:\path\to\folder"" /reset /T /C

then enable inheritance:

ICACLS ""C:\path\to\folder"" /inheritance:e /T /C"