Is there a way to duplicate a user's NTFS permissions to another user? For example, the boss says, "Bob needs the exact same access to this folder as Tom". There are too many files and folders to check manually.
-
5If you're doing it right then your NTFS permissions are based on Security Group membership and it's a simple matter to make Bob a member of the same Security Groups as Tom.– joeqwertyJun 17, 2013 at 20:09
-
1If it had been setup correctly by the previous IT, then I wouldn't be asking the question :-)– user1594322Jun 17, 2013 at 20:14
-
You didn't specify how the permissions had been set up and I didn't want to make assumptions.– joeqwertyJun 17, 2013 at 20:16
-
1If it isn't setup correctly, and you know it, why aren't you correcting it? If you want to script the correction process, PowerShell is your friend, but it's still a bit tedious depending on how bad the situation is.– Chris SJun 17, 2013 at 20:18
-
Look into something like: solarwinds.com/products/freetools/… and correct the way it is currently being done. No sense in continuing down the same incorrect path just because that's "how it was setup".– TheCleanerJun 17, 2013 at 20:21
|
Show 2 more comments
2 Answers
No, not unless you write a custom script that will crawl your network and detect these permissions on remote file servers.
This is why it's so important to use groups in your permissions, then it would be a matter of simply dropping the new user into the same groups as the old user.
-
3Thanks. I ended up creating a script that parses the output of "icacls path /save output.txt /T" and compared the permissions to make sure a new group matched the permissions. Luckily there were not any differences. If there were a lot of differences it would have been a big pain to sort out. Jun 17, 2013 at 21:16
Icacls or robocopy can do this. You should also look at dynamic access control to avoid using groups or assigning specific users.