How to set security to users account from a script in the AD?

  • Thread starter Thread starter Eric K.
  • Start date Start date
E

Eric K.

Hello,



Did someone know how to set security to a user account in the AD with a
script? I already have one to create them, but I also need to set special
security on few of them.



Thanks for any idea.



Eric
 
-----Original Message-----
Hello,



Did someone know how to set security to a user account in the AD with a
script? I already have one to create them, but I also need to set special
security on few of them.



Thanks for any idea.



Eric


.
Eric,

Sorry. Not really sure what you mean. That would be my
ignorance. Do you mean security as far as to what
Folders/File he/she can access? I would make the user(s)
a member of Global Security Groups and make those Global
Security Groups members of Local Security Groups. Then,
use CACLS - or even better XCACLS - to apply permissions
to those Local Security Groups...

If you are talking about user rights then I would look
into using Group Policy...

HTH,

Cary
 
Back
Top