Export list of login scripts

J

jallen

How can I query AD for the login script attribute of each
user account? I'm trying to produce a list of user
accounts with the associated login scripts.
Thanks!
 
T

Tomasz Onyszko

jallen said:
How can I query AD for the login script attribute of each
user account? I'm trying to produce a list of user
accounts with the associated login scripts.
Thanks!
Query through Ad for the scriptPath attribute - of course this will help
If You have login script configured in the user properties


Simple example how to dig through AD and read properties You will find here;
http://www.w2k.pl/tech/sample1_LDAP.txt
(comments are in polish - sorry)

If You have login scripts configured via GPO use RSoP to determine on
which OU in Your Ad which GPO will affect users and which login scripts
will be executed
 

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