Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

July 02, 2001 12:00 AM

Access Denied: Remove Users from Local Admin Group

Windows IT Pro
InstantDoc ID #21296
Rating: (2)

At my company, users are administrators of their workstations. To enhance desktop security, however, I need to remove other users from the local Administrators group on each computer. How can I accomplish this task without visiting each computer and manually deleting the users?

Group policy comes to the rescue here. In Group Policy Objects (GPOs), the Restricted Groups folder under \computer configuration\windows settings\security settings contains options that let you control group membership for local groups on the workstations and member servers in your domain. To accomplish your job, create and edit a GPO that you'll apply to all the workstations that need the change. For example, if you edit Default Domain Policy, your change will apply to all computers in the domain unless a lower GPO specifies a policy for the same group. (See the preceding Q&A, InstantDoc ID 21295.) To remove users from their local Administrators group, maneuver to the Restricted Groups folder, right-click, select Action, then select Add Group. Enter the name of the local group whose membership you want to control—in this case, Administrators. A policy named for the group will appear in the details pane, as Figure 1 shows. Double-click the policy to display the dialog box that Figure 2 shows. Click Add, then click Browse. Select Domain Admins, then click OK to close all the dialog boxes.

This policy will cause your domain's member servers and workstations to delete any members other than Domain Admins from each computer's local Administrators group. To verify your change, log on to a member server or workstation in your domain, then at a command prompt, type

secedit /refreshpolicy machine_policy

This command applies group policy immediately instead of waiting for the next typical refresh, which could be as long as 2 hours away. Next, open the Microsoft Management Console (MMC) Computer Management snap-in, then maneuver to Local Users and Groups. You'll now see only Domain Admins and the local Administrator user account as members of Administrators. You still find the local Administrator account because this user is a built-in member of Administrators, and you can't delete that account.

Related Content:

ARTICLE TOOLS

Comments
  • zookflash
    5 years ago
    Mar 20, 2007

    That's good. But how do I add just one or two users as local admin to their partcular machines?
    "This policy will cause your domain's member servers and workstations to delete any members other than Domain Admins from each computer's local Administrators group. " I want the opposite to happen. i would like to add domain admins as local admins and then add random domain user as local admin as well without having the domain user account deleted each the system refreshes the GPO

  • kentoh
    5 years ago
    Feb 26, 2007

    Great article! My problem of controlling the local admin rights is solved!! Thank you so much.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.