How to fix 'The specified sa password does not meet strong password requirements'

By FoxLearn 12/21/2024 2:45:58 AM   20
The error "The specified sa password does not meet strong password requirements" typically occurs when you're trying to set a password for the sa account in SQL Server, but the password does not meet SQL Server's security requirements.

These requirements are in place to ensure that the password is strong enough to protect your database from unauthorized access.

In this guide, we will show you how to adjust the password policy settings both on a domain-joined computer and a standalone system to allow for a less restrictive password for the sa account in SQL Server.

If the Computer is on a Domain

For computers that are part of a Windows domain, password policies are usually governed by domain security settings. These settings are often enforced by the Active Directory (AD) domain controllers and can override local settings.

To fix the issue of strong password requirements for the sa account, follow these steps:

Navigate to Administrative Tools and select Domain Security Policy. Alternatively, you can search for it in the Start Menu or the search bar.

Once the Domain Security Policy window is open, go to:

Security Settings -> Account Policies -> Password Policy

Adjust the following settings:

  • Minimum password length: Set this to Not Defined. This removes any enforced length requirements.
  • Password must meet complexity requirements: Set this to Not Defined. This disables the complexity rules for passwords.

Close the policy window and apply the changes. You may need to restart your system or services to ensure the changes take effect.

If the Computer is Not on a Domain

For standalone computers (i.e., computers that are not part of a domain), password policies are controlled by local security settings. If your SQL Server is on such a system and you're experiencing this password error, follow the steps below to resolve the issue:

Go to Administrative Tools and select Local Security Policy. This can also be accessed by searching for "Local Security Policy" from the Start Menu.

In the Local Security Policy window, navigate to:

Security Settings -> Account Policies -> Password Policy

Adjust the following settings:

  • Minimum password length: Set this to 0 to remove the length restriction.
  • Password must meet complexity requirements: Set this to Disabled to remove any complexity requirements for the password.

Close the policy window and apply the changes. Again, a restart of the system or relevant services may be needed for these changes to take effect.