Disabilita Windows Installer: valore del Registro di sistema DisableMSIComputerHKLM\Software\Policies\Microsoft\Windows\Installer

ID criterio
DisableMSI
Ambito
Configurazione computer
Supportato in
Almeno Windows 2000
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Componenti di Windows › Windows Installer

Registro

DisableMSI

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Disabilita Windows Installer
Opzioni
VoceValore memorizzato
Sempre2
Solo per applicazioni non gestite1
Mai0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Sempre
"DisableMSI"=dword:00000002
; Solo per applicazioni non gestite
"DisableMSI"=dword:00000001
; Mai
"DisableMSI"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Sempre
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableMSI" /t REG_DWORD /d 2 /f
:: Solo per applicazioni non gestite
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableMSI" /t REG_DWORD /d 1 /f
:: Mai
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableMSI" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# Opzioni (usarne solo una)
# Sempre
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableMSI' -PropertyType DWord -Value 2 -Force | Out-Null
# Solo per applicazioni non gestite
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableMSI' -PropertyType DWord -Value 1 -Force | Out-Null
# Mai
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableMSI' -PropertyType DWord -Value 0 -Force | Out-Null