Uninstall Internet Explorer 9

(imported topic written by SystemAdmin)

I’m trying to uninstall Internet Explorer 9 due to many different issues. I am having trouble figuring out how to do this.

I found references to this location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages

Not sure where to go from here since I cannot find an obvious entry for IE9 in the above reg entry.

(imported comment written by SystemAdmin)

This seems to be the command line, says to do it twice:

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

From here: http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/methods-to-uninstall-remove-ie9/e28fba17-245a-e011-8dfc-68b599b31bf5

(imported comment written by SystemAdmin)

perhaps also:

wusa /uninstall /kb: /quiet /norestart

(imported comment written by SystemAdmin)

pkgmgr /up:; /quiet /norestart

Where the is in the form: name~publickeytoken~processArchitecture~~version

From Here:

http://technet.microsoft.com/en-us/library/cc749465(WS.10).aspx

(imported comment written by SystemAdmin)

I tried:

wait {system folder as string & “”}pkgmgr /up:Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~9.4.8112.16421 /norestart

And I get “An attempt was made to load a program with an incorrect format” error from Windows Package Manager.

(imported comment written by SystemAdmin)

Seems this is what is needed:

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~9.4.8112.16421 /norestart

Which gives an access denied error, which may not be an issue if run from the system account

(imported comment written by SystemAdmin)

Running the command from the system account does not address the “Operation failed with 0x80070005 Access is denied.” error.

(imported comment written by SystemAdmin)

I think part of the issue is there are many packages, and the order in which you uninstall them matters.

(imported comment written by SystemAdmin)

“Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~9.4.8112.16421”

“Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~9.4.8112.16421”

“Microsoft-Windows-InternetExplorer-Package-MiniLP~31bf3856ad364e35~amd64~en-US~9.4.8112.16421”

“Microsoft-Windows-InternetExplorer-Package-TopLevel~31bf3856ad364e35~amd64~~9.4.8112.16421”

“Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~en-US~9.4.8112.16421”

“Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~9.4.8112.16421”

“Microsoft-Windows-InternetExplorer-VistaPlus-Update~31bf3856ad364e35~amd64~~9.4.8112.16421”

(imported comment written by SystemAdmin)

This seems like the needed actionscript, not sure about other languages other than english, or if there are other packages that could also be installed, or if some of these packages might not be installed.

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package-TopLevel~31bf3856ad364e35~amd64~~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~en-US~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-VistaPlus-Update~31bf3856ad364e35~amd64~~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package-MiniLP~31bf3856ad364e35~amd64~en-US~9.4.8112.16421 /quiet /norestart

(imported comment written by SystemAdmin)

Still Testing, but here’s what I have so far:

Relevance 1:

((name of it = “WinVista” or name of it = “Win7”) of operating system AND x64 of operating system)

Relevance 2:

exists version of regapp "iexplore.exe"​ AND “9.0” as version = version of regapp "iexplore.exe"​

Relevance 3:

exists files whose (name of it contains “Microsoft-Windows-InternetExplorer” and name of it contains “9.4.8112.16421”) of folder (parent folder of system folder as string & “\servicing\Packages”)

Action:

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package-TopLevel~31bf3856ad364e35~amd64~~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~en-US~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-VistaPlus-Update~31bf3856ad364e35~amd64~~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~9.4.8112.16421 /quiet /norestart

wait {parent folder of system folder as string}\sysnative\pkgmgr /up:Microsoft-Windows-InternetExplorer-Package-MiniLP~31bf3856ad364e35~amd64~en-US~9.4.8112.16421 /quiet /norestart

action requires restart