I'm making a program in PYTHON that gives some info about the computer, and a part of it is to get info about the Group Policy - Password Policy (The Full path in gpedit.msc is : Local Computer Policy >> Cumputer Configuration >> Windows Settings >> Security Settings >> Account Policy >> Password Policy & Account Lockout Policy.
I need a way to get info about them both in python...
Thanks in advance :)
Run command with administrator:
In python:
All info will be exported to group-policy.inf file and then parse the file will get the info you want.
See secedit command.