Question

How to Set a Password Expiration Date in Windows 10?

Hello, Please let me know how to Set a Password Expiration Date in Windows 10. I tried many times. If you have any solution to this then give me a suggestion.

Tom Bruce 1   Ans 4 months ago
Answer - 1
Answer Link

Set a Password Expiration Date in Windows 10 for your Microsoft account

If you are using windows 10 then the Microsoft will tell you to use a linked Microsoft account in order to sign in instead of your local account.

  • You can set a Password Expiration Date in Windows 10 online.
  • You will then be triggered to change your Microsoft account password in every 72 days.
  • But before you enable or disable this setting, you need to set a new password.
  • To do the above, go to “Microsoft account security area” and then sign in.
  • On the top of the screen, click on “change”under “change password” option.

  • As soon as you will be prompted to provide your existing as well new password, enter your new secure password (should be the same as the old one).

  • Click on the box next to “make me change my password every 72 days” to enable the feature in order to set a password expiration date.
  • Lastly click on “save” to confirm your new password and its expiration date.

Now the changes you have made have been completed and confirmed, then you are redirected back into Microsoft account security page. Try checking your new password by signing in and out of your Microsoft account.

Set a Password Expiration Date in Windows 10 for your Local Account

  • You can still set a password expiration date if you use a local account on your system rather than a Microsoft account.
  • Primarily, you need to disable the setting which prevents your password from expiring.
  • In order to proceed, click on Windows + R keys to open the “Run” launch box.
  • Enter netplwiz, and then click on OK in order to open your user account settings.

  • Click on “Advanced” to open the “Advanced user management” tool under the advanced tab.

  • On the left side of the page, click on “Users” from the menu and then right click on your user account.

  • In order to enter the advanced user settings for your local user account, click on “Properties”.
  • Under the “Properties” menu, uncheck the “password never expires” tab and after that click on OK to confirm.

Set the Maximum Password Age using the Local Group Policy Editor

  • You are required to set the maximum password age of your password.
  • However, you can set the password for your local account to expire according to your choice of time period contrary to your Microsoft account.
  • Although the default maximum password age on windows 10 is 42 days. In case the default is limit is ok for you then you can continue using your system without making changes.
  • After a span of 42 days, you will automatically be prompted to change your password.
  • In case you are using windows 10 pro, enterprise or education, click on windows + R to open “run” launch box.
  • Enter gpedit.msc, and then click on “OK” in order to open the Local Group Policy Editor.

  • And in case you are using Windows 10, then follow the below instructions.
  • Under the menu on the left side of the page, go to Computer Configuration>Windows Settings>Security Settings>Account Policies>Password Policy.

  • Then double-click on “Maximum Password Age.”
  • Now change the figure from “42” to your preferred limit and then click on OK to confirm the setting.

Set the Maximum Password Age using the Windows PowerShell

PowerShell is an alternative to Local Group Policy Editor in order to set the maximum password age limit in case you are using Windows 10, Windows 10 pro, enterprise or Education.

  • Right click on the start menu and click on ‘Windows PowerShell (admin)’ or on “Command Prompt (admin)” whatever displays on your screen.

  • Inside PowerShell, enter net accounts to search the existing password age for the account.
  • Enter net accounts /maxpwage: 00 and replace “00” with your choice of figure in order to change the default figure of 42 days.

  • Click on save to confirm your password age limit.

We hope the above guide helped you to set a Password Expiration Date in Windows 10 along with the Maximum Password Age using the Windows PowerShell and Local Group Policy Editor.

Ron Wagner 06 June 2021