Ustaw stan protokołu 6to4: wartość rejestru 6to4_StateKomputerHKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition
- Identyfikator zasady
- 6to4_State
- Zakres
- Konfiguracja komputera
- Obsługiwane w systemach
- System Windows Server 2008 R2 lub nowszy albo system Windows 7
- Źródło
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
- Kategoria
- Sieć › Ustawienia protokołu TCPIP › Technologie przejściowe IPv6
Rejestr
6to4_State
REG_SZKomputer- Wartość włączona
- Zależy od wartości opcji
- Element
- Dokonaj wyboru spośród następujących stanów:
| Pozycja | Zapisana wartość |
|---|---|
| Stan domyślny | Default |
| Stan włączenia | Enabled |
| Stan wyłączenia | Disabled |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition] ; Opcje (użyj tylko jednej) ; Stan domyślny "6to4_State"="Default" ; Stan włączenia "6to4_State"="Enabled" ; Stan wyłączenia "6to4_State"="Disabled"
CMD
:: Opcje (użyj tylko jednej) :: Stan domyślny reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "6to4_State" /t REG_SZ /d "Default" /f :: Stan włączenia reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "6to4_State" /t REG_SZ /d "Enabled" /f :: Stan wyłączenia reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "6to4_State" /t REG_SZ /d "Disabled" /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Force | Out-Null # Opcje (użyj tylko jednej) # Stan domyślny New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name '6to4_State' -PropertyType String -Value 'Default' -Force | Out-Null # Stan włączenia New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name '6to4_State' -PropertyType String -Value 'Enabled' -Force | Out-Null # Stan wyłączenia New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name '6to4_State' -PropertyType String -Value 'Disabled' -Force | Out-Null