指定通道繫結權杖強化層級 的登錄值 CBTHardeningLevelStatus 等 1 個電腦HKLM\Software\Policies\Microsoft\Windows\WinRM\Service
- 原則 ID
- CBTHardeningLevel_1
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows Vista
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › Windows 遠端管理 (WinRM) › WinRM 服務
登錄
CBTHardeningLevelStatus
-電腦CbtHardeningLevel
REG_SZ電腦- 啟用時的值
- 取決於選項值
- 元素
- 強化層級:
| 項目 | 儲存的值 |
|---|---|
| 無 | None |
| 寬鬆 | Relaxed |
| 嚴格 | Strict |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service] ; 選項 (只使用其中一個) ; 無 "CbtHardeningLevel"="None" ; 寬鬆 "CbtHardeningLevel"="Relaxed" ; 嚴格 "CbtHardeningLevel"="Strict"
CMD
:: 選項 (只使用其中一個) :: 無 reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "None" /f :: 寬鬆 reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "Relaxed" /f :: 嚴格 reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "Strict" /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null # 選項 (只使用其中一個) # 無 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'None' -Force | Out-Null # 寬鬆 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'Relaxed' -Force | Out-Null # 嚴格 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'Strict' -Force | Out-Null