Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi there!
Sorry if i ask an old question...
To make a lng story short:
I have an excel-sheet with aprox 250 users which i do not want to add manually to Active Directory if it can be avoided.Someone here talked about a program called addusers.exe, but it dont seem to exist for windows 2003.
The other one LDIFDE which i read about, seems hard to use. Looks like i must usa a LOG of text for a singe user...
Anyone got a bright idea??

You can add users individually in Windows 2003 using the following command;
dsadd user "CN=Tom,OU=Sales,DC=worldwideimporters,DC=com"
The above command would add an user "Tom" in an Existing Oranization Unit "Sales" in an existing Domain "worldwideimporters" which has ".com" as suffix
You can use this in a batch file with different user names in each line.
I am not aware of passing parameters or variables which could pull from a txt or excel sheet.But, i have an idea. If you copy the command in a excel row, then copy the same command as many users you need below that and then use delimiter or "Txt to Column" convertor and then replace the feild which has "Tom" in it with the New User list which you have and then concatenate the lines and copy them to a Batch file and run it.
In order to run this batch file, you need to be in the Domain Controller with Admin rights to create user accounts.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |