ユーザー単位のインストールを禁止する のレジストリ値 DisableUserInstallsコンピューターHKLM\Software\Policies\Microsoft\Windows\Installer

ポリシー ID
MSI_DisableUserInstalls
適用対象
コンピューターの構成
サポートされるバージョン
Windows インストーラー v2.0 が導入された Microsoft Windows XP または Windows 2000
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › Windows インストーラー

レジストリ

DisableUserInstalls

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
ユーザー単位のインストールの処理:
オプション
項目保存される値
ユーザー単位のインストールを許可する0
ユーザー単位のインストールを隠す1
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer]

; 選択項目 (1 つだけ使用)
; ユーザー単位のインストールを許可する
"DisableUserInstalls"=dword:00000000
; ユーザー単位のインストールを隠す
"DisableUserInstalls"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用)

:: ユーザー単位のインストールを許可する
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableUserInstalls" /t REG_DWORD /d 0 /f
:: ユーザー単位のインストールを隠す
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableUserInstalls" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# ユーザー単位のインストールを許可する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableUserInstalls' -PropertyType DWord -Value 0 -Force | Out-Null
# ユーザー単位のインストールを隠す
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableUserInstalls' -PropertyType DWord -Value 1 -Force | Out-Null