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
4 Ways to Fix Taskbar Color Not Changing in Windows 10 - MiniTool4 Ways to Fix Taskbar Color Not Changing in Windows 10 - MiniToolMay 02, 2025 am 12:50 AM

Have you ever encountered the issue of “taskbar color not changing”? Do you feel confused about this problem? This post from php.cn focuses on this matter and provides you with several proven methods to help you fix it.

Remote Desktop Service Is Currently Busy - Targeted SolutionsRemote Desktop Service Is Currently Busy - Targeted SolutionsMay 02, 2025 am 12:49 AM

When trying to connect to a Windows Server, you may encounter the error that Remote Desktop Services is currently busy. Both the Windows Server settings and the user’s device might be the cause of this error. Whatever the causes, php.cn can help you

Fixed: Windows Shuts Down When Scanning for VirusesFixed: Windows Shuts Down When Scanning for VirusesMay 02, 2025 am 12:48 AM

Windows shuts down when scanning for viruses? Windows Defender full scan causes PC to shut down? What should you do when this issue occurs? In this post from php.cn, you will learn a couple of feasible solutions.

Network Error Message Appears in ChatGPT? Try 7 Ways to Fix! - MiniToolNetwork Error Message Appears in ChatGPT? Try 7 Ways to Fix! - MiniToolMay 02, 2025 am 12:47 AM

ChatGPT network error is a common issue that could happen when writing code or when the AI is writing long answers. What should you do if you encounter this issue? Don’t worry and go to try several ways collected by php.cn in this post to easily get

Fix Windows Update Check for Updates Grayed outFix Windows Update Check for Updates Grayed outMay 02, 2025 am 12:44 AM

One method to get Windows updates is to click the Check for updates button in Windows Update. But if the check for updates button is grayed out, do you know what you should do to fix the problem? In this post, php.cn Software will introduce some meth

Complete Guide to Fixing Outlook Not Saving Drafts on WinComplete Guide to Fixing Outlook Not Saving Drafts on WinMay 02, 2025 am 12:43 AM

Outlook draft emails are stored in the Drafts folder generally. However, sometimes you may encounter the issue of “Outlook not saving drafts”. In this situation, what should you do to find the draft emails and deal with this issue? In this post from

iCloud Mail Login/Sign-up | How to Access iCloud Mail PC/Android - MiniTooliCloud Mail Login/Sign-up | How to Access iCloud Mail PC/Android - MiniToolMay 02, 2025 am 12:42 AM

This post offers an iCloud Mail login and sign-up guide. You can create a free iCloud Mail account to use it to send or receive emails on the web or any device. Explanation for how to access iCloud Mail on Windows 10/11 or Android is also included.

Download and Install Windows ADK for Windows [Full Versions] - MiniToolDownload and Install Windows ADK for Windows [Full Versions] - MiniToolMay 02, 2025 am 12:41 AM

When you try to provision Windows 11/10, you need the corresponding version of Windows ADK (Windows Assessment and Deployment Kit) to help you finish the task. This post from php.cn teaches you how to download and install Windows ADK.

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment