Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to disable password policy in Windows Server 2008 using command prompt. I know how to do it using Local Security Policy in Administrative Tools. I was wondering if there is a way to change using command prompt. I guess there must be some registry settings that needs to be changed but I do not know which entry in registry will disable the password policy. If you can tell me which registry entry I can write the command prompt myself.


share|improve this question
up vote 1 down vote accepted

Account policies cannot be changed directly through the Registry; they are handled by LSASS and stored along with user accounts. Microsoft provides a complete list of Group Policy registry keys, and it says:

Password Policy security settings are not registry keys.

There might be a way to change them through WMI or Group Policy API.

On a stand-alone workstation, the "complexity requirements" bit is part of value F in key HKLM\SECURITY\SAM\Domains\Account.

Don't even think about attacking LSASS with regedit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.