Avatar of 247computerdoctor
247computerdoctor
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

turn off password expiry on newly created user accounts

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"
Windows 10Windows OSPC

Avatar of undefined
Last Comment
247computerdoctor

8/22/2022 - Mon