Desativar os servidores DNS IPv6 padrão: valor do Registro DisableIPv6DefaultDnsServersComputadorHKLM\Software\Policies\Microsoft\Windows NT\DNSClient
- ID da política
- DNS_TurnOffIPv6DefaultDnsServers
- Escopo
- Configuração do Computador
- Compatível com
- Windows Server 2012, Windows 8 ou Windows RT
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Rede › Cliente DNS
Registro
DisableIPv6DefaultDnsServers
REG_DWORDComputador- Valor habilitado
- 1
- Valor desabilitado
- 0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient] ; Opções (use apenas uma) ; Habilitada "DisableIPv6DefaultDnsServers"=dword:00000001 ; Desabilitada "DisableIPv6DefaultDnsServers"=dword:00000000
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "DisableIPv6DefaultDnsServers" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "DisableIPv6DefaultDnsServers" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'DisableIPv6DefaultDnsServers' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'DisableIPv6DefaultDnsServers' -PropertyType DWord -Value 0 -Force | Out-Null