Link to home
Start Free TrialLog in
Avatar of brownkm82
brownkm82

asked on

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

Or, would that require a script? Any place where I might find a sample script?
ASKER CERTIFIED SOLUTION
Avatar of -tjs
-tjs
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Joseph Daly
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.
Avatar of brownkm82
brownkm82

ASKER

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

Thanks,
Ken