LKBEN11670: How to change the maximum password age with the local security policy.


Symptom

You need to set the maximum password to a different value.

Cause

The default value of 42 is too low.

Solution

Open a cmd as administrator and open the local security policy editor.

secpol.msc

On an english systen, navigate to Account Policies -> Password Policy. Here you will find the following settings:

  • Enforce password history
  • Maximum password age
  • Minimum password age
  • Mimimum password legth
  • Password must meet complexity requirements
  • Store passwords using reversible encryption

Here a screenshot from a german system:

To change the maximum password age you edit the value.

Have fun.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.

Latest update: 21.06.2023