Especificar nível de proteção de token da ligação de canal: valor do Registro CBTHardeningLevelStatus e mais 1ComputadorHKLM\Software\Policies\Microsoft\Windows\WinRM\Service

ID da política
CBTHardeningLevel_1
Escopo
Configuração do Computador
Compatível com
Windows Vista ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › WinRM (Windows Remote Management) › Serviço WinRM

Registro

CBTHardeningLevelStatus

-Computador

CbtHardeningLevel

REG_SZComputador
Valor habilitado
Depende do valor da opção
Elemento
Nível de Proteção:
Opções
ItemValor armazenado
NenhumNone
ReduzidoRelaxed
EstritoStrict
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service]

; Opções (use apenas uma)
; Nenhum
"CbtHardeningLevel"="None"
; Reduzido
"CbtHardeningLevel"="Relaxed"
; Estrito
"CbtHardeningLevel"="Strict"
CMD
:: Opções (use apenas uma)

:: Nenhum
reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "None" /f
:: Reduzido
reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "Relaxed" /f
:: Estrito
reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "Strict" /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null

# Opções (use apenas uma)
# Nenhum
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'None' -Force | Out-Null
# Reduzido
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'Relaxed' -Force | Out-Null
# Estrito
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'Strict' -Force | Out-Null