Link to home
Start Free TrialLog in
Avatar of Roland_F
Roland_FFlag for United States of America

asked on

Query Windows audit settings using WMI

Using REALbasic with the Monkeybread WMI plugin, I can query 57 of the 59 RSOP_xxx classes without error, but I only get data returned for these eight:
    RSOP_ExtensionEventSource
    RSOP_ExtensionEventSourceLink
    RSOP_ExtensionStatus
    RSOP_GPLink
    RSOP_GPO
    RSOP_PolicySetting
    RSOP_Session
    RSOP_SOM

I'm guessing that there is some security setting that keeps WMI from returning data for the other ones for which I know data exists -- specifically
    RSOP_AuditPolicy
    RSOP_RegistryKey
    RSOP_RegistryPolicySetting
    RSOP_RegistryValue
and some others.

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Roland_F

ASKER

I don't know - I've never touched WMI except with VB and this current code. I'll do a little research and try to find out.
I could not find a download for WniSpy from a source I considered reliable. i did find WMI Explorer, though, which is a very handy free tool. Using WMI Explorer I find that those classes that don't return any data don't have any instances -- which is frustrating because I have done considerable work with secpol.msc to establish security and audit policies. Anyway, I will accept this one response as the solution to this particular problem. Have to look farther to get where I need to go. Thanks.