Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Password Expiration in Vista

Comment
 

Password Expiration in Vista

How to Change or Stop Password Expiration in Vista
Published by Brink
10-01-2007

How to Change or Stop Password Expiration in Vista
Information
  This normally only applies to the Vista Business and Vista Ultimate versions. By default, Vista is set up with passwords which will expire after 42 days. 14 days in advance, Vista will start warning you of this fact.
NOTE
  You will need to do this from within an administrator account.
WARNING
  If you have this user account setup to logon automatically and change or remove the password, then be sure to change or remove it here to.
RELATED LINKS:


METHOD ONE:
Through Local Security Policy
NOTE
  The Vista Home Basic and Home Premium editions do not have this feature. See METHOD THREE below for how with these editions instead.
1. Open the Local Security Policy editor.

2. In the left pane, under Security Settings, click the little arrow next to Account Policies to drop down and view the folder
options. (See screenshot below)

3. Click on the Password Policy folder.

4. In the right pane, right click on Maximum password age and click Properties.
password_policy.jpg
5. To Stop Password Expiration -
A) Type 0 (number zero) and click OK. (See screenshots below step 6)
6. To Change the Password Expiration Date -
A) Type in a number between 1 and 999 days between expirations.
NOTE: If you would like to change the other options, then just right click them and click Properties. Click the Explain tab to see what it is for and how to set it.
max_properties.jpgmax_explain.jpg


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

2. In the left pane, click on Users. (See screenshot below step 3)
3. In the middle pane, right click on the user account you want to do this with and click on Properties. (See screenshot below)
lusrmgr.jpg
4. To Stop Password Expiration -
A) Check Password never expires. (See screenshot below step 6)
5. To Change the Password Expiration Date -
A) Check one of the other options you want to apply. (See screenshot below step 6)
6. Click on OK. (See screenshot below)
properties.jpg
7. Close the Local Users and Groups window.


METHOD THREE:
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 Stop Password Expiration -
A) In the elevated command prompt, type net accounts /maxpwage:unlimited and press Enter. (See screenshot below)

B) Close the elevated command prompt window when you get the The command completed successfully message.
unlimited_cmd.jpg
4. To Change the Password Expiration Date-
A) In the elevated command prompt, type net accounts /maxpwage:(1-999) and press Enter. (See screenshot below)
EXAMPLE: To change it back to the default 42 days, you would type: net accounts /maxpwage:42
NOTE: Change it to whatever you want between 1 to 999 days before password expiration.

B) Close the elevated command prompt window when you get the The command completed successfully message.
change_cmd.jpg
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,801
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 10-12-2007  
Lord Voldemort
Newbie


Join Date: Oct 2007
XP 64 Bit
 
 

Re: Password Expiration in Vista

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

My System SpecsSystem Spec
Old 10-12-2007  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Password Expiration in Vista

Your welcome Lord Voldemort,

Welcome to the forum.

Shawn
My System SpecsSystem Spec
Old 12-16-2007  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Password Expiration in Vista

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

Shawn
My System SpecsSystem Spec
Old 06-08-2008  
Little-lost
Newbie


Join Date: Jun 2008
Ultimate x64
 
 

Re: Password Expiration in Vista

Thanks for sharing.

LL
My System SpecsSystem Spec
Old 06-08-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Password Expiration in Vista

Your welcome LL, and welcome to Vista Forums.

Shawn
My System SpecsSystem Spec
Old 08-12-2008  
d0b3r
Newbie


Join Date: Aug 2008
Vista Home Premium
 
 

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
Old 08-12-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Password Expiration in Vista

Your welcome d0b3r, and welcome to Vista Forums.

Shawn
My System SpecsSystem Spec
Old 07-05-2009  
agratefulreader
Newbie


Join Date: Jul 2009
vista Premium 64
 
 

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
Old 07-05-2009  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Password Expiration in Vista

You're most welcome, and welcome to Vista Forums.
My System SpecsSystem Spec
Comment

Tutorial Tools


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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46