Open in the explorer

Set 6to4 State

Définir l’état ISATAP

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › TCPIP Settings › IPv6 Transition Technologies FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Paramètres TCPIP › Technologies de transition IPv6
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
tcpip.admx
Internal name
tcpip/6to4_State

Explanation

This policy setting allows you to configure 6to4, an address assignment and router-to-router automatic tunneling technology that is used to provide unicast IPv6 connectivity between IPv6 sites and hosts across the IPv4 Internet. 6to4 uses the global address prefix: 2002:WWXX:YYZZ::/48 in which the letters are a hexadecimal representation of the global IPv4 address (w.x.y.z) assigned to a site.

If you disable or do not configure this policy setting, the local host setting is used.

If you enable this policy setting, you can configure 6to4 with one of the following settings:

Policy Default State: 6to4 is turned off and connectivity with 6to4 will not be available.

Policy Enabled State: If a global IPv4 address is present, the host will have a 6to4 interface. If no global IPv4 address is present, the host will not have a 6to4 interface.

Policy Disabled State: 6to4 is turned off and connectivity with 6to4 will not be available.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer le protocole 6to4, une technologie d’attribution d’adresses et de tunneling automatique routeur à routeur utilisée pour assurer la connectivité IPv6 monodiffusion entre les hôtes et les sites IPv6 sur le réseau Internet IPv4. Le protocole 6to4 utilise le préfixe d’adresse globale 2002:WWXX:YYZZ::/48 dans lequel les lettres sont une représentation hexadécimale de l’adresse IPv4 globale (w.x.y.z) attribuée à un site.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, c’est le paramètre de l’hôte local qui est utilisé.

Si vous activez ce paramètre de stratégie, vous pouvez configurer le protocole 6to4 avec l’un des paramètres suivants :

État par défaut de la stratégie : 6to4 est désactivé et la connectivité avec 6to4 n’est pas disponible.

État activé de la stratégie : si une adresse IPv4 globale est présente, l’hôte dispose d’une interface 6to4. En l’absence d’adresse IPv4 globale, l’hôte ne dispose d’aucune interface 6to4.

État désactivé de la stratégie : le protocole 6to4 est désactivé et la connectivité à 6to4 n’est pas disponible.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: tcpip/6to4_State
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select from the following states
# Possible options:
#   Default State = Default
#   Enabled State = Enabled
#   Disabled State = Disabled
Set-ItemProperty -Path $k -Name '6to4_State' -Value 'Default' -Type String

Disable

# Disable: tcpip/6to4_State
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": tcpip/6to4_State
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
Remove-ItemProperty -Path $k -Name '6to4_State' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Select from the following states:Sélectionnez l’un des états suivants :StateSelectDrop-down listenum6to4_StateREG_SZ
Required · Default choice (UI): #0
LabelValue
Default StateREG_SZ = Default
Enabled StateREG_SZ = Enabled
Disabled StateREG_SZ = Disabled

Availability