>NULL: Set Windows user not to expire via CMD

Wednesday, 28 January 2026

Set Windows user not to expire via CMD

 To set a local Windows user password not to expire use the following.

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


No comments:

Post a Comment