Imposta stato 6to4: valore del Registro di sistema 6to4_StateComputerHKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition

ID criterio
6to4_State
Ambito
Configurazione computer
Supportato in
Almeno Windows Server 2008 R2 o Windows 7
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Rete › Impostazioni TCPIP › Tecnologie di transizione IPv6

Registro

6to4_State

REG_SZComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Scegliere uno degli stati seguenti:
Opzioni
VoceValore memorizzato
Stato predefinitoDefault
Stato abilitatoEnabled
Stato disabilitatoDisabled
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition]

; Opzioni (usarne solo una)
; Stato predefinito
"6to4_State"="Default"
; Stato abilitato
"6to4_State"="Enabled"
; Stato disabilitato
"6to4_State"="Disabled"
CMD
:: Opzioni (usarne solo una)

:: Stato predefinito
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "6to4_State" /t REG_SZ /d "Default" /f
:: Stato abilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "6to4_State" /t REG_SZ /d "Enabled" /f
:: Stato disabilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "6to4_State" /t REG_SZ /d "Disabled" /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Force | Out-Null

# Opzioni (usarne solo una)
# Stato predefinito
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name '6to4_State' -PropertyType String -Value 'Default' -Force | Out-Null
# Stato abilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name '6to4_State' -PropertyType String -Value 'Enabled' -Force | Out-Null
# Stato disabilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name '6to4_State' -PropertyType String -Value 'Disabled' -Force | Out-Null