Solved

Restricting adding of local Users/Groups to Domain Admins

Posted on 2006-07-22
6
387 Views
Last Modified: 2010-04-18
Due to some uniqueness of my environment, I need to give domain users local Administrative access to some machines.  However one of the no-nos is for these local Adminstrators is to create local accounts, but often then do anyway.  How can I restict the creating of local accounts to Domain Admins only?

Environment: W2K3 Standard Servers, Windows XP-Pro clients
0
Comment
Question by:jchauncey60
6 Comments
 
LVL 1

Expert Comment

by:rimba_
ID: 17161403
hello,
what you can do is block the ejecution of mshta.exe (you can do this is the domain policies)

and for prevent the admins to run it from the run or the command using "control userpasswords2", block the run and the command in all the machines (this can be done in the domain policies as well)
0
 

Author Comment

by:jchauncey60
ID: 17161524
Thank you for your suggestion, however it did not seem to work.  I created a "test" account and added them to the local Administration group and was still able to add a new user and place that user into the local Administrator's group.

Just in case I misunderstood something, I am adding users from My Computer->Manage->Local Users and Groups.

Again, thanks for feedback.
0
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 17161743
the minute you add a user to the admin local group...they have these permissions

you can counter that with group policy to a point
Administrative Templates\Windows Components\Microsoft Management Console\Restricted/Permitted snap-ins\Computer Management
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 51

Expert Comment

by:Netman66
ID: 17161845
Very simply, create Restricted Groups for each local Group on the PC.  Enforce the membership of this group (use the Members section).

Now when a new local user is created, the account wants to belong to the Users local group - however, if you enforce this to contain only Domain Users then account creation should fail since the user cannot belong to any local groups (as defined in your GPO).

So you need to create Restricted Groups for:

Administrators - contain Domain Admins, the local Administrator and a new Security Group from the domain that contains the users that need Admin rights.  
Power Users - no members.
ec, etc.

Make sure to include the default members in these Groups since this policy will remove anything not explictly defined in your policy.

0
 
LVL 51

Accepted Solution

by:
Netman66 earned 250 total points
ID: 17161847
Oh, make sure you apply this to an OU where only the workstations live - you do not want this to apply to your servers.

0
 
LVL 1

Expert Comment

by:rimba_
ID: 17162792
try this:
go to windows/system32 there look for mshta.exe right click and select properties, there deny eveything to everybody and try to add a user again, if this works look the policy in the domain controller, maybe you re not restricting the access to this .exe correctly (you need to put the full path to it)
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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

776 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