jasonskaggs
asked on
Script to add a user to security setting
Can anyone help me with a quick script? I need to add 1 user with full permissions to all the files and folders in our company file structure without removing the security that is in place. I'm not good with scripts and don't know where to start.
You mean a VB script for adding user into ADSI?
If yes the please follow the link below.
https://www.experts-exchange.com/questions/21546272/VBScript-create-OU-groups-set-policy-settings.html
https://www.experts-exchange.com/questions/21546272/VBScript-create-OU-groups-set-policy-settings.html
ASKER
No this would be an existing user. We have a corporate folder structure comprised of thousands of files and folders with little security inheritance. I need this user to have full security rights to all files and folders.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Htis works well, however when i run into a file i don't have access to it stops and i have to take ownership which removes the other permissions. Is there anyway past that?
Only the obvious one: use an account that has permissions to all folders.
This is one of the reasons two accounts should have Full permissions on all folders: System and the local Administrators group.
This is one of the reasons two accounts should have Full permissions on all folders: System and the local Administrators group.
ASKER
Thanks i've just been taken ownership. To many people think they are being smart and more secure by removing the system accounts on thier personal folders.