Atualizar nível de segurança: valor do Registro UpdateSecurityLevelComputadorHKLM\Software\Policies\Microsoft\Windows NT\DNSClient
- ID da política
- DNS_UpdateSecurityLevel
- Escopo
- Configuração do Computador
- Compatível com
- Sistemas operacionais Windows Server 2003 e Windows XP Professional ou posterior
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Rede › Cliente DNS
Registro
UpdateSecurityLevel
REG_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- Atualizar nível de segurança:
| Item | Valor armazenado |
|---|---|
| Apenas seguro | 256 |
| Apenas não seguro | 16 |
| Não seguro seguido de seguro | 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) ; Apenas seguro "UpdateSecurityLevel"=dword:00000100 ; Apenas não seguro "UpdateSecurityLevel"=dword:00000010 ; Não seguro seguido de seguro "UpdateSecurityLevel"=dword:00000000
CMD
:: Opções (use apenas uma) :: Apenas seguro reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /t REG_DWORD /d 256 /f :: Apenas não seguro reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /t REG_DWORD /d 16 /f :: Não seguro seguido de seguro reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /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) # Apenas seguro New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 256 -Force | Out-Null # Apenas não seguro New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 16 -Force | Out-Null # Não seguro seguido de seguro New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 0 -Force | Out-Null