Domain and Local Policies
Netwrix Password Policy Enforcer V7.5 and later can enforce password policies for both domain and local user accounts.
Domain user accounts exist in Active Directory. Information about these accounts is kept on the domain controllers, and changes to the accounts are replicated amongst the domain controllers.
Local user accounts exist in the SAM database of workstations and servers. The workstations and servers may be standalone, or domain members. Information about these accounts is only kept on the host computer, and does not replicate to any other computers.
A typical Windows network has both domain and local user accounts, but you may not want to enforce Password Policy Enforcer password policies for both account types. If your users normally logon with a domain account, then you will most likely only use Password Policy Enforcer to enforce password policies for the domain accounts.
Installation Differences
To enforce password policies for domain user accounts, you should install Password Policy Enforcer onto all the domain controllers in the domain. If you have read-only domain controllers and aren't using the Maximum Age Rule, Password Policy Client, or other software (such as Netwrix Password Reset) that uses the Password Policy Enforcer Client protocol, then you do not need to install Password Policy Enforcer on the read-only domain controllers.
To enforce password policies for local user accounts, you should install Password Policy Enforcer onto the computers containing the user accounts you wish to enforce password policies for. These computers may be workstations or servers, and they may be standalone or domain members. It is normally not necessary to install Password Policy Enforcer onto all the workstations and servers in a domain because most users in a domain logon with a domain account. If this is the case, then you will most likely only need to install Password Policy Enforcer on the domain controllers.
Operational Differences
Most of Password Policy Enforcer's rules and features can be used with both domain and local policies, but there are some differences. When enforcing the password policy for domain accounts, Password Policy Enforcer queries Active Directory to get information about the accounts.
While it is theoretically possible to get most of this information from the SAM database for local accounts, there is a technical limitation which stops password filters from querying the SAM. There is also some information, such as the user's OU, which does not exist in the SAM. Because of these limitations, the following rules and features cannot be used with local password policies:
- The Minimum Age and Maximum Age rules (you can use the Windows version of these rules with Password Policy Enforcer). See the Rules topic for additional information.
- Policy assignments by groups and containers. See the Assigning Policies to Users topic for additional information.
Password Policy Enforcer's configuration is stored in Active Directory for domain password policies,
and in the Windows registry for local password policies. The Connect To page in the Password Policy
Enforcer management console allows you to choose a configuration source. See the
Connecting to a Configuration
topic for additional information. Changes you make to Password Policy Enforcer's domain
configuration are replicated to all domain controllers in the domain. Changes to a local
configuration are applied only to the local computer. If you want to use the same local
configuration for many computers, export the HKLM\SOFTWARE\ANIXIS\Password Policy Enforcer 9.0
registry key from the configured computer, and import it into the other computers.
You can also use Group Policy to distribute Password Policy Enforcer's local configuration to many computers in a domain. This is only necessary for local password policies. Domain password policies automatically replicate to the domain controllers because they are stored in Active Directory.
To distribute Password Policy Enforcer's local configuration with Group Policy:
Step 1 – Start the Group Policy Management Console (gpmc.msc).
Step 2 – Expand the forest and domain items in the left pane.
Step 3 – Right-click the Group Policy object that you would like to use to distribute the configuration, and then click Edit...
Step 4 – Expand the Computer Configuration, Preferences, and Windows Settings items in the left pane.
Step 5 – Right-click the Registry item, and then select New > Registry Wizard.
Step 6 – Select the computer that contains the Password Policy Enforcer local configuration that you want to distribute, and then click Next.
Step 7 – Expand the HKEY_LOCAL_MACHINE, SOFTWARE, and ANIXIS items.
Step 8 – Click the Password Policy Enforcer 9.0 item, and then select the check boxes beside each item in the bottom pane of the window.
Step 9 – Click Finish.
Step 10 – Close the Group Policy Management Editor.
Password Policy Enforcer's local configuration is applied to the target computers in the domain.
This does not happen immediately, as Windows takes some time to apply the changes to Group Policy.
You can force an immediate refresh of Group Policy on the local computer with this command:
gpupdate /target:computer