Windows Event Log Permissions: Who Can Export EVTX

Windows Event Log Permissions: Who Can Export EVTX

SOC Prime Team
SOC Prime Team linkedin icon Follow

Administrators can read and export every event log, but only from an elevated prompt. For everyone else, the built-in Event Log Readers group grants read access to most logs, locally and remotely, without admin rights. Add the account with net localgroup “Event Log Readers” <user> /add, then sign out and back in. A handful of channels set their own permissions; wevtutil gl <log> shows exactly who can read a given log.

Analysts, log collectors and IR partners all need event logs, and none of them should need to be local admins for it. This guide covers the least-privilege setup and the reasons “Access is denied” shows up even when you think you have rights.

Get Started For Free

Who can do what

ActionWho, by default
Read and export most logsAdministrators (elevated) and Event Log Readers
Read the Security logAdministrators (elevated); Event Log Readers
Clear the Security log or change auditingAccounts with “Manage auditing and security log” (Administrators)
Change a log’s size or retentionAdministrators
Read logs from another machineSame rights as locally, plus the firewall open for remote event log access

Why admins still get “Access is denied”

User Account Control. A non-elevated session runs with a filtered token, without the Administrators group. Event Viewer and wevtutil then behave as if you were a normal user. Right-click, Run as administrator, and try again. It’s the most common cause by far.

Add an account to Event Log Readers

On one machine:

net localgroup "Event Log Readers" analyst /add

or in PowerShell:

Add-LocalGroupMember -Group "Event Log Readers" -Member "CORP\analyst"

Sign out and back in; group membership is read at logon.

Across a domain, use Group Policy (Restricted Groups, or Group Policy Preferences → Local Users and Groups) to put a domain group into Event Log Readers on every machine. On domain controllers, Event Log Readers is a domain-wide built-in group, so one change covers all DCs.

Check a specific log’s permissions

wevtutil gl Security

Look at channelAccess. It’s an SDDL string, and the part that matters looks like (A;;0x1;;;S-1-5-32-573): A means allow, 0x1 means read, and S-1-5-32-573 is Event Log Readers. If a channel’s SDDL doesn’t include that SID, Event Log Readers can’t read it. You can change a channel’s access with wevtutil sl <log> /ca:<SDDL>, but it’s easy to get wrong. Prefer group membership where you can.

Remote access

  • Firewall. Event Viewer’s “Connect to Another Computer”, wevtutil /r: and Get-WinEvent -ComputerName use RPC. Enable the rule group on the target: Enable-NetFirewallRule -DisplayGroup “Remote Event Log Management”.
  • PowerShell remoting (Invoke-Command) uses WinRM instead. That’s often already open where RPC isn’t.
  • Windows Event Forwarding. To forward the Security log, add NETWORK SERVICE to Event Log Readers on the source machines. Without it, a subscription can look healthy and deliver no Security events.

A note on uploading EVTX

Having rights to export a log doesn’t make every destination fine. LogTotal doesn’t sanitize EVTX files yet. Treat an EVTX upload as handing over the raw file, or convert it to JSON first.

When it goes wrong

SymptomLikely causeFix
Access is denied as an adminSession isn’t elevatedRun as administrator
Access is denied in Event Log ReadersMembership not active yet, or the channel has custom permissionsSign out and in; check wevtutil gl
The RPC server is unavailableRemote event log firewall rules are offEnable “Remote Event Log Management” on the target
WEF delivers everything except SecurityNETWORK SERVICE isn’t in Event Log ReadersAdd it on the sources
Can read the log, but the export failsNo write access to the target folderExport somewhere you can write, e.g. C:\Users\<you>\
Join SOC Prime's Detection as Code platform to improve visibility into threats most relevant to your business. To help you get started and drive immediate value, book a meeting now with SOC Prime experts.