James Alexander
James Alexander

Reputation: 6302

Windows EventLog Permissions

What permissions do I need to give a User for them to be able to write to the Windows EventLog? I have an ASP.NET application that needs to impersonate a user and that impersonated user must be able to write the event log

Upvotes: 7

Views: 7646

Answers (2)

Assaf Lavie
Assaf Lavie

Reputation: 75983

The MSDN docs on Event Logging (Win32) do not mention any required privileges.

Regardless, I'm not sure I understand why you need to write to the log using the impersonation token. You can still impersonate, but also write to the log with a different (admin) account, if that's necessary.

Upvotes: 0

Brandon
Brandon

Reputation: 69983

To create an Event Log source you need to be an administrator, otherwise you should be able to write to it without elevated privileges.

Maybe take a look at this article.

Upvotes: 1

Related Questions