set "Audit Logon Events" in registry?

J

Jonas Andersson

Hello!

I'm developing an application, that will use the eventlog to check for
logon events. To make the application more userfriendly, I would like
to turn this setting on from within my application.
So, where are these settings stored? In the registry or in a file?
The setting I'm interested in is:
Computer Configuration\Windows Settings\Security Settings\Local
Policies\Audit Policy\Audit Logon Events

Thank you in advance!

/Jonas Andersson
 
T

Torgeir Bakken (MVP)

Jonas said:
I'm developing an application, that will use the eventlog to check for
logon events. To make the application more userfriendly, I would like
to turn this setting on from within my application.
So, where are these settings stored? In the registry or in a file?
The setting I'm interested in is:
Computer Configuration\Windows Settings\Security Settings\Local
Policies\Audit Policy\Audit Logon Events

Hi

It's in registry, but it isn't exactly easy to access ;-)

See tip 5231 ("How do I determine the Windows 2000 Audit Policy using the
registry?") here:

http://www.jsiinc.com/reghack.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top