multiple logon scripts in user profile

G

Guest

In the Active directory's user profile, there is a section called logon
script where you can insert a logon script which you want to use. Is it
possible to put multiple concurrent logon scripts in the profile?
 
T

Tomasz Onyszko

donny said:
In the Active directory's user profile, there is a section called logon
script where you can insert a logon script which you want to use. Is it
possible to put multiple concurrent logon scripts in the profile?

If You want to assign multiple logon scripts for the users better
approach might be using GPO for this purpose.
 
C

chriss3 [MVP]

Yes I'm agree with Tomasz the logon scripts field / attribute is only for
legacy usage.
 
K

Kurt

Another option is to branch to appropriate code blocks in your script
depending on username, computername, group, etc.

....kurt
 
K

Kurt

Jorge asks a good question. I just assumed you wanted different users to run
different scripts without having to create and assign them one user at a
time. But in an AD domain, that is what OUs are all about. You could copy
the basic script, add whatever is required for other users, name them
accordingly, then assign them through group policy at the OU level.

....kurt

"Jorge de Almeida Pinto [MVP]"
 

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

Similar Threads


Top