How to Enable or Disable Password Expiration in Windows 11

How to Enable or Disable Password Expiration in Windows 11, With Windows‘ password expiration feature, you can set a maximum age for when user accounts’ passwords will stop working. This feature is turned off by default for all users, and only the Pro, Education, and Enterprise versions of Windows 10 and 11 have it.

Both local users and Microsoft accounts can have their passwords set to expire at a certain time. But the steps to do this are different for each type of account. So, these are the three ways you can set your Windows account passwords to expire or not.

How to Enable or Disable Password Expiration in Windows 11

Via Microsoft Account

  1. Launch your browser, head to Microsoft’s Security page, and log in to your account.
  2. Click on Password security to change your password
  3. You will need to enter your current password, create a new one and re-enter it to confirm.
  4. Then, check the Make me change my password every 72 days box.
  5. Finally, click Save to confirm the changes.

Via the Command Prompt

  1. Click on the Search icon on your taskbar, type cmd, and select the option to Run as administrator.
  2. Key in the following command and press Enter to see all the users registered on your device: net accounts
  3. Then, to enable password expiration key in the following command and press Enter: wmic UserAccount where Name=”user name” set PasswordExpires=True
How to Enable or Disable Password Expiration in Windows 11

Why You Should Enable Password Expiration in Windows 11

  • Password expiration helps to prevent unauthorized changes to your system settings or personal data by someone who has access to your PC.
  • It protects your PC from hackers who might compromise your password, especially if your account is inactive or expired.
  • It safeguards your privacy by making your password harder to crack, especially if you use the same password for multiple accounts.

FAQs

How do I turn off Microsoft password change?

To do so, select Start, select Run, type regedit in the Open box, and then select OK. In the right pane, select the DisablePasswordChange entry. On the Edit menu, select Modify. In the Value data box, type a value of 1, and then select OK.

Why do I have to keep re entering my Microsoft password?

This issue can occur if the Logon network security setting on the Security tab of the Microsoft Exchange dialog box is set to a value other than Anonymous Authentication.

Which command is used to change user password expiration time?

Use the chage command to set the expiry date for an account. This setting defines a given date, after which a user account is locked and inaccessible. You can do this with the –expiredate ( -E for short) option.

Editorial Staff
Editorial Staffhttps://www.bollyinside.com
The Bollyinside editorial staff is made up of tech experts with more than 10 years of experience Led by Sumit Chauhan. We started in 2014 and now Bollyinside is a leading tech resource, offering everything from product reviews and tech guides to marketing tips. Think of us as your go-to tech encyclopedia!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Articles

Best Telemedicine Software: for your healthcare practice

Telemedicine software has transformed my healthcare visits. It's fantastic for patients and doctors since they can obtain aid quickly. I...
Read more
I love microlearning Platforms in today's fast-paced world. Short, focused teachings that engage me are key. Microlearning platforms are great...
Think of a notebook on your computer or tablet that can be changed to fit whatever you want to write...
As of late, Homeschool Apps has gained a lot of popularity, which means that an increasing number of...
From what I've seen, HelpDesk software is essential for modern businesses to run easily. It's especially useful for improving customer...
For all of our important pictures, stories, and drawings, Google Drive is like a big toy box. But sometimes the...