Solved

Add Domain Global Group to Local Security with script

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

717 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