In normal circumstances, it’s absolutely fine for Windows to remind you of password change after every specific number of days. But in some conditions, this practice should be disabled. A couple of scenarios could include the following: In this tutorial, we will share three ways to set Windows local user account passwords to never expire. We will discuss: If you are using Windows Home edition, you can enable Group Policy Editor for Windows 10 Home Edition.
Configure Password Expiration using User Management
Windows makes it easier for us to manage local users of the system with Management Consoles.
Configure Password Expiration using User Management Password Never Expires for a Specific User Password Never Expires for All Users Configure Password Expiration using Command Prompt Password Never Expires for a Specific User using Command Prompt Password Never Expires for All Users using Command Prompt Configure Password Expiration using PowerShell Password Never Expires for a Specific User using PowerShell Closing Words
Password Never Expires for a Specific User
Follow the steps below to set specific user account passwords to never expire:
Password Never Expires for All Users
If you want that the password for all users in your system should never expire, follow the instructions below: Setting the maximum password age to zero will disable the password expiration feature for all users in Windows.
Configure Password Expiration using Command Prompt
If you are comfortable with the command line or want to do this remotely, you can use Windows commands for enabling and disabling the above-mentioned policies.
Password Never Expires for a Specific User using Command Prompt
Perform the following steps to configure a user account’s password to never expire:
Password Never Expires for All Users using Command Prompt
Perform the following steps to configure all user account passwords to never expire using Command Prompt:
Configure Password Expiration using PowerShell
You can achieve the same results using PowerShell.
Password Never Expires for a Specific User using PowerShell
Closing Words
Of course, your password should expire from time to time so you can change it, making your system more secure by not having the same password for decades. However, it also has its downsides, which we have discussed earlier in the post. If your password expires while you are away, you will no longer be able to log into your system remotely. Moreover, if you are a system administrator, then you won’t be able to log back into your account without resetting your password.