Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GPO for Local Admin?

Status
Not open for further replies.

zeveck

Programmer
Jun 6, 2005
142
0
0
US
Can I use GPO to ensure that AD users have administrator rights on workstations without making them Domain Admins? Can I somehow make them local admins?

~RMC
 
On a relative same note...I know you can rename the local administrator account for all workstations in Group Policy...can you also set a password for the local admin account in a GPO?
 
Yes you can. Both actually.

First one (zeveck's issue):

* Create a domain group, say "Techie" and put people in there
* Create a COMPUTER startup script with the following line:

net localgroup Administrators "<domain\Techie" /ADD



Davyd123's issue:

Create a COMPUTER startup script with this line to change the Administrator password on the local machine:

net user administrator <password_goes_here>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top