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.

Lucas Simonds
Lucas Simonds
Lucas Simonds is a skilled content editor at Bollyinside, specializing in "How to" and "Tips & Tricks" articles focused on Gaming, Software, and Apps. With a genuine passion for video games, he not only writes about them but also actively engages in gaming. His commitment to providing insightful and approachable content has earned him a trusted reputation within the online community.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Articles

Hubspot Service Hub review 2024: a comprehensive platform

When it comes to customer support operations, HubSpot Service Hub is an all-encompassing customer service platform that is meant to...
Read more
When players on Windows 11 or 10 try to log in to Steam, they may get the error code E87....
Users of Windows 11 or 10 may find it frustrating to deal with the error number 147-0 in Microsoft Office....
The Microsoft Store is an important part of the Windows operating system because it gives users a single place to...
It can be hard to find the right balance between usefulness, durability, and cost when it comes to kitchen storage....
Both AirDroid and Vysor are well-known tools that help Android users control their devices and mirror them. One of the...