Installaties door gebruiker verbieden: registerwaarde DisableUserInstallsComputerHKLM\Software\Policies\Microsoft\Windows\Installer

Beleids-ID
MSI_DisableUserInstalls
Bereik
Computerconfiguratie
Ondersteund op
Microsoft Windows XP of Windows 2000 met Windows Installer v2.0
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Windows Installer

Register

DisableUserInstalls

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Gedrag bij installatie op gebruikersniveau:
Opties
ItemOpgeslagen waarde
Installaties door gebruiker toestaan0
Installaties door gebruiker verbergen1
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Installaties door gebruiker toestaan
"DisableUserInstalls"=dword:00000000
; Installaties door gebruiker verbergen
"DisableUserInstalls"=dword:00000001
CMD
:: Opties (gebruik er maar één)

:: Installaties door gebruiker toestaan
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableUserInstalls" /t REG_DWORD /d 0 /f
:: Installaties door gebruiker verbergen
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableUserInstalls" /t REG_DWORD /d 1 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# Opties (gebruik er maar één)
# Installaties door gebruiker toestaan
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableUserInstalls' -PropertyType DWord -Value 0 -Force | Out-Null
# Installaties door gebruiker verbergen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableUserInstalls' -PropertyType DWord -Value 1 -Force | Out-Null