Password never expires Vista Basic

Discussion in 'Windows Vista Administration' started by Dennis, Sep 2, 2007.

  1. Dennis

    Dennis Guest

    Is there a way to set the "User" accounts to password never expires and
    cannot change password?
    Dennis, Sep 2, 2007
    1. Advertisements

  2. Dennis

    Dennis Guest

    I believe I found a solution that works for Vista Basic.

    This link is the source:
    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, Sep 2, 2007
    1. Advertisements

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

    net accounts /maxpwage:unlimited

    You need to run this from an elevated command prompt.
    Ronnie Vernon MVP, Sep 3, 2007
  4. Dennis

    Dennis Guest


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

    Thanks again,

    Dennis, Sep 3, 2007
  5. Dennis

    Your welcome. Enjoy.
    Ronnie Vernon MVP, Sep 4, 2007
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.