Yes i know that, but i wanted to be able to set that from a scrip or an application used to make some automated installs on my domain. I need to create some simple users and it doesnt work well when password complexity is enabled. Sometimes creates user sometimes not. But when that is disable it works everytime.
Been looking to some security api but i'm afraid i dont know how to reach it.
________
George, M
Searches(faq333-4906),Carts(faq333-4911)
Why don't you create your users with a "default" complex password and not mess with your policy?
You can script the creation of your users with something like "Abcd1234" and it should work every time. Just set the requirement to change password on next login.
Disabling the policy just to create users is a bad idea. You would need to wait for AD to replicate between your DCs. And during that time a user could then change their password to a non complex password and have the system approve it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.