Is there a way to add a user to a local group in Windows with a Group Policy?

Posted on 2011-09-12
Medium Priority
Last Modified: 2012-05-12
Or, would that require a script? Any place where I might find a sample script?
Question by:brownkm82

Accepted Solution

-tjs earned 375 total points
ID: 36524676
If the group membership is something that is known and should always be the same, you could use something called "Restricted Groups".  Group Policy essentially forces a group to have the members you want (and only the members you want).
LVL 35

Expert Comment

by:Joseph Daly
ID: 36525126
Yes this can be done by either a script using the net use command.

You could also do this by using a GPO and restricted groups mentioned above.

The way that I would reccomend doing this would be to use group policy preferences if you have a windows 7 machine that you can build the GPP on.


See the section for "Setting local Administrator Passwords /Administering local users and groups". This is much easier than using restricted groups in a GPO.

Author Closing Comment

ID: 36525502
That's the ticket. It even allows a policy which forces domain group within local group.


Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses

586 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