How To Delegate the Unlock Account Right (294952)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Datacenter Server SP2

This article was previously published under Q294952

SUMMARY

This article describes the process to delegate the right to unlock locked user accounts to a particular group or user in Active Directory.

MORE INFORMATION

To reveal the Unlock Account (lockoutTime) right for the Delegate Control Wizard:
  1. On the Windows 2000 computer on which you are planning to run the Active Directory Users and Computers console, open the %Systemroot%\System32\Dssec.dat file with Microsoft WordPad.
  2. On the Edit menu, use the find command to locate [user].
  3. Under the user section, find the lockoutTime entry. The entries are listed alphabetically.
  4. Change the value of the lockoutTime entry from lockoutTime=7 to lockoutTime=0.
  5. On the File menu, click Save As. When the formatting warning message is displayed, click OK. The user rights for Read and Write lockoutTime should be selectable in the Delegate Control Wizard.
To delegate the right to a group or user:
  1. Create the group or user account that you want to have the right to unlock user accounts in Active Directory Users and Computers (for example, Help Desk Admins).
  2. Right-click the domain in Active Directory Users and Computers, and then click Delegate Control from the menu that is displayed.
  3. The Delegation of Control Wizard should be displayed. On the Welcome dialog box, click Next.
  4. On the Users and Groups dialog box, click Add. Select the group in the list that you want to give the right to unlock accounts, and then click OK. On the Users and Groups dialog box, click Next.
  5. On the Tasks to Delegate dialog box, click Create a custom task to delegate, and then click Next.
  6. On the Active Directory Object Type dialog box, click Only the following objects in the folder:. In the list, click User objects (the last entry in the list), and then click Next.
  7. On the Permissions dialog box, click to clear the General check box, and then click to select the Property-specific check box. In the Permissions list, click to select the Read lockoutTime check box, click to select the Write lockoutTime check box, and then click Next.
  8. On the Completing the Delegation of Control Wizard dialog box, click Finish.
The steps in this article can delegate the Account Read lockoutTime and Write lockoutTime right to a group or user for a specific domain or organizational unit (OU). Because account policies are domain specific, the account lockout policy itself can only be implemented to an entire domain. Any user or group that has been given permission to read and write the LockoutTime attribute for an OU or other container can unlock user accounts that reside in that container. The user or group that has been given this permission does not have to reside in the container over which they have permission.

This delegation does not affect rights or policies in other domains, even domains in the same forest, or if this domain is the root of a forest.

For additional information about account policies in Windows 2000, click the article number below to view the article in the Microsoft Knowledge Base:

255550 Configuring Account Policies in Active Directory


Modification Type:MinorLast Reviewed:1/27/2006
Keywords:kbhowto KB294952