search
HomeComputer TutorialsComputer KnowledgePassword Expiration in Windows 11: How to Enable/Disable It?

Windows 11 Password Expiry Setting Guide: Enhanced Security or Simplified Management

The password expiration feature of Windows 11 is an important security feature that helps prevent unauthorized access to your computer. This article will explain how to enable or disable password expiration feature in Windows 11.

There is a security risk when using the same password for a long time, and others may crack the password and access your computer. To enhance Windows account and computer security, it is crucial to change your password regularly.

The Windows password expiration feature allows you to set the maximum validity period of the user account password on your computer. This feature is disabled by default for all users and is only available for Windows 10/11 Professional, Education and Enterprise. You can set password expiration time for local users and Microsoft accounts.

Although this feature enhances computer security, frequent password changes can also cause inconvenience. Some users may want to disable this feature.

This article will introduce several ways to enable or disable password expiration feature in Windows 11.

Before performing the following steps, make sure:

  • Use the official version of Windows.
  • Windows is activated and has a valid license.
  • The user account is not disabled and is functioning normally.

Method 1: Through the official Microsoft website

How to enable Windows 11 password expiration? You can visit the Microsoft Security page to set it up:

  1. Visit the Microsoft Security page and log in with your account username and password.
  2. Click "Change password security settings".
  3. Enter the current password and new password, enter the new password again, and check the option "Force me to change password every 72 days". Click "Save".

Password Expiration in Windows 11: How to Enable/Disable It?

How to disable Windows 11 password expiration? Uncheck the option "Force me to change my password every 72 days".

Method 2: Through local users and groups

How to enable Windows 11 password expiration? The second method is through "local users and groups":

  1. Press Windows R to open "Run" and enter lusrmgr.msc .
  2. Click the "User" tab to find the user you want to set, double-click to open, and uncheck the "Password Never Expired" option.

Password Expiration in Windows 11: How to Enable/Disable It?

How to disable Windows 11 password expiration? Just re-check the option.

Method 3: Pass the command prompt

You can also enable or disable Windows 11 password expiration via the command prompt:

  1. Enter cmd in the search box and select Run as administrator.
  2. Enter the following command and press Enter :

net accounts

  1. Then, if you want to enable password expiration, run the following command. Replace "Username" with the account you want to enable:

wmic UserAccount where Name="用户名" set PasswordExpires=True

To disable Windows 11 password expiration, enter the following command:

wmic UserAccount where Name="用户名" set PasswordExpires=False

How to extend the password expiration time limit?

Although the default expiration time for local accounts is 42 days and Microsoft accounts is 72 days, you can extend the password expiration time limit:

  1. Press Win R to open "Run", enter gpedit.msc and click "OK" to open "Group Policy Editor".
  2. Navigate to the following location:

计算机配置> Windows设置> 安全设置> 帐户策略> 密码策略

  1. In the right pane, right-click Maximum Password Period and select Properties.

Password Expiration in Windows 11: How to Enable/Disable It?

  1. Change "42" days to "999" days.

Summarize

This article provides three ways to enable or disable password expiration in Windows 11, and you can choose one of them as you like. Additionally, you can learn how to extend your password expiration time limit.

The above is the detailed content of Password Expiration in Windows 11: How to Enable/Disable It?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Receive Nvvsvc.exe Runtime Error on Startup? Look Here!Receive Nvvsvc.exe Runtime Error on Startup? Look Here!Apr 11, 2025 am 12:50 AM

Do you encounter nvvsvc.exe runtime error on Startup? What’s worse, some of you might end up with a black screen. Therefore, it is urgent for you to remove this error as soon as possible. In this guide on php.cn Website, we gathered some feasible sol

Advanced Tips for Windows   P Not Working on WindowsAdvanced Tips for Windows P Not Working on WindowsApr 11, 2025 am 12:49 AM

You must be familiar with the Windows P shortcut if you have more than one monitor. However, the Windows P not working properly might happen occasionally. If you are facing this problem, this post from php.cn can help you indeed.

What if Acronis Clone Failed to Read Data from the Disk?What if Acronis Clone Failed to Read Data from the Disk?Apr 11, 2025 am 12:48 AM

The issue of Acronis clone failed to read data from the disk often appears during the cloning process. What should you do when confronted with this boring issue? Try to fix it. Or, you can run an alternative to Acronis True Image – a php.cn software

File Upload Not Implemented - Here Are 4 Methods for It!File Upload Not Implemented - Here Are 4 Methods for It!Apr 11, 2025 am 12:47 AM

When you try to access a Word document from a folder, you may get an error that just says "Not implemented" after clicking it. This post from php.cn introduces how to fix the “file upload not implemented” issue.

AI in Windows: AI-Powered Features in WindowsAI in Windows: AI-Powered Features in WindowsApr 11, 2025 am 12:46 AM

Microsoft has invested a lot of manpower and financial resources in AI and has achieved great results. In this post, php.cn will talk about AI in Windows, including AI tools and features in Windows 11 and Windows 10.

How to Use PowerShell Script for Windows 10 0x80070643 Error?How to Use PowerShell Script for Windows 10 0x80070643 Error?Apr 11, 2025 am 12:45 AM

KB5034441 fails to install with the error code 0x80070643? A PowerShell script for Windows 10 0x80070643 from Microsoft helps to automate updating the WinRE partition to fix the BitLocker Security Feature Bypass vulnerability. php.cn guides on you ho

Where to Find Contra: Operation Galuga Save File Location on PCWhere to Find Contra: Operation Galuga Save File Location on PCApr 11, 2025 am 12:44 AM

Contra: Operation Galuga is a newly released shooter video game published by Konami. Here this post on php.cn Software focuses on Contra: Operation Galuga save file location and explains how to back up Contra: Operation Galuga save files.

Can't Highlight Text in Microsoft Word? Proven Ways HereCan't Highlight Text in Microsoft Word? Proven Ways HereApr 11, 2025 am 12:43 AM

Microsoft Word delivers many useful features for all of us, including highlighting text. However, some people recently faced a problem that they can’t highlight text in Microsoft Word. This problem causes inconvenience to them. If you are one of them

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use