Setting a minimum password length for your local user accounts can ensure the security of the accounts. In this post, MiniTool shows you how to set a minimum password length in Windows 10 with 2 ways.

In general, Microsoft requires a minimum password length for all Microsoft accounts, while the local user accounts on Windows 10 don’t require a password by default. The minimum password length is an effective way to secure your account.

Windows 10 Local Account VS Microsoft Account, Which One to Use?

By setting a minimum password length for each user on Windows 10, you can reinforce all local accounts. Then, there are a couple of ways to apply the minimum password length to your accounts. You can get them in the following content.

Set a Minimum Password Length Via Command Line

This method works well in all Windows 10 editions, including Home Edition, Pro Edition, etc. The, follow the steps below to set a minimum password length with command lines:

Step 1: Run Command Prompt or PowerShell as administrator.

  • Use Command Prompt:click the Start button, type “cmd” into the search box, then right-click on the “Command Prompt” result, and select “Run As Administrator”.
  • Use PowerShell:Press “Windows + X” keys simultaneously and then click “PowerShell (Admin)”.

Step 2: Type the following command “net accounts /minpwlen:#”. Please note that “#” is a number that stands for the minimum password length. You should replace it accordingly. Then, press the Enter key, and you’ll see a prompt telling you the command completed successfully.

Tip: You can technically choose anything from 1-20 characters in length. But I recommend you to choose something that provides adequate security and doesn’t make it too difficult to remember the passwords.

set a minimum password length with command lines

Now, the minimum password length is set. If you want to make sure it’s been applied, you can enter the following command to check: “net accounts”. If you want to remove the minimum password length, you can enter the following command: “net accounts /minpwlen:0”.

How to Set a Password Expiration Date on Windows 10 for Security
How to Set a Password Expiration Date on Windows 10 for Security

This post shows you how to set a password expiration date on Windows 10.

Read More

Set a Minimum Password Length Via Group Policy

This method is only available in Windows 10 Pro and Enterprise Edition. If you are using Pro or Enterprise Edition and you don’t want to mess around with Command Prompt, you can take advantage of the Local Group Policy Editor, which takes a graphical interface. The detailed steps are as follows:

Tip: Before you making changes to Group Policy, you should make a System Restore point in case some errors happen.

Step 1: Press “Windows+R” keys, type “gpedit.msc” into the Run box, and then press the Enter key to open the Local Group Policy Editor.

Step 2: Navigate to Computer configuration > Windows settings > Security settings > Account policies > Password policy. Then, double-click the setting “Minimum password length”. This will trigger a new window.

Minimum password length in Group Policy

Step 3: In the new window, type in the minimum password length you want to apply and click OK button when you finish.

Tip: There is a setting “Password must meet complexity requirements”. If you enable it, when you next change or create passwords, the passwords must meet specific criteria. Thus, your passwords can be more secure.
How to Secure Windows 10? 7 Methods
How to Secure Windows 10? 7 Methods

This post introduces 7 methods to secure Windows 10.

Read More
  • linkedin
  • reddit