Disable account expiry in windows 10

PHOTO EMBED

Thu Sep 19 2024 11:35:26 GMT+0000 (Coordinated Universal Time)

Saved by @Curable1600 #windows

#elevated command prompt, all accounts
wmic UserAccount set PasswordExpires=False

#elevated command prompt, particular accounts
wmic UserAccount where Name="user name" set PasswordExpires=False
#Substitute user name in the command above with the actual user name of the local account.
content_copyCOPY