Solved

Adding users to domain

Posted on 2004-10-17
2
207 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Power and BTU ratings calculation 13 86
Sky and freeview box 3 47
corrupt Databases 9 64
Using 5 Access Point or 1 AP + 4 Range Extender? 2 17
In this article you will get to know about pros and cons of storage drives HDD, SSD and SSHD.
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 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