Hi I hope you are well.
I need to be able to disable password expiry in windows 10 for newly created users (not on a domain, just local pc stuff)
I already run the following after I have finished the initial setup
wmic UserAccount set PasswordExpires=False
which turns off expiry for all existing accounts, but if someone subsequently makes a new account, it has the password expiry set on it.
I would like some reg key to stop that from happening. I guess I could set the script to run on creation of new user, but I'd rather there was some kind of machine wide "dont enforce password expiry for any user"