ドライバー パッケージのコード署名 のレジストリ値 BehaviorOnFailedVerifyユーザーHKCU\Software\Policies\Microsoft\Windows NT\Driver Signing
- ポリシー ID
- DriverSigning
- 適用対象
- ユーザーの構成
- サポートされるバージョン
- Windows Server 2003、Windows XP、Windows 2000 のみ
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- システム › ドライバーのインストール
レジストリ
BehaviorOnFailedVerify
REG_DWORDユーザー- 有効時の値
- オプションの値に依存
- 要素
- デジタル署名なしのドライバー ファイルを検出したとき:
| 項目 | 保存される値 |
|---|---|
| 無視 | 0 |
| 警告 | 1 |
| ブロック | 2 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing] ; 選択項目 (1 つだけ使用) ; 無視 "BehaviorOnFailedVerify"=dword:00000000 ; 警告 "BehaviorOnFailedVerify"=dword:00000001 ; ブロック "BehaviorOnFailedVerify"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: 無視 reg add "HKCU\Software\Policies\Microsoft\Windows NT\Driver Signing" /v "BehaviorOnFailedVerify" /t REG_DWORD /d 0 /f :: 警告 reg add "HKCU\Software\Policies\Microsoft\Windows NT\Driver Signing" /v "BehaviorOnFailedVerify" /t REG_DWORD /d 1 /f :: ブロック reg add "HKCU\Software\Policies\Microsoft\Windows NT\Driver Signing" /v "BehaviorOnFailedVerify" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows NT\Driver Signing' -Force | Out-Null # 選択項目 (1 つだけ使用) # 無視 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows NT\Driver Signing' -Name 'BehaviorOnFailedVerify' -PropertyType DWord -Value 0 -Force | Out-Null # 警告 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows NT\Driver Signing' -Name 'BehaviorOnFailedVerify' -PropertyType DWord -Value 1 -Force | Out-Null # ブロック New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows NT\Driver Signing' -Name 'BehaviorOnFailedVerify' -PropertyType DWord -Value 2 -Force | Out-Null