Określ poziom ograniczenia funkcjonalności tokenu powiązania kanałów: wartość rejestru CBTHardeningLevelStatus i 1 więcejKomputerHKLM\Software\Policies\Microsoft\Windows\WinRM\Service
- Identyfikator zasady
- CBTHardeningLevel_1
- Zakres
- Konfiguracja komputera
- Obsługiwane w systemach
- System Windows Vista lub nowszy
- Źródło
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
- Kategoria
- Składniki systemu Windows › Zdalne zarządzanie systemem Windows (WinRM) › Usługa WinRM
Rejestr
CBTHardeningLevelStatus
-KomputerHKLM\Software\Policies\Microsoft\Windows\WinRM\Service Bieżący klucz
CbtHardeningLevel
REG_SZKomputerHKLM\Software\Policies\Microsoft\Windows\WinRM\Service Bieżący klucz
- Wartość włączona
- Zależy od wartości opcji
- Element
- Poziom ograniczenia funkcjonalności:
| Pozycja | Zapisana wartość |
|---|---|
| Brak | None |
| Swobodne | Relaxed |
| Ścisłe | Strict |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service] ; Opcje (użyj tylko jednej) ; Brak "CbtHardeningLevel"="None" ; Swobodne "CbtHardeningLevel"="Relaxed" ; Ścisłe "CbtHardeningLevel"="Strict"
CMD
:: Opcje (użyj tylko jednej) :: Brak reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "None" /f :: Swobodne reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "Relaxed" /f :: Ścisłe reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "CbtHardeningLevel" /t REG_SZ /d "Strict" /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null # Opcje (użyj tylko jednej) # Brak New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'None' -Force | Out-Null # Swobodne New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'Relaxed' -Force | Out-Null # Ścisłe New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'CbtHardeningLevel' -PropertyType String -Value 'Strict' -Force | Out-Null