Solved

Add Domain Global Group to Local Security with script

Posted on 2004-10-20
3
224 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

762 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