Updated: August 24, 2007
Managing Password Settings objects (PSOs) includes the following tasks:
You must have Write permissions on the PSO object to perform any of the tasks above.
You can delete a PSO:
Active Directory Service Interfaces Editor (ADSI Edit) provides a view of every object and attribute in an Active Directory Domain Services (AD DS) forest. You can use ADSI Edit to query, view, and edit AD DS objects and attributes.
Membership in Domain Admins, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at http://go.microsoft.com/fwlink/?LinkId=83477.
Click Start, click Run, type adsiedit.msc, and then click OK.
Double-click the domain that contains the PSO that you want to delete.
Double-click DC=<domain_name>.
Double-click CN=System.
Double-click CN=Password Settings.
Right-click the PSO that you want to delete, and then click Delete.
You can use ldifde as a scriptable alternative for deleting PSOs.
LDAP Data Interchange Format (LDIF) is a proposed Internet standard for a file format that you can use for performing batch operations against directories that conform to Lightweight Directory Access Protocol (LDAP) standards. You can use LDIF to export and import data. LDIF performs batch operations such as add, create, and modify against AD DS. When you install the AD DS role, a utility program called LDIFDE is included to support batch operations that are based on the LDIF file format standard. For more information, see Using LDIFDE to import and export directory objects to Active Directory (http://go.microsoft.com/fwlink/?LinkId=87487).
Specify which PSO you want to delete by saving the following sample code in a file, for example, delete-a-pso.ldf:
dn: CN=PSO1, CN=Password Settings Container,CN=System,DC=dc1,DC=contoso,DC=com changetype: delete
Open a command prompt. To open a command prompt, click Start, click Run, type cmd, and then click OK.
Type the following command, and then press ENTER:
ldifde –i –f delete-a-pso.ldf
ldifde
Specifies a utility program that supports batch operations that are based on the LDIF file standard.
-i
Specifies that Import Mode is turned on.
-f delete-a-pso.ldf
Specifies the name of the input file that you created.
Open Active Directory Users and Computers. To open Active Directory Users and Computers, click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
On the View menu, ensure that Advanced Features is checked.
In the console tree, click Password Settings Container.
Where?
In the details pane, right-click the PSO, and then click Properties.
Click the Attribute Editor tab.
Select the attribute whose setting you want to view or edit, and then click View (for editable values) or Edit (for read-only values).
Select the msDS-PasswordSettingsPrecedence attribute, and then click Edit.
In the IntegerAttribute Editor dialog box, enter the new value for the PSO Precedence, and then click OK.