Encryption Oracle Remediation: registry value AllowEncryptionOracleComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters

Policy ID
AllowEncryptionOracle
Scope
Computer Configuration
Supported on
At least Windows Vista
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
System › Credentials Delegation

Registry

AllowEncryptionOracle

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Protection Level:
Options
ItemStored value
Force Updated Clients0
Mitigated1
Vulnerable2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters]

; Options (use only one)
; Force Updated Clients
"AllowEncryptionOracle"=dword:00000000
; Mitigated
"AllowEncryptionOracle"=dword:00000001
; Vulnerable
"AllowEncryptionOracle"=dword:00000002
CMD
:: Options (use only one)

:: Force Updated Clients
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v "AllowEncryptionOracle" /t REG_DWORD /d 0 /f
:: Mitigated
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v "AllowEncryptionOracle" /t REG_DWORD /d 1 /f
:: Vulnerable
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v "AllowEncryptionOracle" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Force | Out-Null

# Options (use only one)
# Force Updated Clients
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Name 'AllowEncryptionOracle' -PropertyType DWord -Value 0 -Force | Out-Null
# Mitigated
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Name 'AllowEncryptionOracle' -PropertyType DWord -Value 1 -Force | Out-Null
# Vulnerable
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Name 'AllowEncryptionOracle' -PropertyType DWord -Value 2 -Force | Out-Null