Password never expires Vista Basic

D

Dennis

Is there a way to set the "User" accounts to password never expires and
cannot change password?
 
D

Dennis

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
 
R

Ronnie Vernon MVP

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.
 
D

Dennis

Ronnie,

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

Thanks again,

Dennis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top