troubleshooting Question

turn off password expiry on newly created user accounts

Avatar of 247computerdoctor
247computerdoctorFlag for United Kingdom of Great Britain and Northern Ireland asked on
Windows 10Windows OSPC
13 Comments1 Solution27 ViewsLast Modified:
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"

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros