Avatar of yogindar
yogindar

asked on 

How to retrieve the value for "prompt user to change password before expiration" of local policy settings?

In windows 2000
Goto Start >> Programs >> Administrative tools >> Local Security Settings >> Local Policies >> security options >> "prompt user to change password before expiration"
Mostly the default value of your local policy setting will be 14 days.
The requirement for me is :
I want to query this value programatically through SDK api's for both remote domain server as well as your local machine(precedence is for getting the value from remote domain server ).
Miscellaneous

Avatar of undefined
Last Comment
yogindar

8/22/2022 - Mon