Start Command prompt

- Click on your Windows icon (Start button)

- Type 'cmd'
- Right click on cmd (app) to show options menu
- Left click on 'run as administrator' to execute options

- Left click on 'yes' to allow 'Windows Command Processor' to make changes to your device
This will start the command prompt terminal window

- Type 'wmic path Win32_UserAccount set PasswordExpires=False'
- Press enter
- The above command disables the password expiry of your all your local user accounts

- Type 'exit'
- Press enter
- This will exit the command prompt terminal

Other options:

- For individual accounts:
wmic UserAccount where Name='%username%' set PasswordExpires=False