Enforcing Strong Passwords

By Paul McFedries  1 comment

You, as a savvy Windows Vista user, know how to create a strong password, and you can certainly pass along that information to the other people in your home or business, but how can you be sure that they'll take up the strong password gospel?

The truth is you can't, and surveys of password use over the years have been remarkably consistent: most users are lazy and they prefer to use simple passwords that are easy to remember. If the user operates a standalone PC, then it's their funeral. But it's more likely these days that the user is part of a network, and a brain-dead password puts not only that PC at risk, but it puts the entire network at risk.

If it's your network you're worried about, you can take matters into your own hands and set up password policies that ensure your users protect their PCs with strong passwords. There are two policies you can implement:

  • Minimum Password Length This policy sets the minimum number of characters for the password. You enter a value that represents the number of characters, and that value can be as high as 14 or as low as 1. (If you use 0, it means no password is required.) A good choice here is 8.
  • Password Must Meet Complexity Requirements If you enable this policy, Windows Vista examines each new password and accepts it only if it meets the following criteria: It doesn't contain all or part of the person's username; it's at least six characters long; and it contains characters from three of the following four categories: uppercase letters, lowercase letters, digits (0-9), and nonalphanumeric characters (such as $ and #).
NOTE
If you set the Minimum Password Length policy to a value between 0 and 5, and you enable the Password Must Meet Complexity Requirements policy, the latter policy takes priority and the minimum password length is six characters. If you set the Minimum Password Length policy to a value between 7 and 14, and you enable the Password Must Meet Complexity Requirements policy, the former policy takes priority and Windows uses its value as the minimum password length.

Follow these steps to implement these policies:

NOTE
These steps require the Local Security Policy Editor, which is only available with Vista Business, Vista Enterprise, and Vista Ultimate. There's no other way to specify password strength, but you can set a minimum password length using Command Prompt, as I discuss below.
  1. Log on to the Windows Vista computer you want to work with.
  2. Select Start, type secpol.msc, press Enter, and then enter your administrator's credentials to continue. The Local Security Policy Editor appears.
  3. Open the Account Policies branch.
  4. Click the Password Policy branch.
  5. Double-click the Minimum Password Age policy to open its property sheet.
  6. Use the Password Must Be at Least spin box to set the minimum number of characters in any password, and then click OK.
  7. Double-click the Password Must Meet Complexity Requirements policy.
  8. Click Enabled and then click OK.

Note that these passwords have no effect on any existing passwords. They only apply when you set a password on a new account, or when you change a password on an existing account.

You can also set the minimum password length at the command prompt, which is great if you're working on a Vista Home or Vista Home Premium machine. Here's how:

  1. Log on to the Windows Vista computer you want to work with.
  2. Select Start, type cmd.exe, right-click cmd.exe in the results, click Run as Administrator, and then enter your administrator's credentials to continue. The Administrator: Command Prompt window appears.
  3. Enter the following command, changing n to the minimum length you want to use:
  4. net accounts /maxpwlen:n

With these policies in effect, if someone tries to change their password to something weak, they see a dialog box warning them that the system's policies require a stronger password.

1 comment

    Anonymous 3 years ago
    There is a mistake. It should be net accounts /minpwlen:n Regards

      Add a comment

      Post a comment using one of these accounts
      Or join now
      At least 6 characters

      Note: Comment will appear soon after you have activated your account.
      Obscene/spam comments will be removed and accounts suspended.
      The information you submit is subject to our Privacy Policy and Terms of Service.

      ITworld LIVE

      NetworkingWhite Papers & Webcasts

      White Paper

      The 2011 iPass Mobile Enterprise Report

      This industry survey covers trends, recommendations and a policy guide on managing Enterprise Mobility for IT management and CIOs. Get data on employee device liability, as well as smartphone/tablet penetration, budget control and provisioning. Find out how your organization compares, how to ensure mobile worker productivity, and control costs.

      Webcast On Demand

      Managing Enterprise Mobility Costs

      Mobile employees, especially those traveling internationally, were spending time and resources finding and making connections. Roaming costs were out of control. The IT Administrator at The Hay Group tells you how he got more control over these costs, providing management with predictable budgets and insights while ensuring employee productivity.

      Sponsor: iPass

      White Paper

      Digital Transformation: Creating New Business Models Where Digital Meets Physical

      Individuals and businesses alike are embracing the digital revolution. Social networks and digital devices are being used to engage government, businesses and civil society, as well as friends and family.

      White Paper

      The Journey to the Private Cloud

      Both business and IT need the agility enabled by the private cloud. Now you can apply technologies and processes pioneered by public cloud services to your own data center.

      Webcast On Demand

      Navigating the Public Cloud

      InfoWorld contributing editor and consultant David Linthicum offers expert advice about choosing services to outsource to the public cloud providers, cloud data security and identity, integrating public cloud services, and how to avoid provider lock-in.

      Sponsor: Intel

      See more White Papers | Webcasts

      Ask a question

      Ask a Question