Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Remote add a Domain User to a local group

Posted on 2001-09-06
3
Medium Priority
?
326 Views
Last Modified: 2010-04-13
Hi,
I want to remote add a DomainUser to a computer's LocalGroup Administrators Group By a VB script.

What is the simples way to do it?

Regards
       Anders Johansson
0
Comment
Question by:epkanj
[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
3 Comments
 
LVL 5

Expert Comment

by:Draak
ID: 6460069
use the resource kit utility addusers.exe

create a file with following content:

[Local]
Administrators,Members can fully administer the computer/domain,BEBRUSNIA\Domain Admins

Save it and use following command:

addusers /c <your filename> \\<remote computername>


best regards

Draak
0
 
LVL 5

Accepted Solution

by:
Draak earned 800 total points
ID: 6460075
extra comment:

I just added the Domain Admins group from the domain called BEBRUSNIA to the local group Administrators by using the file created.

in your case change BEBRUSNIA\Domain Admins by the account you wish to add ( may be a global group or individual account)

best regards

Draak
0
 
LVL 1

Author Comment

by:epkanj
ID: 6460087
Thanks, works fine for me

  //Anders Johansson
0

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
With the evolution of technology, we have finally reached a point where it is possible to have home automation features like having your thermostat turn up and door lock itself when you leave, as well as a complete home security system. This is a st…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

647 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