Enforcing Strong Passwords

By Paul McFedries  Add a new 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.

ITworld LIVE

NetworkingWhite Papers & Webcasts

White Paper

Building Cloud-Optimized Data Center Networks white paper

Enterprises are turning to the Cloud to improve business agility, reduce expenses and accelerate business innovation. Cloud computing redefines the way IT assets are deployed and consumed and dramatically affects the way data center networks are architected and managed. Conventional hierarchical data center networks built to support traditional IT architectures can't meet the security, agility and price/performance requirements of virtualized cloud computing environments. This white paper reviews the impact of cloud computing on data center networks and describes HP's approach to building simpler, more secure and automated networks that fully meet the stringent performance, security, reliability and agility demands of the new data center in the Cloud.Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.

White Paper

Seven Priorities for Integrated Network Management - How HP Intelligent Management Center Delivers an Enterprise-class Solution

This white paper describes the major requirements for network management solutions to help the organizations become more profitable, efficient and reliable.Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.

White Paper

Top 10 Best Practices of Backup, Replication & Recovery for VMware & Hyper-V

Whether you are new to virtualization or if you have been administering a virtual infrastructure for a while, it's now time to review your virtual infrastructure backup design and backup product features. Determine if you are both optimally protecting your virtual infrastructure as well as taking advantage of the latest virtualization backup features. Read this white paper to learn the 10 best practices for virtual infrastructure backup.

White Paper

Expert Guide on Backing up Windows Server in Hyper-V

Virtualization improves your infrastructure in many ways - it also introduces unfamiliar considerations. Take backup, replication and disaster recovery for example. The right backup and replication solution for Hyper-V can ensure that you'll be able to scale your infrastructure and protect yourself from data and application loss. But there are wrong choices to be made. Download this white paper from Microsoft MVP John Savill, avoid bad choices, and learn how to effectively protect your virtualized data and systems successfully.

White Paper

7 Expert Tips on VMware Backup

Want to create a bulletproof VMware backup infrastructure? Download this guide and learn 7 time-tested VMware infrastructure backup tips from virtualization backup pros:* Understand backup tool limitations* Save time, prevent data-loss* Find the solution that's right for youDownload the guide and save time planning your VMware backup.

See more White Papers | Webcasts

Ask a question

Ask a Question