Activer la journalisation d'événements protégée : valeur de Registre EnableProtectedEventLogging et 1 autresOrdinateurHKLM\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging
- ID de stratégie
- EnableProtectedEventLogging
- Étendue
- Configuration ordinateur
- Pris en charge sur
- Au moins Windows Server 2016, Windows 10
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Composants Windows › Enregistrement des événements
Registre
EnableProtectedEventLogging
REG_DWORDOrdinateur- Valeur si activée
- 1
- Valeur si désactivée
- 0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging] ; Options (en utiliser une seule) ; Activé "EnableProtectedEventLogging"=dword:00000001 ; Désactivé "EnableProtectedEventLogging"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging" /v "EnableProtectedEventLogging" /t REG_DWORD /d 1 /f :: Désactivé reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging" /v "EnableProtectedEventLogging" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging' -Name 'EnableProtectedEventLogging' -PropertyType DWord -Value 1 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging' -Name 'EnableProtectedEventLogging' -PropertyType DWord -Value 0 -Force | Out-Null
EncryptionCertificate
REG_MULTI_SZOrdinateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- -
- Type de valeur
- REG_MULTI_SZ
- Obligatoire
- true
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging] ; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données ; Les données hex(2) et hex(7) doivent être écrites en hexadécimal (UTF-16LE) "EncryptionCertificate"=hex(7):<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog\ProtectedEventLogging" /v "EncryptionCertificate" /t REG_MULTI_SZ /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données 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 '<saisir la valeur>' -Force | Out-Null