?
Solved

Remote add a Domain User to a local group

Posted on 2001-09-06
3
Medium Priority
?
328 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
  • 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

864 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