Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


April 18, 2005

Changing AD Account Permissions en Masse

RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Access Denied

We have account lockout enabled to slow down attacks that try to guess passwords. Of course, users occasionally lock themselves out when they keep trying to guess a password that they've forgotten. I'd like to follow the advice in "Setting Active Directory Property Permissions" (July 2000, InstantDoc ID 9187) and grant Help desk staff members permissions to all the accounts in my domain so that Help desk staff can unlock user accounts when necessary. However, I have 1300-plus accounts in Active Directory (AD) and don't want to make the permission change manually to each account. Is there a way to make the change to all accounts in one sweep, maybe using a Group Policy Object (GPO) or the security policy?

There is a way, and making the change is very easy once you know where to do it. GPOs and the security policy don't have anything to do with controlling AD permissions. Instead, you use permission inheritance and your organizational unit (OU) hierarchy. I'll use an analogy to explain. On file servers, we control file permissions through a hierarchy of folders and subfolders. Permissions we define on a folder propagate down to child folders and files. Likewise in AD, we control permissions on directory objects, including user accounts, through the hierarchy of OUs and sub-OUs.

So, to give Help desk staff the ability to unlock all user accounts, open the Properties dialog box of the domain's root in the Microsoft Management Console (MMC) Active Directory Users and Computers snap-in and select the Security tab. Click Advanced and add an ACL entry. Select the Properties tab, then in the Apply to drop-down list, select User objects. Find the lockoutTime property and grant Read or Write access as desired. Click OK twice and verify that the new permission entry was added to the ACL. Because you added this entry at the root of the domain, AD will propagate it down to all users in the domain--except to any OUs or user objects that have the Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here option disabled on their Permissions tab. Why might you clear the Inherit from parent... option? To prevent permissions from flowing down to a special set of users. For instance, you wouldn't want to give Help desk staff the ability to reset IT administrator account passwords; therefore, you might uncheck that box for the OU that holds your IT administrators.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Active Directory (AD) Whitepapers Meeting Compliance Objectives in SharePoint

Email Controls and Regulatory Compliance

Solving Desktop Management Challenges in Education

Related Events Troubleshooting Active Directory

Concrete Ways to Make Sure Your SharePoint Deployment Doesn't Blow Up

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Active Directory (AD) eBooks The Essentials Series: Active Directory 2008 Operations

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement