Set Teredo State
Définir l’état de Teredo
Explanation
This policy setting allows you to configure Teredo, an address assignment and automatic tunneling technology that provides unicast IPv6 connectivity across the IPv4 Internet.
If you disable or do not configure this policy setting, the local host settings are used.
If you enable this policy setting, you can configure Teredo with one of the following settings:
Default: The default state is "Client."
Disabled: No Teredo interfaces are present on the host.
Client: The Teredo interface is present only when the host is not on a network that includes a domain controller.
Enterprise Client: The Teredo interface is always present, even if the host is on a network that includes a domain controller.
Ce paramètre de stratégie vous permet de configurer Teredo, une technologie d’attribution d’adresses et de tunneling automatique qui assure la connectivité IPv6 monodiffusion sur le réseau Internet IPv4.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les paramètres de l’hôte local sont utilisés.
Si vous activez ce paramètre de stratégie, vous pouvez configurer Teredo avec un des paramètres suivants :
Valeur par défaut : l’état par défaut est « Client ».
Désactivé : aucune interface Teredo n’est présente sur l’hôte.
Client : l’interface Teredo n’est présente que si l’hôte n’appartient pas à un réseau qui inclut un contrôleur de domaine.
Client Entreprise : l’interface Teredo est toujours présente, même si l’hôte appartient à un réseau qui inclut un contrôleur de domaine.
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/Teredo_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
# Disabled State = Disabled
# Client = Client
# Enterprise Client = Enterprise Client
Set-ItemProperty -Path $k -Name 'Teredo_State' -Value 'Default' -Type StringDisable
# Disable: tcpip/Teredo_State
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": tcpip/Teredo_State
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
Remove-ItemProperty -Path $k -Name 'Teredo_State' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Select from the following states:Sélectionnez l’un des états suivants :StateSelect | Drop-down listenum | Teredo_State | REG_SZ | Required · Default choice (UI): #0
|