Password never expires Vista Basic

  • Thread starter Thread starter Dennis
  • Start date Start date
D

Dennis

Is there a way to set the "User" accounts to password never expires and
cannot change password?
 
I believe I found a solution that works for Vista Basic.

This link is the source: http://support.microsoft.com/kb/251394
Although the article does not pertain to Vista versions I have implamented
the following:

To set user cannot change password:
net users "username" /passwordchg : no
To set user account to not expire:
net users "username" / expires: never

I hope this helps someone.
Dennis
 
Dennis

You set the 'username' account to never expire, but this does not effect the
password. To set the password to never expire, you need to use the following
command.

net accounts /maxpwage:unlimited

You need to run this from an elevated command prompt.
 
Back
Top