Most of us do not have the habit of changing our passwords often, despite being strongly recommended by security experts, but people only change passwords when you have forgotten them, and use the Forgot Password feature. in return.
However, to ensure security, you should periodically change your password every few months. And passwords on Windows 10 operating systems, Windows 11.. are no exception.
Well, to help you remember to change your password periodically, in this article I will share with you how to set an expiration date for your password to log into Windows computers, it will automatically prompt you to change your password. password after a certain amount of time!
I. Set the expiration date of the login password on Windows
#first. Set password validity period on Microsoft Account
Since Windows 10 version onwards, Microsoft has allowed users to log in to the computer with their password Microsoft account that you used to link to the computer.
And Microsoft also allows you to set the validity period for that account’s password, but of course you have to change the new password for the Microsoft account used to log in to Windows to activate that feature!
Open a new tab on your web browser, access the Microsoft account management page (https://account.microsoft.com/) and log in, remember to log in to the Microsoft account that you are using to link to Windows.
After logging in, you will have an account management page with the interface as shown below, under the profile picture, click
More options => and choose
Change password to change the password.
Change Your Passwordyou will be asked to provide your old password, and enter a new password, repeating the new password in the 3 corresponding blank boxes.
Note that you should not use old passwords that you have set before (Microsoft will remind you of this) and you should set a slightly secure password (lowercase, uppercase, numbers and special characters) .
Also don’t forget to tick the box
Make me change my password every 72 days - Yêu cầu tôi đổi mật khẩu sau 72 ngàythis is the key point of this, guys, forget the mark and you’re done.
=> Then click the button
Save to complete the password change.
After changing the password, you will be redirected back to the Microsoft account management page, log out and log back in with the new password to check again.
After 72 days of use, this password will expire and Microsoft will send you a notice asking to change your password.
And if you don’t change it, I don’t know what will happen anymore :)), maybe this is just a reminder, the password is still used normally as if nothing happened ^^
#2. Set validity period for Local Account password on Windows
By default, the local account that you create when installing the operating system will have a password that can be used indefinitely, unless you delete this account only. Of course, with Local Account, you can still set a deadline, so I will include it in this article
However, first we need to enable the expired password feature, or in other words, deactivate the password indefinitely for the local account on Windows.
2.1. How to deactivate the Windows password feature indefinitely
Open Windows Run window by using the key combination
Windows + R => and enter
netplwiz => then press
OK to open settings
At the window
User Accountsswitch to tab
Advanced => then you continue to press the . button
Advanced in section
Advanced User Management to open advanced user management.
Users in the left sidebar => then right-click your account name in the right box. Choose
Properties to open advanced settings for the selected account.
Properties your account, look in the tab
General and untick the line
Password never expires then press
OK done. Now that you’ve turned off the password’s never-expiring feature, you can comfortably set your password’s expiration date.
2.2. Set login deadlines for local accounts
After you have removed the password feature of the local account indefinitely, you continue as follows:
Unlike the Microsoft account (which only has the option to remind after 72 days), the local account allows you to freely specify the number of days to expire this password.
By default, after you remove the feature indefinitely above, the account will have a term of 42 days. If you feel that’s enough, you can keep it and use Windows as usual.
And if you want to fix this time, please open
Local Group Policy Editor by entering the command RUN dialog box
gpedits.msc => then press
You navigate to the folder
Password Policy follow the link below:
Computer Configuration > Windows Settings > Security Settings > Account Policies > Password Policy.
Find in the box to the right a Policy named
Maximum Password Agedouble-click on this Policy to edit the validity period of the password.
In addition, here you can also set up some other items such as password length requirements, password complexity… to increase account security.
At the window
Maximum Password age Propertiestab
Local Security Settings Enter the number of days that you want the password to expire.
For example, if I want to change my password every 30 days, I will enter 30 => then press
OK done. From now on, after each of those days that you set, this password will expire and you will be asked by Windows to change a password.
So I just finished the tutorial for you How to set expiration date for login password on Windowss 10 and Windows 11 already. In other words, this is how to set the expiration date for Windows login passwords.
You can apply to make your computer more secure!
Hopefully, through this article, you will be more interested in security issues, change your password periodically to avoid password disclosure and unfortunate data loss. If you find this article interesting, don’t forget to share it with others. Good luck !
CTV: Nguyen Thanh Tung – Blogchiasekienthuc.com
Note: Was this article helpful to you? Don’t forget to rate the article, like and share it with your friends and family!