Solved

command line to add user to a win2k3 domain group

Posted on 2008-10-03
3
1,896 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 23

Expert Comment

by:Justin Durrant
ID: 22635754
0
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22635831
0
 
LVL 3

Accepted Solution

by:
cnjuguna earned 250 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

19 Experts available now in Live!

Get 1:1 Help Now