Link to home
Start Free TrialLog in
Avatar of aplona
aplonaFlag for United States of America

asked on

icacls command

I am using two icacls command.  If i do a restore, it doesnt stop inheritance on certain folders that the original  source had.  Here are the two commands.  What other parameters do i need to correct this?

iCACLS D:\data /save c:\logfile.txt /t /c


iCACLS D:\ /restore c:\logfile.txt
Avatar of footech
footech
Flag of United States of America image

if you want to remove all ACEs that are inherited, use the /inheritance:r switch.
ASKER CERTIFIED SOLUTION
Avatar of SubSun
SubSun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial