Prohibit User Installs: registry value DisableUserInstallsComputerHKLM\Software\Policies\Microsoft\Windows\Installer

Policy ID
MSI_DisableUserInstalls
Scope
Computer Configuration
Supported on
Microsoft Windows XP or Windows 2000 with Windows Installer v2.0
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Windows Installer

Registry

DisableUserInstalls

REG_DWORDComputer
Enabled value
Depends on the option value
Element
User Install Behavior:
Options
ItemStored value
Allow User Installs0
Hide User Installs1
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Allow User Installs
"DisableUserInstalls"=dword:00000000
; Hide User Installs
"DisableUserInstalls"=dword:00000001
CMD
:: Options (use only one)

:: Allow User Installs
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableUserInstalls" /t REG_DWORD /d 0 /f
:: Hide User Installs
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableUserInstalls" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# Options (use only one)
# Allow User Installs
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableUserInstalls' -PropertyType DWord -Value 0 -Force | Out-Null
# Hide User Installs
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableUserInstalls' -PropertyType DWord -Value 1 -Force | Out-Null