Sign in with
Sign up | Sign in

Commandline set User Password to never expire

Last response: in Windows XP
Share

Hi, I was wondering if anyone knew a command to set local user's account's password to never expire.

This can be easily done through GUI by using a check-box, but that is not easy to script (have to use autokey and stuff...).

"net user" seems to allow the account to never expire, but I don't see an option to have the password set to never expire.

Thanks,
RMSe17
Ask the community
!