Policy
Prohibit removal of updates
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
This policy setting controls the ability for users or administrators to remove Windows Installer based updates. This policy setting should be used if you need to maintain a tight control over updates. One example is a lockdown environment where you want to ensure that updates once installed cannot be removed by users or administrators. If you enable this policy setting, updates cannot be removed from the computer by a user or an administrator. The Windows Installer can still remove an update that is no longer applicable to the product. If you disable or do not configure this policy setting, a user can remove an update from the computer only if the user has been granted privileges to remove the update. This can depend on whether the user is an administrator, whether "Disable Windows Installer" and "Always install with elevated privileges" policy settings are set, and whether the update was installed in a per-user managed, per-user unmanaged, or per-machine context."
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\Installer\DisablePatchUninstall | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow user control over installsAt least Windows 2000
- ComputerAllow users to browse for source while elevatedAt least Windows 2000
- ComputerAllow users to patch elevated productsAt least Windows 2000
- ComputerAllow users to use media source while elevatedAt least Windows 2000
- UserAlways install with elevated privilegesAt least Windows 2000
- ComputerAlways install with elevated privilegesAt least Windows 2000
- ComputerControl maximum size of baseline file cacheWindows Installer v3.0
- ComputerEnforce upgrade component rulesWindows Installer v3.0
- ComputerPrevent embedded UIWindows Installer v4.5
- ComputerPrevent Internet Explorer security prompt for Windows Installer scriptsAt least Windows 2000
- UserPrevent removable media source for any installationAt least Windows 2000
- ComputerPrevent users from using Windows Installer to install updates and upgradesAt least Windows 2000