Enable Protected Event Logging
- Policy ID
- EnableProtectedEventLogging
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2016, Windows 10
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Event Logging
Description
This policy setting lets you configure Protected Event Logging.
If you enable this policy setting, components that support it will use the certificate you supply to encrypt potentially sensitive event log data before writing it to the event log. Data will be encrypted using the Cryptographic Message Syntax (CMS) standard and the public key you provide. You can use the Unprotect-CmsMessage PowerShell cmdlet to decrypt these encrypted messages, provided that you have access to the private key corresponding to the public key that they were encrypted with.
If you disable or do not configure this policy setting, components will not encrypt event log messages before writing them to the event log.
Options
Registry
ComputerHKEY_LOCAL_MACHINE
- EnableProtectedEventLoggingREG_DWORD
- EncryptionCertificateREG_MULTI_SZ