Auto-commit: 2025-10-31 08:55:43

This commit is contained in:
David Wuibaille
2025-10-31 08:55:43 +01:00
parent 9bb5ad24bb
commit 24c0c6509f
33 changed files with 13144 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# Remove Windows Updates by KB (PowerShell)
Uninstalls all installed Windows packages whose name matches a given **KB** via DISM PowerShell cmdlets.
## Usage
```powershell
# List installed packages and filter by KB
Get-WindowsPackage -Online | Where-Object { $_.PackageName -match "KB5032189" } | Select-Object PackageName, State, InstallTime
```
```powershell
# Uninstall all packages matching the KB
Remove-Package -KB "KB4589210"
```
## Notes & limitations
MSU files: Remove-WindowsPackage removes packages in the image (.cab/package identities), not .msu directly
SSUs cant be uninstalled: Servicing Stack Updates modify the update stack and are not removable.
After ResetBase: If you ran DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase, existing update packages can no longer be uninstalled.