The following command disables the policy
dsmgmt "Configurable Settings" Connections "connect to server localhost:389" q "Set ADAMDisablePasswordPolicies to 1" "Commit changes" q q
Note! My instance of AD LDS is running on "localhost:389". Change it to the server and port that you use.
This nice article explains it in more detail
This saved me a bunch of time, thanks for posting it. I created a Gist for this on GitHub and attributed it to you @ https://gist.github.com/3317547.
ReplyDeleteCheers!
-k