Solved

Adding users to domain

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Choosing a motherboard 10 32
Special door lock 20 60
.WAV Files won't play on some computers 8 59
Device same like our heart 12 49
Upper back Pain: My back hurt for months. Upper back, mostly my neck, spine and across my shoulder blades. I was getting headaches too, that felt like they were caused by tension in my shoulders, but now I feel fine! I'm sharing this hoping someone…
this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now