2018. 9. 4. 17:07

How to change the password complexity on Windows

Using secedit


summary

  1. Export a configuration
    • secedit /export /cfg C:\securityconfig.cfg
  2. Modify the configuration
  3. Import the configuration
    • secedit /configure /db C:\Windows\security\new.sdb /cfg C:\securityconfig.cfg /areas SECURITYPOLICY