加密預示修復 的登錄值 AllowEncryptionOracle電腦HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters

原則 ID
AllowEncryptionOracle
適用範圍
電腦設定
支援的作業系統
至少需要 Windows Vista
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
系統 › 認證委派

登錄

AllowEncryptionOracle

REG_DWORD電腦
啟用時的值
取決於選項值
元素
保護層級:
選項
項目儲存的值
強制使用更新的用戶端0
已降低影響1
易受攻擊2
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 強制使用更新的用戶端
"AllowEncryptionOracle"=dword:00000000
; 已降低影響
"AllowEncryptionOracle"=dword:00000001
; 易受攻擊
"AllowEncryptionOracle"=dword:00000002
CMD
:: 選項 (只使用其中一個)

:: 強制使用更新的用戶端
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v "AllowEncryptionOracle" /t REG_DWORD /d 0 /f
:: 已降低影響
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v "AllowEncryptionOracle" /t REG_DWORD /d 1 /f
:: 易受攻擊
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v "AllowEncryptionOracle" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Force | Out-Null

# 選項 (只使用其中一個)
# 強制使用更新的用戶端
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Name 'AllowEncryptionOracle' -PropertyType DWord -Value 0 -Force | Out-Null
# 已降低影響
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Name 'AllowEncryptionOracle' -PropertyType DWord -Value 1 -Force | Out-Null
# 易受攻擊
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Name 'AllowEncryptionOracle' -PropertyType DWord -Value 2 -Force | Out-Null