Solved

Password validation failed. The password does not meet Windows policy requirements because it is not complex enough.

Posted on 2010-09-13
5
594 Views
Last Modified: 2012-05-10
without going into the server, with TSQL is it possible to check the password policy?

I am creating like
CREATE LOGIN jimw WITH PASSWORD='JimWengerTesting-18:00' and still says it is not complex enough.. any thoughts on that?

thanks
0
Comment
Question by:anushahanna
  • 3
  • 2
5 Comments
 
LVL 60

Expert Comment

by:chapmandew
ID: 33664208
CREATE LOGIN jimw WITH PASSWORD='JimWengerTesting-18:00'
with check_policy = off
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33664290
thanks for the idea.

0
 
LVL 6

Author Comment

by:anushahanna
ID: 33664292
still getting
Incorrect syntax near '='.
0
 
LVL 60

Accepted Solution

by:
chapmandew earned 500 total points
ID: 33664311
i missed that you already had WITH...my fault

CREATE LOGIN jimw WITH PASSWORD='JimWengerTesting-18:00'
, check_policy = off
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33664376
excellent. Thank you.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now