Uninstall an Windows Update with a Script

-1

I created a series of images for various types of hardware based on a user specs, but they have now decided that they no longer want IE9 but IE8 instead due to web apps.

I can roll back the update on the images but we have already deployed on around 200 desktops and I now need to figure out a way to uninstall it using an automated method.

Its basically the IE9 Windows update that needs to be removed.

Any suggestions how i can accomplish it with a script? I did the usual googling but only found one vaguely documented vb script.

Arturski

Posted 2012-10-02T10:59:09.967

Reputation: 227

Answers

1

I assume the client machines are Windows 7. Since IE 9 is treated as a feature in Windows 7, you can uninstall it, which will automatically revert IE to IE 8.

To add/remove Windows features, you can use the built in DISM.exe. A good guide to use DISM.exe to install/uninstall Windows Features can be found here. On my Windows 7 x64 machine, the name of IE feature is:

enter image description here

DISM can be used to service Windows Vista with Service Pack 1 (SP1) and Windows Server 2008. When used with Windows 7 and Windows Server 2008 R2, you get the added functionality.

Ganesh R.

Posted 2012-10-02T10:59:09.967

Reputation: 4 869

thank you for pointing me in the right direction. I have not used the DISM tools for updates yet. Will do some reading on this. Not sure Why I have been voted down though. – Arturski – 2012-10-02T12:37:17.817