How to Enable or Disable Password Expiration in Windows 11
Reading Time: 4 minutesIf you want to enhance your Windows account and PC’s security, you should make your passwords expire occasionally. Here’s how to turn it on.
The password expiration feature on Windows lets you set a maximum password expiration age for user accounts on your PC. By default, this feature is disabled for all users and is only available for Pro, Education, and Enterprise editions of Windows 10 and 11.
You can set password expiration for both local users and Microsoft accounts. However, the steps to do this vary for both account types. So, these are the three ways you can enable or disable password expiration on your Windows accounts.
1. Set or Remove Password Expiration for a Microsoft Account
You can set password expiration for your Microsoft account online. To do this, you’ll need to access the Microsoft account Security section and enable the Make me change my password every 72 days option.
Once enabled, your current Microsoft account password will expire after 72 days and requires you to change it to access any Microsoft service associated with the account. Note that you must change and set a new password to enable password expiration. Without it, you’ll be unable to use this feature.
To enable password expiration for Microsoft account:
- Go to the Microsoft Security page, and log in with your account username and password to access the page.
- Next, click on Password security to open the password change page.
- Next, enter your current password.
- Next, enter your new password and confirm the same in the Reenter password field.
- Lastly, check the Make me change my password every 72 days option.
- Click Save to save the changes and enable password expiration for your Microsoft account.
If you need to disable the password expiration for your Microsoft account:
- Go to Microsoft account online > Security > Change password.
- Here, fill in the details for your new password and uncheck the Make me change my password every 72 days option.
- Click Save to apply the changes.
2. Enable Password Expiration for Local User Accounts via Local Users and Groups
Local Users and Groups is a Windows administrator tool that allows you to manage individual and multiple computers over a network. Windows 11 Pro, Education, and Enterprise edition users can use this tool to enable password expiration for local user accounts. Here’s how to do it.
- Press Win + R to open Run.
- Type lusrmgr.msc and click OK to open Local Users and Groups snap-in.
- Click on the User folder in the left pane.
- Next, double-click on your user local user account to set password expiration.
- In the Properties dialog, uncheck the Password never expire option to enable password expiration.
- Click OK to save the changes.
If you are running the Home edition of the OS, you enable Local Users and Groups Management on Windows 11 Home before you can use this method. Once you’ve enabled Local Users and Groups Management, follow the steps below to activate password expiration.
- Run the lusrmgr.exe app.
- Select the Users option in the left pane.
- Next, double-click on the user account name to open its properties.
- Open the Password tab.
- Uncheck the Password never expires option.
- Click Apply and OK to save the changes.
By default, Windows will ask you to change your password after 42 days. That said, you can also customize the password expiration age using Command Prompt and Group Policy Editor as per your preference.
How to Set Maximum Password Age Using Group Policy Editor
You can use the Group Policy Editor to set the maximum password age for the Password Policy. While the default password expiration is 42 days, you can reduce or increase it to meet your requirements.
Note that Group Policy Editor is part of Windows 11 and Windows 10 Pro, Education, and Enterprise Editions. If you use the Home Edition of Windows, you need to follow our guide to learn how to access the Group Policy Editor on Windows Home.
Once you’ve opened the Group Policy Editor, follow these steps to set a password expiration time for your local user account:
- Press Win + R to open Run.
- Type gpedit.msc and click OK to open Group Policy Editor.
- In Group Policy Editor, navigate to the following location:
Computer Configuration > Windows Settings > Security Settings > Account Policies > Password Policy
- In the right pane, right-click on the Maximum password age policy and select Properties.
- In the Properties dialog, you’ll see 42 days as the expiry time. Change the expiry days to your preferred length—you can set it up to 999 days.
- Click Apply and OK to save the changes.
Windows will prompt you to change the password for your local user account after a set number of days.
3. Enable and Disable Password Expiration for Local User Accounts Using Command Prompt
If you need to make frequent changes to the password expiration date manually, you can use the WMI command-line (WMIC) command in Command Prompt to enable and disable password expiration for the local user account. Here’s how to do it.
- Press the Win key and type cmd.
- From the search result, right-click on Command Prompt and select Run as administrator.
- In the Command Prompt window, type the following command to enable password expiration for the specified local user account:
wmic UserAccount where Name='user account name' set PasswordExpires=True
- In the above command, replace user account name with the user account name you want to set password expiration for.
- Next, to set the maximum password expiration age, use the following command:
net accounts /maxpwage:##
- In the above command, replace ## with the length of days you want to set before the password expires.
- To disable the password, use the following command:
wmic UserAccount where Name='user account name' set PasswordExpires=false
- If you need to disable password expiration for all the local user accounts, use the following command instead:
wmic UserAccount set PasswordExpires=False
- Once done, type exit and press Enter to close Command Prompt.
Set Password Expiration Date for Better Security
The Microsoft-recommended best practice for maximum password age is between 30 and 90 days. Although it’s not the most effective solution against threat actors, it should still protect you if someone tries to intercept or guess your old password and gain access to your computer.
Reference: https://www.makeuseof.com/enable-disable-password-expiration-windows-11/
Ref: makeuseof
MediaDownloader.net -> Free Online Video Downloader, Download Any Video From YouTube, VK, Vimeo, Twitter, Twitch, Tumblr, Tiktok, Telegram, TED, Streamable, Soundcloud, Snapchat, Share, Rumble, Reddit, PuhuTV, Pinterest, Periscope, Ok.ru, MxTakatak, Mixcloud, Mashable, LinkedIn, Likee, Kwai, Izlesene, Instagram, Imgur, IMDB, Ifunny, Gaana, Flickr, Febspot, Facebook, ESPN, Douyin, Dailymotion, Buzzfeed, BluTV, Blogger, Bitchute, Bilibili, Bandcamp, Akıllı, 9GAG