Set users password to not expire

WMIC USERACCOUNT WHERE Name='<username>’ SET PasswordExpires=FALSE

Leave a Reply