Hi HugoClark,
Thanks for getting back. Here are some more methods on how you can set a local account password to never expire.
Password never expire for a specific user using PowerShell (Admin):
- Press Windows Key + X + A keyboard shortcut sequence to open PowerShell with administrative privileges.
- Run the following command:
Set-LocalUser -Name “youruseraccount” -PasswordNeverExpires 1
Password never expire for a specific user using Command Prompt (Admin)
- Press windows key + S, search for cmd
- Run command prompt as administrator
- Run this command: wmic useraccount where “Name=’youuseraccount'” set PasswordExpires=false
Reference doc:
https://www.itechtics.com/set-windows-local-use...
_____________________________________________________________
Standard Disclaimer: These are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products often classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it. We strongly suggest not to install or purchase anything from the link.