What privileges do I need?

Posted by IAbstract on Stack Overflow See other posts from Stack Overflow or by IAbstract
Published on 2011-02-21T21:18:04Z Indexed on 2011/02/21 23:25 UTC
Read the original article Hit count: 333

Filed under:
|
|

I have a Windows service that isn't writing to the Application Event log under UserAccount. When the service is set to use AdminAccount, the Security log reports the following attributes:

admin account properties: SeSecurityPrivilege; SeBackupPrivilege; SeRestorePrivilege; SeTakeOwnershipPrivilege; SeDebugPrivilege; SeSystemEnvironmentPrivilege; SeLoadDriverPrivilege; SeImpersonatePrivilege

Under UserAccount, the only privilege reported is SeImpersonatePrivilege.

Is there a security impersonation that I can implement to give the UserAccount the ability to write to the Application Event log?

I would prefer to use the UserAccount for this service rather than the AdminAccount.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about windows-services