Command line options available to uninstall Internet Explorer

In this blog, I am sharing the commands available to uninstall Internet Explorer.

Examples covered in this blog are for:

  • Internet Explorer 9
  • Internet Explorer 10
  • Internet Explorer 11

PLEASE NOTE: If you decide to cut and paste the command you should re-type the quotes " " between the cmd and norestart

When copying, it gets smart-quotes out of this blogs document and not the straight-quotes!

Example for uninstalling Internet explorer 9

  • Log on to the computer by using an administrator account or an account that has administrative rights.
  • Close all Internet Explorer browser windows.
  • Click Start, type cmd in the Search box, and then click cmd under Programs.
  • Right click and select Run as administrator
  • Copy the following command:

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

  • Paste the command into the Command Prompt window, and then press Enter.
  • Restart the computer.

Example for uninstalling Internet explorer 10

  • Log on to the computer by using an administrator account or an account that has administrative rights.
  • Close all Internet Explorer browser windows.
  • Click Start, type cmd in the Search box, and then click cmd under Programs.
  • Right click and select Run as administrator
  • Copy the following command:

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

  • Paste the command into the Command Prompt window, and then press Enter.
  • Restart the computer.

Example for uninstalling Internet explorer 11

  • Log on to the computer by using an administrator account or an account that has administrative rights.
  • Close all Internet Explorer browser windows.
  • Click Start, type cmd in the Search box, and then click cmd under Programs.
  • Right click and select Run as administrator
  • Copy the following command:

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

with /quiet switch

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"

 

  • Paste the command into the Command Prompt window, and then press Enter.
  • Restart the computer.

MORE INFORMATION

Articles:

What to do if you can’t uninstall Internet Explorer 9

https://support.microsoft.com/kb/2579295

 

Manual Process:

Install or uninstall Internet Explorer

https://windows.microsoft.com/en-us/internet-explorer/install-ie#ie=ie-11