How to turn off password expiration in Windows 11?

!If you encountered the message Your password has expired and must be changed when logging into Windows 11, and you are tired of changing the password on your personal computer every time, then this article is for you.

To turn off password expiration in Windows 11, just follow the next steps:

  1. At first, you will need to change your password for the last time by entering and confirming it in the appropriate screen.

    Then log in to the system with the new password.

  2. In the command line, launched with administrator rights, run the command net accounts.

    As a result of its execution, we will see the maximum password age in days.

  3. If this parameter is different from 0, you need to cancel the established restrictions.

    To do this, in the same command line, launched with administrator rights, run the command net accounts /maxpwage:unlimited.

  4. If the command is successful, the maximum password age will be set to 0, so it will disable password expiration messages in the future.
Don't hesitate to contact us if you have any questions!

  Ask Question

Read More

Got Something To Say?

Your email address will not be published.