Windows 7 - Password never expires Vista Basic

Asked By Dennis on 02-Sep-07 12:12 AM
Is there a way to set the "User" accounts to password never expires and
cannot change password?




Dennis replied on 02-Sep-07 01:04 PM
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
Ronnie Vernon MVP replied on 03-Sep-07 03:14 AM
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.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User
Dennis replied on 03-Sep-07 05:29 PM
Ronnie,

Thanks for the advice. I will add that one as well.

Thanks again,

Dennis
Ronnie Vernon MVP replied on 03-Sep-07 09:00 PM
Dennis

Your welcome. Enjoy.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User