KDC 支援宣告、複合驗證以及 Kerberos 保護 的登錄值 EnableCbacAndArmor 等 1 個電腦HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters

原則 ID
CbacAndArmor
適用範圍
電腦設定
支援的作業系統
至少需要 Windows Server 2012、Windows 8 或 Windows RT
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
系統 › KDC

登錄

EnableCbacAndArmor

REG_DWORD電腦
啟用時的值
1
停用時的值
0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 已啟用
"EnableCbacAndArmor"=dword:00000001
; 已停用
"EnableCbacAndArmor"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已啟用
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "EnableCbacAndArmor" /t REG_DWORD /d 1 /f
:: 已停用
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "EnableCbacAndArmor" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null

# 選項 (只使用其中一個)
# 已啟用
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'EnableCbacAndArmor' -PropertyType DWord -Value 1 -Force | Out-Null
# 已停用
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'EnableCbacAndArmor' -PropertyType DWord -Value 0 -Force | Out-Null

CbacAndArmorLevel

REG_DWORD電腦
啟用時的值
取決於選項值
元素
宣告、動態存取控制的複合驗證以及 Kerberos 保護選項:
選項
項目儲存的值
不支援0
支援1
永遠提供宣告2
未受保護的驗證要求失敗3
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 不支援
"CbacAndArmorLevel"=dword:00000000
; 支援
"CbacAndArmorLevel"=dword:00000001
; 永遠提供宣告
"CbacAndArmorLevel"=dword:00000002
; 未受保護的驗證要求失敗
"CbacAndArmorLevel"=dword:00000003
CMD
:: 選項 (只使用其中一個)

:: 不支援
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "CbacAndArmorLevel" /t REG_DWORD /d 0 /f
:: 支援
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "CbacAndArmorLevel" /t REG_DWORD /d 1 /f
:: 永遠提供宣告
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "CbacAndArmorLevel" /t REG_DWORD /d 2 /f
:: 未受保護的驗證要求失敗
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "CbacAndArmorLevel" /t REG_DWORD /d 3 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null

# 選項 (只使用其中一個)
# 不支援
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'CbacAndArmorLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# 支援
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'CbacAndArmorLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# 永遠提供宣告
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'CbacAndArmorLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# 未受保護的驗證要求失敗
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'CbacAndArmorLevel' -PropertyType DWord -Value 3 -Force | Out-Null