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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script for Changing Local Admin 1

Status
Not open for further replies.

DJCopa

Technical User
Aug 7, 2003
152
GB
Hi All.

We had to set all our staff as Local Admins when we set up shop about 6 years ago (staff were unable to connect to our CRM correctly without it). We are now at a stage where this is no longer required, and the need to lock down PC's is more important (VUNDO infections have been a nightmare).
Ideally, we do not want to visit each PC and set Local User group from Admin, to User. Is there a script or some other automated process that people here have used? I have Googled a fair bit, but can only find info on changing local Admin password.

Thanks in advance.
 
Are these seperate pc's or part fo a domain? If a domain you can use AD policies.

Only the truly stupid believe they know everything.
Stu.. 2004
 
Thanks for the response guys.

I thought that local permissions would take precedent over anything else? As local users are all Admin on their own PC's (Domain) I would need to change this first, to stop installation of software?

Ideally, I'd then like the option to pop up to allow install with admin account - Would save us having to log off profile and log in as Admin to install software.
 
In that case you want restricted groups. Restricted groups are for centrally controlling membership of local groups. By defining a policy under the scope of the computers it will overwrite any current membership with whatever is configured in the policy. Also, because it overwrites the membership every time the policy is applied, it elimiated privilege escelation.

It will not prevent you from using run as or any other utility to install software however

Hope this helps

Irish Poetry - Karen O'Connor
Irish Poetry and Short Stories - Doghouse Books
Garten und Landschaftsbau
 
Cheers gmail2 - Appreciate the quick come back!

Will give it a whirl!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top