How to allow a domain user to write the Windows Event Log (2008 R2 or newer) without Local Admin privileges?
We are very concerned about security so we don't grant local admin privileges if not fully required or troubleshooted first.
I have an application provider who needs to write the Windows Event Log. The credentials to run their services are from a generic domain user. This generic user was already made a member of the "Power Users" group but we are still unable to write the Windows Event Log. Of course if I grant membership in the "Local Administrators" group it works fine.
How do I allow a generic user to write to the Windows Event Log on Windows Server 2008 R2 or newer without granting the user Local Admin privileges?
Using other system accounts such as "SYSTEM, NETWORK or LocalService" are NOT an option; it must run with a domain user.
Solution 1:
You can do this by modifying the permissions of the registry entries for the Event log using Regedit.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Eventlog\Application\CustomSD
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Eventlog\System\CustomSD
This article from Microsoft has the details which are different based on your situation so I won't repeat them here.