Solved

Adding users to domain

Posted on 2004-10-17
2
206 Views
Last Modified: 2010-04-26
Hi
I want to add some number of users to my domain, from command prompt. I know that I can simply use:
net user user_name password /ADD
to perfrom the job, but the problem is, this command will add the users to "Users" folder in the domain, while I want to add the users to a previously created "Organizational Unit".
Is there a way to add users to an Organizational Unit, from command prompt? Or is there a way to move a user from one Organizational Unit to other, from the command prompt?
Thanks in advance
Huji
0
Comment
Question by:huji
  • 2
2 Comments
 
LVL 11

Expert Comment

by:KaliKoder
ID: 12331658
Hello Huji,

Try this article, it would let you add users to a particular OU from command prompt using the command dsadd utility, I am assuming you are using Windows 2003 , if this is not the case please let me know what OS

http://www.computerperformance.co.uk/ezine/ezine29.htm#Example%202%20Creating%20a%20User%20-%20DSadd%20user....



0
 
LVL 11

Accepted Solution

by:
KaliKoder earned 500 total points
ID: 12331665
If you are running a Windows 2000 server as a DC, you should have a look at the following URL. It gives step by step instruction on how to create a new user in an OU using the LDIF command from a command line:

http://groups.google.ca/groups?hl=en&lr=&threadm=eSkBLlO3BHA.568%40tkmsftngp07&rnum=2&prev=/groups%3Fq%3Dcreate%2Ba%2Bnew%2Buser%2Bin%2Ban%2BOU%2Bfrom%2Bcommand%2Bprompt%26hl%3Den%26lr%3D%26selm%3DeSkBLlO3BHA.568%2540tkmsftngp07%26rnum%3D2

Hope that helps!

Thanks and Good Luck!
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is about my first experience with programming Arduino.
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question