For When You Can't Have The Real Thing
[ start | index | login ]
start > Windows > 7 > Disable Account Password Expiry

Disable Account Password Expiry

Created by dave. Last edited by dave, 7 years and 30 days ago. Viewed 2,436 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Disable Account Password Expiry

  1. Run Command Prompt as Administrator (Rt-click cmd program to Run as Administrator)
  2. Type the following, then press enter
    wmic path Win32_UserAccount WHERE  Name='username' set PasswordExpiries=false
    NOTE: Replace username in the command with the actual user account name.
  3. Close the cmd prompt window, you are done.
eg:
C:Windowssystem32>wmic path win32_UserAccount WHERE Name='Jenn' set PasswordExpires=false
Updating property(s) of '\\SATURNIIrootcimv2:Win32_UserAccount.Domain="SaturnII",Name="Jenn"'
Property(s) update successful.

C:Windowssystem32>

If it comes back and tells you General Failure then you forgot to run the command prompt As Administrator.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt