Solved

Add Domain Global Group to Local Security with script

Posted on 2004-10-20
3
225 Views
Last Modified: 2010-04-13
What is the easiest way to add a Domain Global Security Group to a Local Security Group using a script?  I am a rather wimpy script writer.  I know that I can add a domain user to a local security group using the NET command.  I would rather add a Domain Global Group to the Local "Administrators" Security Group, that way I can control access to the privilege buy controlling membership in the Domain Global group.

Windows Server 2003 Domain with Windows 2000 Pro Workstations.

Thanks.
0
Comment
Question by:rdienhart
3 Comments
 
LVL 11

Assisted Solution

by:KaliKoder
KaliKoder earned 55 total points
ID: 12363969
0
 
LVL 9

Expert Comment

by:BigC666
ID: 12363973
0
 
LVL 20

Accepted Solution

by:
Debsyl99 earned 70 total points
ID: 12364394
Hi

What's the problem with adding the following to a batch file?

net add localgroup /administrators "globalsecuritygroupname"   ?

It's simple, it works for global security groups too (at least it does on my domain) - just add it as or to a .bat file in a start-up script in a computer policy of a gpo linked to an OU containing the pc's you want to add it to. Please let me know if somehow I've missed the point,

Deb :))
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 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

14 Experts available now in Live!

Get 1:1 Help Now