Discussion:
GPO Systen Access (ex. MinimumPasswordAge)
(too old to reply)
Ricar
2010-05-14 12:11:01 UTC
Permalink
Hi all.
I need API information about this parameters (ex. MinimumPasswordLength,
PasswordComplexity, PasswordHistorySize, LockoutBadCount, ResetLockoutCount,
LockoutDuration, etc.).
I would like programming a security tool which it sets and gets information
about this part of the security setting of Windows systems. But I don´t know
how to write or read this parameters in workgroup Windows machines.
This parameters does not store in the registry and I do not know how to
access to this.
Thanks a lot.
Ricardo.
Jordan
2010-05-28 15:03:33 UTC
Permalink
It is pretty easy in a domain and is mananged from the DC, however if you
are in a work group you can create the policy on one machine and merge it on
the others with secedit

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/secedit_cmds.mspx?mfr=true
Post by Ricar
Hi all.
I need API information about this parameters (ex. MinimumPasswordLength,
PasswordComplexity, PasswordHistorySize, LockoutBadCount,
ResetLockoutCount,
LockoutDuration, etc.).
I would like programming a security tool which it sets and gets information
about this part of the security setting of Windows systems. But I donŽt
know
how to write or read this parameters in workgroup Windows machines.
This parameters does not store in the registry and I do not know how to
access to this.
Thanks a lot.
Ricardo.
Ricar
2010-05-31 13:14:01 UTC
Permalink
Hi Jordan.

I know this option, but I would like get this information from the API or
registry (if possible) or similar. Because with secedit you get (export) the
security template but you don´t get the parameters applied in the machine.

For example.
You modify one parameter of the security policy and it requires reboot the
machine. If you export the template with secedit (before reboot), you get the
template with the parameter modified but you don´t get information about the
parameter applied in the machine. Do you understand me?.

Regards,
Ricardo.
Post by Jordan
It is pretty easy in a domain and is mananged from the DC, however if you
are in a work group you can create the policy on one machine and merge it on
the others with secedit
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/secedit_cmds.mspx?mfr=true
Post by Ricar
Hi all.
I need API information about this parameters (ex. MinimumPasswordLength,
PasswordComplexity, PasswordHistorySize, LockoutBadCount,
ResetLockoutCount,
LockoutDuration, etc.).
I would like programming a security tool which it sets and gets information
about this part of the security setting of Windows systems. But I don´t know
how to write or read this parameters in workgroup Windows machines.
This parameters does not store in the registry and I do not know how to
access to this.
Thanks a lot.
Ricardo.
.
Loading...