Set a user's password to non-expiring via CMD

article #731, updated 3751 days ago

NET USE does not appear to be able to set a user’s password to non-expiring. However, we do have this:

WMIC USERACCOUNT WHERE "Name='username'" SET PasswordExpires=FALSE

Categories: