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
Solved

Add Domain Global Group to Local Security with script

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

860 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