How to Set Password Expiration Date for Local Microsoft Account

We all have this habit of using a similar password for a long time, but it is unsafe, mostly when it is used in more than one place. It is probable that in security infringe; the password can be open for all. There are different ways to set the expiry date for passwords for local Microsoft accounts. If you are using the account of Microsoft in Windows 10, then it becomes more serious that you need to change it repeatedly. When you set the expiry date of the password, you can select from the Windows that offers for the local account or set via net command. Read the blog and follow the instructions to set the Password expiration date for the local and Microsoft accounts.

How to Set the Expiration Date for Microsoft Account

If you wish to set the expiration date for Microsoft account, then pursue the given instructions:

  1. Navigate to the Security menu of Microsoft Account.
  2. Tap on the Change my password link below the Password security option.
  3. Insert the previous password and then type the new one twice.
  4. Checkbox, which asks Make me change the password after every 72 days.

The demerit of this process is that you have to change the old password with the one you have not repeated for not more than 3 times in the past. You must know that it is dissimilar from the Windows Hello or the PIN that you use on the Windows 10 PC.

How to Set Expiry Date of Password for Local Account

As it is probable to make the account without the password in Windows 10, but it will surely not a great idea. If you are an admin user of the PC, ensure that every user modifies their passwords repeatedly. There are 2 different ways of it, and this will influence users to modify their new passwords. This is set as default for 42 days.

Via User Accounts Interface

If you want to User Accounts interface, then abide by the given steps:

  1. Insert the lusrmgr.msc in the Run box and then click the Enter.
  2. It will launch the Groups Editor and Local Users.
  3. Find the user for which you need to change password expiry below the Users folder.
  4. Tap twice to launch the user properties option.
  5. Untick the box that asks Password never expires.
  6. Tap on the OK option to finish the procedure.

There is the well known WMIC command, but it shows as it is not working on Windows 10 if the users use the command without the ‘where the name’ then it will set the expiry date of the password for every account with the system account.

Command-Line Option to Set the Expiry Date

When it is completed, then if you need to set the exact expiry date, you have to use the “Net accounts” command.

Launch the PowerShell with the Admin Privileges and perform net command accounts. If you need to set any specific expiry date, then you want to analyze numbers in days. If you have set the date on 30, then you have to modify the password every month. If you want to influence anyone to change your password quickly, then you can use the maxpwage:1.

Via Group Policy to Change the Expiry Dates of Password

If you want to change the expiry dates of password via Group Policy, then you can follow the provided steps:

  1. Launch the Group Policy Editor by inserting gpedit.msc in Run box and then click the Enter button.
  2. Go to the Computer Configuration option.
  3. Select the Windows Settings option.
  4. Tap on Security Settings.
  5. Choose the Security Settings option.
  6. Hit Account Policies.
  7. Tap on the Password Policy, and press the Maximum Password age option.
  8. Here you may change from 42 to any date you want. The limit is in between 1-999.

Ava Williams is a McAfee product expert and has been working in the technology industry since 2002. As a technical expert, Ava has written technical blogs, manuals, white papers, and reviews for many websites such as

Leave a Reply

Disclaimer: is an independent technical support service provider for McAfee products. We are a independent support specialist organization for software related issues in portable PCs, desktops, gadgets and peripherals. Utilization Of McAfee Name, logo, trademarks and its images is just for reference and not the slightest bit propose that has any business relationship with McAfee. McAfee trademarks, names, logo and images are the property of their separate proprietors. We holds no affiliation or association with any of these brands or outsider organizations and exclusively offer help benefit for the item issues confronted by clients. On the off chance that your product is under warranty, you may get free support service from the brand proprietors.