Adding Domain Groups to Local Group

  • Thread starter Thread starter Ray
  • Start date Start date
R

Ray

Is there a way to add a domain group to a local group
using a command line?
Ray
 
Ray said:
Is there a way to add a domain group to a local group
using a command line?

Hi

You can use net.exe for this.

Adding "My DomainName\My DomainGroup" to the local Administrators group:

net localgroup Administrators "My DomainName\My DomainGroup" /add
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top