Proibir flyweight patching: valor do Registro DisableFlyweightPatchingComputadorHKLM\Software\Policies\Microsoft\Windows\Installer
- ID da política
- DisableFlyweightPatching
- Escopo
- Configuração do Computador
- Compatível com
- Windows Installer v3.0
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Componentes do Windows › Windows Installer
Registro
DisableFlyweightPatching
REG_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- Proibir Flyweight Patching
| Item | Valor armazenado |
|---|---|
| Otimização de Patches Desligada | 1 |
| Otimização de Patches Ligada | 0 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer] ; Opções (use apenas uma) ; Otimização de Patches Desligada "DisableFlyweightPatching"=dword:00000001 ; Otimização de Patches Ligada "DisableFlyweightPatching"=dword:00000000
CMD
:: Opções (use apenas uma) :: Otimização de Patches Desligada reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableFlyweightPatching" /t REG_DWORD /d 1 /f :: Otimização de Patches Ligada reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableFlyweightPatching" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null # Opções (use apenas uma) # Otimização de Patches Desligada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableFlyweightPatching' -PropertyType DWord -Value 1 -Force | Out-Null # Otimização de Patches Ligada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableFlyweightPatching' -PropertyType DWord -Value 0 -Force | Out-Null