非管理者によるこれらのデバイス セットアップ クラスのドライバーのインストールを許可する のレジストリ値 DriverInstall_Classes_AllowUser (AllowUserDeviceClasses)コンピューターHKLM\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses
- ポリシー ID
- DriverInstall_Classes_AllowUser
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Vista 以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- システム › ドライバーのインストール
レジストリ
AllowUserDeviceClasses
REG_DWORDコンピューター- 有効時の値
- 1
- 無効時の値
- 0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions] ; 選択項目 (1 つだけ使用) ; 有効 "AllowUserDeviceClasses"=dword:00000001 ; 無効 "AllowUserDeviceClasses"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions" /v "AllowUserDeviceClasses" /t REG_DWORD /d 1 /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions" /v "AllowUserDeviceClasses" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions' -Name 'AllowUserDeviceClasses' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions' -Name 'AllowUserDeviceClasses' -PropertyType DWord -Value 0 -Force | Out-Null
(リストの値)
REG_SZコンピューター- 有効時の値
- オプションの値に依存
- 要素
- 次のクラスのドライバーパッケージをインストールすることをユーザーに許可する:
- 値の種類
- REG_SZ
- 値の名前のプレフィックス
- -
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses] ; リスト項目ごとに番号を 1 つずつ増やして値を追加します "1"="<値を入力>" "2"="<値を入力>"
CMD
:: リスト項目ごとに番号を 1 つずつ増やして値を追加します reg add "HKLM\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses" /v "1" /t REG_SZ /d "<値を入力>" /f reg add "HKLM\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses" /v "2" /t REG_SZ /d "<値を入力>" /f
PowerShell
# リスト項目ごとに番号を 1 つずつ増やして値を追加します New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses' -Name '1' -PropertyType String -Value '<値を入力>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses' -Name '2' -PropertyType String -Value '<値を入力>' -Force | Out-Null