Windows Vista Forums

Password Expiration in Vista

  1. #1
    Password Expiration in Vista

    Password Expiration in Vista
    How to Enable or Disable Password Expiration in Vista
    Password Expiration in Vista

    How to Enable or Disable Password Expiration in Vista

    information   Information
    Password expiration allows you to set a maximum password age in days (42 by default) of a user account before it expires and they must change their password.

    By default, password expiration is disabled. This will show you how to enable or disable password expiration for a user in Windows 7.
    warning   Warning
    You can only do this while logged in as an administrator.





    METHOD ONE

    Through Local Users and Groups

    NOTE: The Vista Home Basic and Home Premium editions do not have this feature. See METHOD TWO below for how with these editions instead.[
    1. Open the Local Users and Groups manager.

    2. In the left pane, click on Users, then double click on the name of the user account that you want to enable or disable password expiration for. (see screenshot below)
    -lusrmgr-jpg
    3. To Enable Password Expiration for this User Account
    A) Uncheck the password never expires box, then click on OK. (see screenshot below)
    -properties-jpg
    B) Go to step 5.
    4. To Disable Password Expiration for this User Account
    A) Check the password never expires box, then click on OK. (see screenshot above)
    NOTE: If password never expires is grayed out, then this means that this user account as reached it's set maximum password age. You will need to either change the maximum password age to more days so that it has not expired yet, or change the password for the user account.
    5. Repeat steps 2 to 3/4 for any other user account that you want to enable or disable password expiration for.

    6. Close the Local Users and Groups window.






    METHOD TWO

    Through a Elevated Command Prompt

    NOTE: You can do this method in all versions of Vista. This will affect all user accounts on the computer.
    1. Open a elevated command prompt.

    2. To Disable Password Expiration for a User Account
    A) In the elevated command prompt, type the command below and press Enter. (see screenshot below)
    NOTE: Substitute username in the command below with the actual user account name that you want to disable password expiration for.

    Code:
    wmic path Win32_UserAccount where Name='username' set PasswordExpires=false
    FOR EXAMPLE: I would type in this command exactly for a user account name Brink, and press enter.

    Code:
    wmic path Win32_UserAccount where Name='Brink' set PasswordExpires=false
    B) Go to step 4.
    3. To Enable Password Expiration for a User Account
    A) In the elevated command prompt, type the command below and press Enter. (see screenshot below)
    NOTE: Substitute username in the command below with the actual user account name that you want to enable password expiration for.

    Code:
    wmic path Win32_UserAccount where Name='username' set PasswordExpires=true
    FOR EXAMPLE: I would type in this command exactly for a user account name Brink, and press enter.

    Code:
    wmic path Win32_UserAccount where Name='Brink' set PasswordExpires=true
    B) You will now need to change the maximum and minimum password age of this user account for what you would like.
    4. Close the elevated command prompt.
    That's it,
    Shawn



    Published by


    Brink's Avatar
    Administrator

    Join Date: Apr 2007
    Location: Texas, USA
    Posts: 31,362
    Array

    Tutorial Tools


    Applies to

    All Vista Versions
    64 Bit & 32 Bit


  2. #1
    Lord Voldemort's Avatar
    Join Date : Oct 2007
    Riddle Graveyard
    Posts : 1
    XP 64 Bit
    Local Time: 11:38 AM
    uk uk scotland

    Re: Password Expiration in Vista

    Thank's for Sharing..
    That's Nice.

      My System SpecsSystem Spec

  3. #2
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,362
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 10:38 PM
    usa us oklahoma

      Thread Starter

    Re: Password Expiration in Vista

    Your welcome Lord Voldemort,

    Welcome to the forum.

    Shawn

      My System SpecsSystem Spec

  4. #3
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,362
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 10:38 PM
    usa us oklahoma

      Thread Starter

    Re: Password Expiration in Vista

    Updated 12-15-2007 to include METHOD THREE for all versions of Vista.

    Shawn

      My System SpecsSystem Spec

  5. #4


    Join Date : Jun 2008
    Posts : 1
    Ultimate x64
    Local Time: 10:38 PM


     

    Re: Password Expiration in Vista

    Thanks for sharing.

    LL

      My System SpecsSystem Spec

  6. #5
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,362
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 10:38 PM
    usa us oklahoma

      Thread Starter

    Re: Password Expiration in Vista

    Your welcome LL, and welcome to Vista Forums.

    Shawn

      My System SpecsSystem Spec

  7. #6


    Join Date : Aug 2008
    Posts : 1
    Vista Home Premium
    Local Time: 10:38 PM


     

    Re: Password Expiration in Vista

    Brink, this article literally saved my butt big time, I run Vista Home Premium on a Mac inside VMWare Fusion and there's a serious bug that blocks me out of Windows when my password expires, a full reinstall is the only solution, not to mention since it's a virtual machine it's a pain to get inside to get the files from the virtual hard drive.

    Other sites have the usual process with Vista Enterprise or Ultimate, but I only found yours that has a method to disable expiration on all versions, at least I have a workaround, many thanks!!!

      My System SpecsSystem Spec

  8. #7
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,362
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 10:38 PM
    usa us oklahoma

      Thread Starter

    Re: Password Expiration in Vista

    Your welcome d0b3r, and welcome to Vista Forums.

    Shawn

      My System SpecsSystem Spec

  9. #8


    Join Date : Jul 2009
    Posts : 1
    vista Premium 64
    Local Time: 10:38 PM


     

    Re: Password Expiration in Vista

    Thank you. I have an iMac and am in the middle of a big problem trying to get Fusion to install its tools, only to have Vista start popping up reminding me that the password (which I don't remember ever giving) is about to expire--an extra problem I didn't need. Your explanation for how to abort the whole 'expiration' deal is SO CLEAR! Just perfect for what I needed. Thank you so much for taking the time to do that.

    I signed up for this forum just to tell you this.

      My System SpecsSystem Spec

  10. #9
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,362
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 10:38 PM
    usa us oklahoma

      Thread Starter

    Re: Password Expiration in Vista

    You're most welcome, and welcome to Vista Forums.

      My System SpecsSystem Spec

Page 1 of 2 12 LastLast

Password Expiration in Vista
Similar Threads
Tutorial Category
Resetting Vista Password Expiration Fails Vista security
Vista Home Premium password expiration Vista security
Password expiration in Vista Home Premium Vista security
how do i change the password expiration policy on Vista home premi Vista account administration
Password expiration Vista General