net accounts /maxpwage:unlimited
net user %username% [new password]
That first command sets all users’ passwords to never expire.
The second can be used to change the user’s password
net accounts /maxpwage:unlimited
net user %username% [new password]
That first command sets all users’ passwords to never expire.
The second can be used to change the user’s password