Your password has expired and must be changedUser password must be changed before signing in In normal circumstances, it’s absolutely fine for Windows to remind you of password change after every specific no. 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 about: If you are using Windows 10 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.
Password never expire for a specific user
Just follow the steps below to set a specific user account passwords to never expire:
Password never expire 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 in Windows.
Configure password expiration using command-line
If you are comfortable with command-line or want to do this remotely, you can use Windows commands for enabling and disabling the above mentioned policies.
Password never expire for a specific user using command-line
Open command-prompt with administrative privileges and run the following command sequence:
Get the name of users currently active on the system using this command: net accountsRun the following command:wmic useraccount where “Name=’itechticsuser’” set PasswordExpires=falseReplace ‘itechticsuser’ with the name of user you want to configure.using wmic command to change password settings of a specific user
Password never expire for all users using command-line
Open command-prompt with administrative privileges and run the following command: using wmic command to change password settings of a specific user
net accounts /maxpwage:unlimited
Configure password expiration using PowerShell
You can achieve the same results using PowerShell
Password never expire for a specific user using PowerShell
Also see: Password never expire for a specific user using PowerShell
How To Login As Administrator In Windows 104 Ways To Disable User Account In Windows 11Enable, Disable Or Delete Built-In Administrator Account In Windows 102 ways to reset Local Group Policy in Windows 10How to Enable Local User and Group Management (lusrmgr.msc) Console in Windows 10 Home