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 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
 
LinkBack Tutorial Tools Display Modes
<!-- google_ad_section_start -->Password Expiration in Vista<!-- google_ad_section_end -->
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. See: How to Logon Automatically at Startup in Vista
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: 23,763
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
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Page copy protected against web site content infringement by Copyscape

Old 10-12-2007  
Lord Voldemort's Avatar
Lord Voldemort
Death Eaters


Join Date: Oct 2007
XP 64 Bit
Riddle Graveyard
 
Rep Power: 13
Lord Voldemort is on a distinguished road
  Lord Voldemort is offline

Re: Password Expiration in Vista

Thank's for Sharing..
That's Nice.
My System SpecsSystem Spec
Old 10-12-2007  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

Re: Password Expiration in Vista

Your welcome Lord Voldemort,

Welcome to the forum.

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



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

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
Little-Lost


Join Date: Jun 2008
Ultimate x64
 
Rep Power: 8
Little-lost is on a distinguished road
  Little-lost is offline

Re: Password Expiration in Vista

Thanks for sharing.

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



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

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
 
Rep Power: 7
d0b3r is on a distinguished road
  d0b3r is offline

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's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

Re: Password Expiration in Vista

Your welcome d0b3r, and welcome to Vista Forums.

Shawn
My System SpecsSystem Spec
Comment

Tags
expiration, password, security & system tools, user accounts

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Vista Home Premium password expiration Bob Vista security 4 09-07-2007 04:33 PM
Password expiration in Vista Home Premium Linda H Vista security 1 07-22-2007 09:38 PM
how do i change the password expiration policy on Vista home premi Lewis Vista account administration 3 07-01-2007 02:50 PM
Password expiration etoel Vista General 3 04-21-2007 09:50 AM
Domain Password Expiration - Not Being Detected RyanTX Vista security 7 01-13-2007 11:15 PM


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