Get the list of the update
1 |
wmic qfe get hotfixid,installedon | findstr MM/DD/YYYY > c:\list.txt |
- Open C:\list.txt in Notepad.
- Go to Edit > Replace and set the following field values:
Find what: KB
Replace with: Leave the line empty - Go to Edit > Replace and set the following field values:
Find what: MM/DD/YYYY
Replace with: Leave the line empty - Generate this uninstall script:
for /f %i in (‘type c:\list.txt’) do echo wusa /uninstall /kb:%i >> c:\uninstall.list
Open uninstal.list run each line by itselft.