How to Set a Password Expiration Date in Windows 10

To ensure your cybersecurity, we recommend changing your computer’s password from time to time. Windows 10 makes it easy for you because you can set a password expiration date. This content Put together by our team will guide you to learn how to set a password expiration date in windows 10 and other windows as a professional.

The steps to do this vary depending on whether you are using a local or Microsoft account to log on to your Windows PC. Therefore, we follow the process for both.

How to Set password date of expiration for windows 10 –  Microsoft Account

In Windows 10, you may have noticed that Microsoft wants you to use a linked Microsoft account to sign in instead of a local account.

You can set the password date of expiration for windows 10 on Microsoft account online. You will then be asked to reset your password every 72 days. You must set a new password before you can enable (or disable) this setting.

To do this, switch to the security area of ​​the Microsoft account and log in. Select “Change” just at the top of your “Change Password” area as displayed.

Set a Password Expiration Date in Windows

You will be asked to enter your current and new password (you cannot reuse the existing password, so enter a new secure password).

Since it is your will to set an expiration date for your password, select the box next to the “Change password every 72 days” this will enable this feature.

Select “Save” to activate your expiration date and new password.Set a Password Expiration Date in Windows

If the change was successful, you will be directed to the security page of your Microsoft account. Sign in and out of Windows to use your new password.

Your Microsoft account password will expire after 72 days and you will be asked to change it the next time you sign in.

Set your local account’s new password expiration date

If you use a local account on your PC instead of a Microsoft account, you can set an expiry date for your password at any time.

Activate password expiration

First of all, you have to deactivate a setting that prevents your password from expiring.

To do this, press the Windows + R keys to open the “Run” start field. Enter netplwiz and click “OK” to open the settings for your user account.Activate password expiration

On the “Advanced” tab, select “Advanced” to be able to open the tool for “Advanced User Management” Microsoft-User-Account-Settings

Click here on “User” in the left menu and then right-click on your user account. Click “Properties” to enter advanced user settings for your local user account.xWindows-Advanced-User-Settings

In the “Properties” menu, deactivate the option “The password never expires” and click “OK”.Windows-Password-Settings

Use the local Group Policy Editor to set the maximum password age

You must now set the maximum password age for your password. Unlike a Microsoft account, you can set the password so that your local account expires at any time.

The default value in Windows 10 is 42 days. If you want to keep it this length, you can continue to use your PC as usual. When it is time to reset your password, you will be asked to change it.

If you are running Windows 10 Pro, Education, or Enterprise on your computer, press Windows + R to open the Run Start panel. Enter gpedit.msc here and click “OK” to open the Local Group Policy Editor.

(If your computer is running Windows 10 Home, follow the instructions in the next section.)xWindows-Run

On the left menu, go to Computer Configuration> Windows Settings> Security Settings> Account Policies> Password Policy and double-click “Maximum Password Life”.Windows-Group-Editor-Password-Expiry

Change the value of “42” to your preferred duration of days and then click “OK” to save the settings.

Set a Password Expiration Date in Windows

The expiration date of the local accounts on your PC is now set to your preferred length. After this period, Windows will ask you to reset your password.

Set the maximum password age through Windows PowerShell

If your computer is running Windows 10 Home, you need to use PowerShell or Command Prompt to set the maximum password age. You can also use it as an alternative to the Local Group Policy Editor in Windows 10 Pro, Enterprise and Education.

To start, right-click the Start menu, and then click Windows PowerShell (Administrator) or Command Prompt (Administrator), depending on your version of Windows.Set a Password Expiration Date in Windows

In the PowerShell window, enter network accounts to determine the maximum age of the existing password for your accounts.

If you want to change the default number of 42 days, enter net accounts / maxpwage: 00 and replace “00” with the period (in days) you want to use.

Set a Password Expiration Date in Windows

The maximum age of the password you selected applies to all local accounts on your PC.

Leave a Comment