When writing books I typically find myself needing to use Windows servers in various forms. However, I don’t need the password to expire. I always forget how to disable that, erm, feature. So here it is. Nothing groundbreaking here, just me writing it down so I can find it later.
For local password expiration:
Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> Password Policy | Maximum Password Age
For domain password expiration:
Group Policy tab is missing in Active Directory Users and Computers (ADUC) so I went about it like this (there’s probably a different way):
Open “Group Policy Management” from the Tools menu in Windows Server 2012.
Click on Default Domain Policy within the domain that you’re working on. Ignore the warning, if it comes up. Click on the Settings tab. Drill down through Policies -> Windows Settings -> Security Settings -> Account Policies/Password Policy. Right-click Maximum password age. This will open Group Policy Management Editor.
Within Group Policy Management Editor: Policies -> Windows Settings -> Security Settings -> Account Policies -> Password Policy.
Possibly run gpupdate /force on clients.
Watch out that this doesn’t apply for domains: