What is the best way to fix NTFS file permissions to inherit parent?


The best way  to fix NTFS file permissions to inherit parent is to use Icacls utility

icacls "c:\RootDirectory\*" /q /c /t /reset

/q = Suppresses success messages.

/c = Continues the operation despite any file errors. Error messages will still be displayed.

/t = Performs the operation on all specified files in the current directory and its subdirectories.

/reset = Replaces ACLs with default inherited ACLs for all matching files.

How to: Unlock Active-Directory Users Account via PowerShell

%d bloggers like this: