These commands can remove pending and stuck Windows updates. This can be helpful if you have Windows updates that won't be applied. The part in red you need to replace the package name with what you want to remove. The first command line shows all Windows updates. You'll need to open CMD as an admin to run these. Once you open the packages text, (the output path can be where-ever you like), the column, State will tell you if it's pending. Once you remove it, running the Windows update should show this again, ready to be installed.
To remove Windows updates, use these commands:
dism /online /get-packages /format:table > C:\packages.txt
dism /online /remove-package /packagename:replace_this_
No comments:
Post a Comment