How to Disable Password Expiration for a Local Account
Set a Windows account password to never expire.
Step-by-step
- Press Win+R, type compmgmt.msc and press Enter
- Go to Local Users and Groups > Users
- Right-click the account > Properties > tick 'Password never expires'
- Click OK; the account will no longer be forced to change its password
Reference: learn.microsoft.com