If the password has been changed within that threshold, even by an administrator, Windows/AD will not allow you to change it gracefully (i.e.: using the normal change password processes) again within that time period. This is most commonly set in the Default Domain and/or Default Domain Controller Policies. If this is set to anything above zero, this could be your problem. Go to Account Policies -> Password Policy, ensure the Maximum password age is set to 0, meaning that passwords never expire.Ĭheck to see if you have a Policy that sets the "Minimum Password Age'.Ĭomputer > Windows Setings > Security Settings > Accounts Policies > Password Policy > Minimum Password Age.
Type secpol.msc and press Enter to open the Local Security Policy Editor. Press the WIN + R keys to open the Run command box. Set Password to Never Expire for All Accounts Using Group Policy Set-LocalUser -Name "pcunlocker" -PasswordNeverExpires 1 You can use the Set-LocalUser cmdlet to modify a local user account and set its password to never expire: Set Windows Password to Never Expire Using PowerShell Wmic useraccount where "Name='pcunlocker'" set PasswordExpires=false Replace “pcunlocker” with the name of your local account: The software is compatible with all versions of Windows from NT to. Type the following command and press Enter. PCUnlocker is a convenient utility that severs to reset user passwords on Windows computers. Open the Command Prompt as Administrator. Set Windows Password to Never Expire from Command Line