Jump to content

Reminder: Deconfigure Local Account Password Expiry


Recommended Posts

Posted

I'm not sure whether this even applies to a Microsoft account, but if you're using a local account to run Windows 10, something you may want to consider...

 

Passwords are set to expire by default.

 

If you haven't remembered to do so on your brand new setup, you might want to double check whether your password is set to expire, and whether you want to deconfigure that.

  • Run the Local Security Policy snapin (secpol.msc)
  • Navigate to Security Settings > Account Policies > Password Policy
  • Change the Maximum password age to 0 to avoid expiry.

 

-Noel


Posted

You may be able to do the same thing by doing the following:

 

  • Start an elevated CMD window.
     
  • Type the following command to check the current status:
     
    NET ACCOUNTS
     
  • Type the following command to avert password expiration:
     
    NET ACCOUNTS /MAXPWAGE:UNLIMITED

 

-Noel

Posted

I'm not sure whether this even applies to a Microsoft account, but if you're using a local account to run Windows 10, something you may want to consider...

 

Passwords are set to expire by default.

 

If you haven't remembered to do so on your brand new setup, you might want to double check whether your password is set to expire, and whether you want to deconfigure that.

  • Run the Local Security Policy snapin (secpol.msc)
  • Navigate to Security Settings > Account Policies > Password Policy
  • Change the Maximum password age to 0 to avoid expiry.

 

-Noel

 

Done, thanks!

 

--JorgeA

Posted (edited)

Does this Windows 8 command no longer work ("where Name='JOHNDOE' " is your actual Windows user name)? I ask because I use this command on my Windows 8 clean install disk and was going to use in on my Windows 10 .iso as well.

C:\Windows\System32\wbem\WMIC.exe path Win32_UserAccount where Name='JOHNDOE' set PasswordExpires=false
Edited by lurk&jerk
Posted (edited)

@Tripredacus. Sorry. That's what I get for speed reading posts early in the morning.  :blushing: 

Edited by lurk&jerk
Posted

Now is the time for people to try things and report back.  I honestly don't know about the WMIC command.  I suspect it will work.

 

-Noel

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...