Set Teredo Refresh Rate
Définir la fréquence de rafraîchissement de Teredo
Explanation
This policy setting allows you to configure the Teredo refresh rate.
Note: On a periodic basis (by default, every 30 seconds), Teredo clients send a single Router Solicitation packet to the Teredo server. The Teredo server sends a Router Advertisement Packet in response. This periodic packet refreshes the IP address and UDP port mapping in the translation table of the Teredo client's NAT device.
If you enable this policy setting, you can specify the refresh rate. If you choose a refresh rate longer than the port mapping in the Teredo client's NAT device, Teredo might stop working or connectivity might be intermittent.
If you disable or do not configure this policy setting, the refresh rate is configured using the local settings on the computer. The default refresh rate is 30 seconds.
Ce paramètre de stratégie vous permet de configurer la fréquence de rafraîchissement Teredo.
Remarque : régulièrement (par défaut, toutes les 30 secondes), les clients Teredo envoient un paquet de sollicitation de routeur unique au serveur Teredo. En réponse, le serveur Teredo envoie un paquet de publication de routeur. Ce paquet périodique actualise le mappage d’adresse IP et de port UDP dans la table de traduction du périphérique NAT du client Teredo.
Si vous activez ce paramètre de stratégie, vous pouvez spécifier la fréquence de rafraîchissement. Si vous choisissez une fréquence de rafraîchissement supérieure au délai de mappage de port dans le périphérique NAT du client Teredo, Teredo risque d’arrêter de fonctionner ou la connectivité peut être intermittente.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, la fréquence de rafraîchissement est configurée en utilisant les paramètres locaux de l’ordinateur. La fréquence de rafraîchissement par défaut est de 30 secondes.
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_Refresh_Rate
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Seconds
Set-ItemProperty -Path $k -Name 'Teredo_RefreshRate' -Value 30 -Type DWord # between 1 and 86400Disable
# Disable: tcpip/Teredo_Refresh_Rate
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": tcpip/Teredo_Refresh_Rate
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
Remove-ItemProperty -Path $k -Name 'Teredo_RefreshRate' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Seconds:Secondes :TeredoRefreshRateBox | Numeric boxdecimal | Teredo_RefreshRate | REG_DWORD | Required · Min: 1 · Max: 86400 · Default (UI): 30 |