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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top