Lichtgewichtpatches niet toestaan: registerwaarde DisableFlyweightPatchingComputerHKLM\Software\Policies\Microsoft\Windows\Installer
- Beleids-ID
- DisableFlyweightPatching
- Bereik
- Computerconfiguratie
- Ondersteund op
- Windows Installer v3.0
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Windows-onderdelen › Windows Installer
Register
DisableFlyweightPatching
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Installer Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Lichtgewichtpatches niet toestaan
| Item | Opgeslagen waarde |
|---|---|
| Patchoptimalisatie uitgeschakeld | 1 |
| Patchoptimalisatie ingeschakeld | 0 |
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) ; Patchoptimalisatie uitgeschakeld "DisableFlyweightPatching"=dword:00000001 ; Patchoptimalisatie ingeschakeld "DisableFlyweightPatching"=dword:00000000
CMD
:: Opties (gebruik er maar één) :: Patchoptimalisatie uitgeschakeld reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableFlyweightPatching" /t REG_DWORD /d 1 /f :: Patchoptimalisatie ingeschakeld reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableFlyweightPatching" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null # Opties (gebruik er maar één) # Patchoptimalisatie uitgeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableFlyweightPatching' -PropertyType DWord -Value 1 -Force | Out-Null # Patchoptimalisatie ingeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableFlyweightPatching' -PropertyType DWord -Value 0 -Force | Out-Null