Proibisci applicazione di patch ottimizzata: valore del Registro di sistema DisableFlyweightPatchingComputerHKLM\Software\Policies\Microsoft\Windows\Installer
- ID criterio
- DisableFlyweightPatching
- Ambito
- Configurazione computer
- Supportato in
- Windows Installer versione 3.0
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Componenti di Windows › Windows Installer
Registro
DisableFlyweightPatching
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Installer Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Proibisci applicazione di patch ottimizzata
| Voce | Valore memorizzato |
|---|---|
| Ottimizzazione delle patch disattivata | 1 |
| Ottimizzazione delle patch attivata | 0 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer] ; Opzioni (usarne solo una) ; Ottimizzazione delle patch disattivata "DisableFlyweightPatching"=dword:00000001 ; Ottimizzazione delle patch attivata "DisableFlyweightPatching"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Ottimizzazione delle patch disattivata reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableFlyweightPatching" /t REG_DWORD /d 1 /f :: Ottimizzazione delle patch attivata reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableFlyweightPatching" /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) # Ottimizzazione delle patch disattivata New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableFlyweightPatching' -PropertyType DWord -Value 1 -Force | Out-Null # Ottimizzazione delle patch attivata New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableFlyweightPatching' -PropertyType DWord -Value 0 -Force | Out-Null