Enable or Disable Password Expiration in Windows 10

If Password Expiration is enabled for Local Accounts in Windows 10 then after the deadline for expiry is up, Windows will alert you to change your very annoying password. By default the Password Expiry feature is disabled, but some 3rd party program or application might enable this feature, and sadly there is no interface in Control Panel to disable it. The main problem is constantly changing the password, which in some cases leads you to forgot your password.

Although Microsoft makes it impossible for Windows Users to change the settings for Password Expiry for Local Accounts, there is still a workaround which works for most of the users. For Windows Pro users they can easily change this setting via Group Policy Editor while for Home users you could use Command Prompt to customize password expiration settings. So without wasting any time, let’s see How to Enable or Disable Password Expiration in Windows 10 with the help of the below-listed guide.

Enable or Disable Password Expiration in Windows 10

Make sure to create a restore point just in case something goes wrong.

Method 1: Enable or Disable Password Expiration for Local Account using Command Prompt

a. Enable Password Expiration In Windows 10

1. Open Command Prompt. The user can perform this step by searching for ‘cmd’ and then press Enter.

2. Type the following command and hit Enter:

wmic UserAccount where Name=”Username” set PasswordExpires=True

Note: Replace username with your account actual username.

3. To Change maximum and minimum password age for Local Accounts type the following in cmd and hit Enter:

net accounts

Note: Make a note of the current maximum and minimum password age.

4. Now type the following command and hit Enter, but make sure to remember that the minimum password age must be less than the maximum password age.:

net accounts /maxpwage:days

Note: Replace days with a number between 1 and 999 for how many days the password expires.

net accounts /minpwage:days

Note: Replace days with a number between 1 and 999 for how many days after a password can be changed.

5. Close cmd and reboot your PC to save changes.

b. Disable Password Protection in Windows 10

1. Open Command Prompt. The user can perform this step by searching for ‘cmd’ and then press Enter.

2. Type the following command and hit Enter:

wmic UserAccount where Name=”Username” set PasswordExpires=False

Note: Replace username with your account actual username.

3. If you want to disable password expiration for all user accounts then use this command:

wmic UserAccount set PasswordExpires=False

4. Reboot your PC to save changes.

This is how you Enable or Disable Password Expiration in Windows 10 using Command Prompt.

Method 2: Enable or Disable Password Expiration for Local Account using Group Policy Editor

a. Enable Password Expiration for Local Account

Note: This method will work only for Windows 10 Pro, Enterprise, and Education editions.

1. Press Windows Key + R then type gpedit.msc and hit Enter.

2. From the left window pane expand Local Users and Groups (Local) then select Users.

3. Now in right window pane right-click on the user account whose password expiration you want to enable select Properties.

4. Make sure you are in the General tab then uncheck Password never expires box and click OK.

5. Now press Windows Key + R then type secpol.msc and hit Enter.

6. In Local Security Policy, expand Security Settings > Account Policies > Password Policy.

7. Select Password Policy then in right window pane double-click on Maximum password age.

8. Now you can set the maximum password age, enter any number between 0 to 998 and click OK.

5. Reboot your PC to save changes.

b. Disable Password Expiration for Local Account

1. Press Windows Key + R then type gpedit.msc and hit Enter.

2. From the left window pane expand Local Users and Groups (Local) then select Users.

3. Now in right window pane right-click on the user account whose password expiration you want to enable then
select Properties.

4. Make sure you are in General tab then checkmark Password never expires box and click OK.

5. Reboot your PC to save changes.

Recommended:

That’s it you have successfully learned How to Enable or Disable Password Expiration in Windows 10 but if you still have any queries regarding this guide then feel free to ask them in the comment’s section.

Sign up and earn $1000 a day ⋙

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos. If you want to add color to old black & white photos, use one of the AI ​​tools below.

7 rules for storing a bank card

7 rules for storing a bank card

Each bank card is marked with important information - number, owner’s name, expiration date, CVC or CVV and a chip, thanks to which payments are made at terminals (including contactless). In order for this information to be preserved, it is important to treat the means of payment with care.

IObit Malware Fighter 11 Review 2024

IObit Malware Fighter 11 Review 2024

When your computer gets attacked by a virus or malware, you’ll certainly such for a powerful antivirus to fight back. Well, IObit Malware Fighter is exactly what you need. From its name alone, you can be certain that you are getting the tough protection your computer needs.

How To Find Quality And Fast Internet In Montreal

How To Find Quality And Fast Internet In Montreal

Montreal, a city brimming with culture, history, and Poutine (a famous Canadian dish), deserves an internet connection that can keep up. Whether you’re a streamer glued to Twitch, a workaholic juggling video conferences, or a casual web surfer, a reliable and fast internet plan is essential.

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018, Google has officially announced that it will stop supporting Google Drive for desktop and then the company will remove the application.

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error, AirDrop not working on iPhone, iPad, Mac what to do? This article will provide you with simple ways

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024, Which is the best lightweight, free, high-quality computer screen recording software? Let's find out the top with WebTech360

What is an email address? How to get an email address?

What is an email address? How to get an email address?

What is an email address? How to get an email address?, What is an email address? What is email address entry? This article will answer all your related questions

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for your computer you need to know, WhatsApp is one of the most popular free messaging apps today. The keyboard shortcuts below will help

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Discover the vibrant social scene of baccarat on Tedbet, where players worldwide connect, chat, and enjoy the excitement of live dealer games.

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok, Finding videos on TikTok is not difficult. Let's learn together how to find the original video on TikTok or find the Tik Tok clip you want to watch

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks, BlueStacks has made important improvements for Free Fire gamers. Please upgrade BlueStacks 4.230.10

Huang you: Butter Camera sparkling photo editing app

Huang you: Butter Camera sparkling photo editing app

Huang you: Sparkling photo editing application Butter Camera, Huang you (黄油 相机) is an extremely hot Chinese editing application today, here we would like to invite you

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know, Chrome Web Store or Chrome Web Store offers a selection of apps, extensions and stylish browser wallpapers

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?, What is CapCut? Is music on CapCut copyrighted? Let's find out with WebTech360 what you need to know about CapCut!

Why is buying TikTok coins cheaper on PC?

Why is buying TikTok coins cheaper on PC?

Why is it cheaper to buy TikTok coins on PC?, TikTok gives users the option to exchange real money for coins in the app. However, buying TikTok coins on PC is cheap

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?, Zoom is an indispensable remote online learning and working software during the epidemic, but it can be extremely bandwidth-consuming.

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past, EmuOS is a Web interface that simulates basic Windows 3.1, 95, 98, NT operating systems that provide a lot

TOP best ways to open and read PDF files on your computer

TOP best ways to open and read PDF files on your computer

TOP best ways to open and read PDF files on your computer. How to open PDF files on your computer is not too difficult. In fact, you have many ways to read PDF files. Join WebTech360

Iris in Free Fire: Skills, weapons, skill combos

Iris in Free Fire: Skills, weapons, skill combos

Iris in Free Fire: Skills, weapons, skill combos, Iris is the newest female character in Free Fire OB35, with the ability to break the meta. Here's everything you need to know