How to configure Password Expiration in Windows 11/10

In my continuing series of Microsoft can eat a bag of Dicks, here is how to disable required password changes due to expiration.

For disabling password expiration, execute this in a elevated command prompt:

wmic UserAccount where Name=”username” set PasswordExpires=False

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>