Skip to content

Instantly share code, notes, and snippets.

@kcargile
Created August 10, 2012 20:21
Show Gist options
  • Save kcargile/3317547 to your computer and use it in GitHub Desktop.
Save kcargile/3317547 to your computer and use it in GitHub Desktop.
Disable domain password policy for local ADLDS instances.
# script courtesy of Per Ivar Jørgensen Seterlund @ http://code.seterlund.com/2011/05/disable-password-policies-in-adlds-adam.html
dsmgmt "Configurable Settings" Connections "connect to server localhost:389" q "Set ADAMDisablePasswordPolicies to 1" "Commit changes" q q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment