I changed the minimum password length in the default domain policy from 14 to 15. It initially shows 15, but after an hour or two it's back to 14. The setting to allow longer minimums is enabled, and this is the only GPO with password settings. What should I check?
Why does my domain password length setting keep reverting?
Answers
Start by comparing the policy on each domain controller, rather than checking it repeatedly through the same connection. Run Get-ADDefaultDomainPasswordPolicy -Server DCName and select MinPasswordLength for each DC. Also check repadmin /showrepl for replication errors.
The default domain password policy value and the value displayed in the GPO are related, but checking both can help narrow down where the mismatch is. Note which DC you connect to when the GPO shows 15 and when it shows 14.
Reply to this answer
Check the GPO's last modified time in Group Policy Management before and after it flips. Then compare the modification times of its files in SYSVOL across the domain controllers. That may help distinguish a fresh edit from an older copy being replicated back, though timestamps alone won't prove which happened.
If it looks like a new edit, investigate whether an administrative process or scheduled task is changing the policy.
Reply to this answer
Are there fine-grained password policies, also called Password Settings Objects, applied to any users or groups? Those can affect the password policy a user receives independently of the default domain policy.
They shouldn't rewrite the minimum length shown in the default domain GPO, though. So they're worth checking for effective policy differences, but they don't by themselves explain the GPO setting reverting.
Reply to this answer
Add your answer
Answers are reviewed before publication.
r.572~zunquari:
Replication can look healthy at a glance while one controller is behind, so the per-DC comparison is useful even if there are no obvious errors.