Computing.Net > Forums > Windows Server 2003 > Windows 2003 adding multiple users

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Windows 2003 adding multiple users

Reply to Message Icon

Name: maggi
Date: December 27, 2004 at 06:04:45 Pacific
OS: Windows 2003 std
CPU/Ram: Xeon
Comment:

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??



Sponsored Link
Ads by Google

Response Number 1
Name: me2u_friend
Date: December 27, 2004 at 10:09:49 Pacific
Reply:

Using wsh script You can add more user at once


0

Response Number 2
Name: maggi
Date: December 28, 2004 at 11:09:54 Pacific
Reply:

wsh script?


0

Response Number 3
Name: hariharan_l
Date: January 8, 2005 at 10:17:59 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: Windows 2003 adding multiple users

2003 ad www.computing.net/answers/windows-2003/2003-ad/9312.html

Can I change IP on Windows 2003 AD? www.computing.net/answers/windows-2003/can-i-change-ip-on-windows-2003-ad/4444.html

Windows 2003 AD question www.computing.net/answers/windows-2003/windows-2003-ad-question/653.html