Solved

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

Posted on 2011-09-12
3
255 Views
Last Modified: 2012-05-12
Or, would that require a script? Any place where I might find a sample script?
0
Comment
Question by:brownkm82
3 Comments
 
LVL 6

Accepted Solution

by:
-tjs earned 125 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).
http://support.microsoft.com/kb/279301
0
 
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.

http://www.frickelsoft.net/blog/downloads/10%20things%20Group%20Policy%20Preferences%20does%20better.pdf

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

Author Closing Comment

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

Thanks,
Ken
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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

13 Experts available now in Live!

Get 1:1 Help Now