Monday, March 23, 2015

Uninstall IE11 package from SCCM 2007


For x86:

Create CMD file with the below command.

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart

For x64:

Create CMD file with the below command.

MKDIR "%SYSTEMDRIVE%\temp\IE11"
%~dps0IE11-Windows6.1-x64-en-us.exe /X:%systemdrive%\temp\IE11
%systemroot%\SysNative\pkgmgr.exe /up /m:%systemdrive%\temp\ie11\IE-Win7.cab /quiet /norestart

RMDIR %SYSTEMDRIVE%\temp\IE11 /s /q