Windows: batch to simultaneously uninstall multiple KB updates
Published: 02 Mar 2016 | Author: Mentor
In Windows to list the installed updates we can use these commands and to uninstal simultaneously multiple updates we can use the batch suggested here:
@echo off
for /f %%i in ('type c:\list.txt') do (
echo "Uninstalling KB%%i"
wusa /uninstall /kb:%%i /quiet /norestart
)
echo "Uninstallations Complete."
echo.echo "Rebooting..."
echo.
shutdown /r
In the file list.txt we have to indicate only the numbers of the update to remove.
Tags: