Livello di sicurezza aggiornamenti: valore del Registro di sistema UpdateSecurityLevelComputerHKLM\Software\Policies\Microsoft\Windows NT\DNSClient

ID criterio
DNS_UpdateSecurityLevel
Ambito
Configurazione computer
Supportato in
Almeno Windows Server 2003 o Windows XP Professional
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Rete › Client DNS

Registro

UpdateSecurityLevel

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Livello di sicurezza aggiornamenti:
Opzioni
VoceValore memorizzato
Solo protetti256
Solo non protetti16
Prima non protetti, poi protetti0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient]

; Opzioni (usarne solo una)
; Solo protetti
"UpdateSecurityLevel"=dword:00000100
; Solo non protetti
"UpdateSecurityLevel"=dword:00000010
; Prima non protetti, poi protetti
"UpdateSecurityLevel"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Solo protetti
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /t REG_DWORD /d 256 /f
:: Solo non protetti
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /t REG_DWORD /d 16 /f
:: Prima non protetti, poi protetti
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Force | Out-Null

# Opzioni (usarne solo una)
# Solo protetti
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 256 -Force | Out-Null
# Solo non protetti
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 16 -Force | Out-Null
# Prima non protetti, poi protetti
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 0 -Force | Out-Null