Link to home
Start Free TrialLog in
Avatar of johndxb
johndxb

asked on

Using DSMOD user to change "windows pre-2000" attribute in bulk.

We are in a situation to rename all user accounts to their employment ID numbers in bulk for 1000> users in an Active Directory 2003 domain. I am able to script it using DSMOD User -upn. But couldn't find a switch to change "pre-windows 2000 " name. Appreciate if any one can help me to change "pre-windows 2000 " name from CLI.
Avatar of Brett Danney
Brett Danney
Flag of South Africa image

I have attached a vbscript that will do this based on info the script reads from a file (user-rename.csv) I have attached a copy of the file so you can see the format it needs to be in. You can get the user's OU by running  "dsquery user -limit 2000 >c:\temp\userinfo.txt"
Use excel to edit the info and build the user-rename.csv file for your users.
user-rename.csv
3.-User-account-rename---Copy.vbs
ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.