wevtutilIT technician command center
Windows CMD · Windows Command Line

wevtutil

Query Windows event logs.

Copy-ready commandwevtutil
wevtutil qe System /c:20 /f:text

Requirements and permissions

Requirements
Windows 10/11 or Windows Server
Permissions
Varies by command
Last reviewed
2026-07-31

Examples

Basic example

Query Windows event logs.

wevtutil qe System /c:20 /f:text

Common errors

Command not found

Confirm Windows 10/11 or Windows Server is installed and available in your current shell.