Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have ran a tool called admnalow.exe that re-grants access to the local administrators (BUILTIN\Administrators) group for all directories and subdirectories in a given path. The problem is it seems to have caused the ACL's to be ordered improperly. I've been looking everywhere and have been unable to find a .vbs or any other script that will parse through a set of directories and reorder the ACLs. This can be done manually but would be incomprehensible for thousands of directories.

Can anyone help?!?!

share|improve this question

The built-in icacls command with the /verify argument will do what you're looking for. Add the /T argument to make it apply to files and subdirectories.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.