Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Adding users to domain

Posted on 2004-10-17
2
Medium Priority
?
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

Question has a verified solution.

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

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…
If you're a modern-day technology professional, you may be wondering if certifications are really necessary. They are. Here's why.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

609 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