Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what logon scripts are assigned to users 1

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
Does anybody know of any way to search through windows 2000 AD users to locate any assigned logon scripts? Ive got a 2000 AD that used to be an NT network so the users are assigned logon scripts in their user profile. I want to clean up the netlogon directory so i can start moving to AD logon scripts, but Ive got 500+ users and I dont want to go through every user to identify any logon scripts that are currently assigned.

thanks for any suggestions
 
On a domain controller:
Code:
csvde -f users_script.csv -d "dc=yourdomain,dc=com" -p subtree -r "(&(objectCategory=person)(objectClass=user))" -l "description,scriptPath"
Note that this should all be on one line.
 
Thanks, that's great. Your version wouldnt run for me for some reason, but it gave me enough to modify it and get what i needed..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top