SQL Express Install on windows 7
- When installing SQLExpress on Windows7 the installer insists on a strong password for SA.however when the same installer is run on an XP or Vista machine it does not force the strong password policy. Why?
- Edited bysdoc Wednesday, November 04, 2009 2:03 PM win Xp or Vista
All Replies
- When installing SQLExpress on Windows7 the installer insists on a strong password for SA.however when the same installer is run on an XP machine it does not force the strong password policy. Why?
- Merged byChunSong Feng -MSFTMSFT, ModeratorTuesday, November 10, 2009 5:18 AMduplicated thread
- Hi Sdoc,
I think the Password policy at the windows level is set to ENABLED for password must meet complexity requirements in your windows 7 machine but not in XP machine.
This can be checked in secpol.msc .
Check this and let us know what is happening?
Thanks, Leks - Thread duplicated from http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/f10dfa56-db38-460c-9223-77070c1604cb
Moderators ,
Please merge this thread.
Thanks, Leks - hi,
XP can not enforce that requirement at all.. it's not available at OS level..
regards
http://www.asql.biz - DbaMgr2k - DbaMgr and further SQL Tools - The password must meet complexity requirements is set Enabled in all 3 scenarios - XP,Vista and Win7.
- i agree with Lekss. XP does have this functionality.
We have password policies in windows xp. In windows xp & win 2k password policy parametersare minimal (uppercase, lowercase and special characters) where as in win2k3 and above we have password length and password history parameter added there by creating more complex policy. However when you create sql logins password policies are applicable from win2k3 onwards (i.e sql server running from win2k3 onwards), that's why you are not getting password policy enforcement in xp machine. Below is the quote from Microsoft, refer http://msdn.microsoft.com/en-us/library/ms189751.aspx
CHECK_EXPIRATION and CHECK_POLICY are only enforced on Windows Server 2003 and later. For more information.
Vidhya Sagar. Mark as Answer if it helps!- Proposed As Answer byXiao-Min Tan – MSFTMSFT, ModeratorThursday, November 05, 2009 8:49 AM
- Unproposed As Answer bysdoc Tuesday, November 24, 2009 2:34 PM
- Thanks VidhyaSagar. But in that case I should see this same problem on Vista too,isnt it? But I dont. I am able to install a SQL Express 2005 using a weak password on a Vista machine.
- I'm locking this thread
Vidhya Sagar. Mark as Answer if it helps! Hi,
As Vidhya Sagar mentioned above, “enforce password policy” option of the SQL login account and Windows Account Password policy setting determine whether password meets complexity requirements or not on Vista machine. By default, the “enforce password policy” is enable. Then, you need to check the password policy setting for Vista by using the following steps:
http://windows.microsoft.com/en-US/windows-vista/Change-password-policy-settings
If there are any more questions, please let me know.
Thanks.
***Xiao Min Tan***Microsoft Online Community***- Since everyone is beating around the bush let me update my findings.
- "Enforce password policy" is enabled by default in all 3 scenarios -XP,Vista,Windows 7.
- SQLExpress setup allows me to install with weak password on XP and Vista but not Windows 7.(on one of the installations screens during the setup itself)
- The "Enforce password policy" in SQL server is not of concern,because in my scenatios I am in theprocess of setting up a SQL server. I know after I install I can change the SQL server password policy etc.
Hi,
Please make sure the “Password must meet complexity requirements” option is disabled for Password Policy settings in Windows 7. This can be done by the following steps:
http://windows.microsoft.com/en-US/windows7/Require-strong-passwords-on-this-computer
If there are any more questions, please let me know.
Thanks.
***Xiao Min Tan***Microsoft Online Community***- My question is not how to disable the option. My question is even though the option is enabled in XP, Vista Home,Vista Ultimate and Windows 7, why does the SQL express install fail due to strong password requirement only on a Ultimate and Windows 7?


