Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Restricting adding of local Users/Groups to Domain Admins

Posted on 2006-07-22
6
393 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.

860 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