icacls
-
How to reset file permissions on windows using command line
The command icacls can be used to display or modify discretionary access control list (DACLs). Syntax of command icacls icacls [/grant[:r] :[…]] [/deny :[…]] [/remove[:g|:d]] […]] [/t] [/c] [/l]…