セキュリティ レベルを更新する のレジストリ値 UpdateSecurityLevelコンピューターHKLM\Software\Policies\Microsoft\Windows NT\DNSClient

ポリシー ID
DNS_UpdateSecurityLevel
適用対象
コンピューターの構成
サポートされるバージョン
Windows Server 2003 オペレーティング システム、Windows XP Professional またはそれ以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
ネットワーク › DNS クライアント

レジストリ

UpdateSecurityLevel

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
セキュリティ レベルを更新する:
オプション
項目保存される値
セキュリティ付きのみ256
セキュリティなしのみ16
セキュリティなしが拒否された場合0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; セキュリティ付きのみ
"UpdateSecurityLevel"=dword:00000100
; セキュリティなしのみ
"UpdateSecurityLevel"=dword:00000010
; セキュリティなしが拒否された場合
"UpdateSecurityLevel"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: セキュリティ付きのみ
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /t REG_DWORD /d 256 /f
:: セキュリティなしのみ
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /t REG_DWORD /d 16 /f
:: セキュリティなしが拒否された場合
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "UpdateSecurityLevel" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# セキュリティ付きのみ
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 256 -Force | Out-Null
# セキュリティなしのみ
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 16 -Force | Out-Null
# セキュリティなしが拒否された場合
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'UpdateSecurityLevel' -PropertyType DWord -Value 0 -Force | Out-Null