none
Get Minimum Password Length - Local Security Policy RRS feed

All replies

  • Hi,

    maybe you can get it by parsing the file created by this command: cmd /c secedit /export /cfg secpol.inf

    But you need admin rights to do this.

    Greetings, Chris


    • Edited by DerChris88 Thursday, September 27, 2018 10:39 PM
    Thursday, September 27, 2018 10:38 PM
  • Use P/Invoke to call NetUserModalsGet function

    There is example code in C++ on the linked page that shows how to retrieve the minimum password length.

    • Proposed as answer by DerChris88 Thursday, September 27, 2018 11:12 PM
    Thursday, September 27, 2018 11:09 PM