Cosmic Cruizer has asked for the wisdom of the Perl Monks concerning the following question:

I've written a fair amount of Perl apps to perform a variety of Windows audit task, but I still cannot figure out how to read the Windows Local Security Policy Settings. I have tried numerous ways to download the Account and Local policies without success. secedit does not appear to dump the info and I've tried every win32::lanman::lsa query I've found. Is there a Win32 library (I cannot find one) or some other Perl method that will read the Windows policies?
  • Comment on Reading W2k3 Local Security Policy setting

Replies are listed 'Best First'.
Re: Reading W2k3 Local Security Policy setting
by Anonymous Monk on Feb 14, 2010 at 17:54 UTC
    What is it? Where is it stored? Which APIs are available for it?
      It is the Windows Security Policies. See http://www.windowsnetworking.com/articles_tutorials/wxppspol.html for an explanation. The account and local policies are what I need to collect. I have yet to find out what APIs are available.
        I have yet to find out what APIs are available.

        Seems like the first thing to do (MSDN) :)