Geschützte Ereignisprotokollierung aktivieren: Registrierungswert EnableProtectedEventLogging und 1 weitereComputerHKLM\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging

Richtlinien-ID
EnableProtectedEventLogging
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Server 2016, Windows 10
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Ereignisprotokollierung

Registrierung

EnableProtectedEventLogging

REG_DWORDComputer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging]

; Optionen (nur eine verwenden)
; Aktiviert
"EnableProtectedEventLogging"=dword:00000001
; Deaktiviert
"EnableProtectedEventLogging"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging" /v "EnableProtectedEventLogging" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging" /v "EnableProtectedEventLogging" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging' -Name 'EnableProtectedEventLogging' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging' -Name 'EnableProtectedEventLogging' -PropertyType DWord -Value 0 -Force | Out-Null

EncryptionCertificate

REG_MULTI_SZComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
-
Werttyp
REG_MULTI_SZ
Erforderlich
true
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging]

; Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten
; hex(2)- und hex(7)-Daten müssen hexadezimal (UTF-16LE) geschrieben werden
"EncryptionCertificate"=hex(7):<Wert eingeben>
CMD
:: Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten

reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging" /v "EncryptionCertificate" /t REG_MULTI_SZ /d "<Wert eingeben>" /f
PowerShell
# Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging' -Name 'EncryptionCertificate' -PropertyType MultiString -Value '<Wert eingeben>' -Force | Out-Null