Set Teredo Server Name
Définir le nom du serveur Teredo
Explanation
This policy setting allows you to specify the name of the Teredo server. This server name will be used on the Teredo client computer where this policy setting is applied.
If you enable this policy setting, you can specify a Teredo server name that applies to a Teredo client.
If you disable or do not configure this policy setting, the local settings on the computer are used to determine the Teredo server name.
Ce paramètre de stratégie vous permet de spécifier le nom du serveur Teredo. Ce nom de serveur est utilisé sur l’ordinateur client Teredo sur lequel ce paramètre de stratégie est appliqué.
Si vous activez ce paramètre de stratégie, vous pouvez spécifier un nom de serveur Teredo qui s’applique à un client Teredo.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les paramètres locaux de l’ordinateur sont utilisés pour déterminer le nom du serveur Teredo.
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_Server_Name
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enter a Teredo server name
Set-ItemProperty -Path $k -Name 'Teredo_ServerName' -Value '<value>' -Type StringDisable
# Disable: tcpip/Teredo_Server_Name
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": tcpip/Teredo_Server_Name
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
Remove-ItemProperty -Path $k -Name 'Teredo_ServerName' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Enter a Teredo server name:Entrez un nom de serveur Teredo :TeredoServerNameBox | Text boxtext | Teredo_ServerName | REG_SZ |