william-r
1/21/2019 - 9:40 PM

Set password not never expire Windows Server 2012

This applies to the Administrator account. For other users, replace the word Administrator Open cmd and type the following:

net user administrator | findstr /C:expires
WMIC USERACCOUNT WHERE Name='administrator' SET PasswordExpires=FALSE