Active Directory

  • Thread starter Thread starter =?iso-8859-1?B?Tetz5Otu?=
  • Start date Start date
?

=?iso-8859-1?B?Tetz5Otu?=

Hello All.

I've been tasked with consolidating approximately 50 login
script .BAT files. In order to get a better understanding
of what group members run with login scripts I wanted to
see if there was someway to export who runs what in AD? I
know you can export basic user information, but is there a
way to get the user and the logon script they run?

Thanks.
 
Hello All.

I've been tasked with consolidating approximately 50 login
script .BAT files. In order to get a better understanding
of what group members run with login scripts I wanted to
see if there was someway to export who runs what in AD? I
know you can export basic user information, but is there a
way to get the user and the logon script they run?

Thanks.

LDIFDE and CSVDE can both do this quite easily, as will Joe's adfind.exe
(www.joeware.net) and it's trivial to do using ADSI. Here's what it
would look like using csvde to create users.csv with each users DN, NT
name (sAMAccountName) and the script path (scriptPath) for users that
have a scriptPath attribute:

csvde -d dc=your,dc=compnay,dc=com -r scriptPath=* -l
sAMAccountName,scriptPath -f users.csv


Wayne
 

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