- Find the list of packages installed on the machine with the issue by performing this command
dism /online /get-packages /format:table
for ease of reading I did the following:
dism /online /get-packages /format:table > patches.txt
- From the list get the Package Identity Name
Package_for_KB2870699~31bf3856ad364e35~amd64~~6.2.1.1
- Run this command to uninstall the update silently
DISM.exe /Online /Remove-Package /PackageName:Package_for_KB2870699~31bf3856ad364e35~amd64~~6.2.1.1 /quiet /norestart
This will run the uninstall without any open windows, and will not prompt for a reboot:
@echo off
wusa /uninstall /kb:2744842 /quiet /norestart
END
If you are manually running the script on a number of computers that you want to reboot after the uninstall, just change the /norestart switch to /forcestart:
@echo off
wusa /uninstall /kb:2744842 /quiet /forcestart
END
No Comments