I am working on a dotnet project to write an application that can
audit and write registry and local security policy entries on multiple
standalone (not networked) and domain computers. Since standalone
machines are involved, Active Directory and group policy may or may
not be a factor, so I must assume entries are not inherited from the
domain group policy. So, my question is, how can I gain access to the
computer configuration settings in the local security policy such as:
security settings > local policies > audit policies.
Using directoryservices.directoryentry, I've been able to get to many
of the security policy entries, but not audit policies and many other
entries. BTW, using a utility or command line application (even if by
Microsoft) is not allowed, due to government regulations. The code
must be native dotnet. Anyone know how to "gitter done"? Thanks!