Open in the explorer

Dynamic update

Mise à jour dynamique

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › DNS Client FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Client DNS
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
DnsClient.admx
Internal name
DnsClient/DNS_RegistrationEnabled

Explanation

Specifies if DNS dynamic update is enabled. DNS clients configured for DNS dynamic update automatically register and update their DNS resource records with a DNS server.

If you enable this policy setting, or you do not configure this policy setting, the DNS client will attempt to use dynamic DNS registration on all network connections that have connection-specific dynamic DNS registration enabled. For a dynamic DNS registration to be enabled on a network connection, the connection-specific configuration must allow dynamic DNS registration, and this policy setting must not be disabled.

If you disable this policy setting, the DNS client may not use dynamic DNS registration for any of their network connections, regardless of the configuration for individual network connections.

French text from Windows 11 26H2

Spécifie si la mise à jour dynamique DNS est activée. Les clients DNS configurés pour la mise à jour dynamique DNS inscrivent et mettent à jour automatiquement leurs enregistrements de ressources DNS auprès d’un serveur DNS.

Si vous activez ce paramètre de stratégie ou si vous ne le configurez pas, le client DNS tente d’utiliser l’inscription DNS dynamique sur toutes les connexions réseau pour lesquelles l’inscription DNS dynamique spécifique à la connexion est activée. Pour qu’une inscription DNS dynamique soit activée sur une connexion réseau, la configuration spécifique à la connexion doit autoriser l’inscription DNS dynamique et ce paramètre de stratégie ne doit pas être désactivé.

Si vous désactivez ce paramètre de stratégie, le client DNS ne peut pas utiliser l’inscription DNS dynamique pour ses connexions réseau, quelle que soit la configuration des connexions réseau individuelles.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient
Value name
RegistrationEnabled
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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: DnsClient/DNS_RegistrationEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RegistrationEnabled' -Value 1 -Type DWord

Disable

# Disable: DnsClient/DNS_RegistrationEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RegistrationEnabled' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": DnsClient/DNS_RegistrationEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
Remove-ItemProperty -Path $k -Name 'RegistrationEnabled' -ErrorAction SilentlyContinue

Availability