Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

command line to add user to a win2k3 domain group

Posted on 2008-10-03
3
Medium Priority
?
1,948 Views
Last Modified: 2012-05-05
I tried to use dsadd to add some login IDs to a domain group but not successful.  If someone has done this before, please advise.

Thanks.
0
Comment
Question by:nav2567
3 Comments
 
LVL 3

Accepted Solution

by:
cnjuguna earned 750 total points
ID: 22636075
net group "Name of group" username /add /domain

1) if the group name has spaces, put quotes around it
2) if you are not on the dc add the /domain and run from a pc that is joined to the domain
3) run under username that has domain admin rights (or assigned relevant permissions)
4) username can be a list of usernames separated by spaces
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

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