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:
- Navigate to the Security menu of Microsoft Account.
- Tap on the Change my password link below the Password security option.
- Insert the previous password and then type the new one twice.
- 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:
- Insert the lusrmgr.msc in the Run box and then click the Enter.
- It will launch the Groups Editor and Local Users.
- Find the user for which you need to change password expiry below the Users folder.
- Tap twice to launch the user properties option.
- Untick the box that asks Password never expires.
- 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:
- Launch the Group Policy Editor by inserting gpedit.msc in Run box and then click the Enter button.
- Go to the Computer Configuration option.
- Select the Windows Settings option.
- Tap on Security Settings.
- Choose the Security Settings option.
- Hit Account Policies.
- Tap on the Password Policy, and press the Maximum Password age option.
- 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 mcafee.com/activate.