Disable and enable Internet Explorer on Windows

Important

The Internet Explorer 11 desktop application will be retired and go out of support on June 15, 2022 (for a list of what's in scope, see the FAQ). The same IE11 apps and sites you use today can open in Microsoft Edge with Internet Explorer mode. Learn more here.

This article describes how to disable and enable any supported version of Internet Explorer on Windows.

Applies to:   Windows
Original KB number:   4013567

More information

To disable Internet Explorer, use one of the following methods.

Note

If you want to restore the program on the same computer, we recommend that you use the same method that you first used (Control Panel or DISM). Because Internet Explorer remains installed on the computer after you disable it, you should continue to install security updates that apply to Internet Explorer.

Method 1 - Use Control Panel (client systems only), Feature On Demand

Applies to:   Windows 10, version 1703 and higher

Using the Feature On Demand method is recommended for devices where it is available.

On client systems, you can use the Program and Features item in Control Panel to disable Internet Explorer. To do this, follow these steps:

  1. Click Start and open Settings.
  2. Click Apps.
  3. Click Optional features.
  4. In the list of installed features, locate Internet Explorer 11. Click on the entry, then click Uninstall.
  5. Wait for the Latest Actions section to indicate reboot required.
  6. Restart the computer.

To enable Internet Explorer:

  1. Click Start and open Settings.
  2. Click Apps.
  3. Click Optional features.
  4. Click Add a feature.
  5. Check the box next to Internet Explorer 11.
  6. Click Install (1).
  7. Wait for the Latest Actions section to indicate reboot required.
  8. Restart the computer.

Method 2 - Use DISM (client and server systems), Feature On Demand

Applies to:   Windows 10, version 1703 and higher

Using the Feature On Demand method is recommended for devices where it is available.

On client and server systems, you can use the Deployment Image Servicing and Management (DISM) command-line tool to disable Internet Explorer. For example, to disable Internet Explorer 11, follow these steps.

  • Disable the feature

    To disable Internet Explorer 11, run the following command at an elevated command prompt: dism /online /Remove-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0.

    The following message is returned:

    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    Image Version: 10.0.19041.985
    [==========================100.0%==========================]
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now? (Y/N)
    
  • Enable the feature

    If you want to re-enable Internet Explorer 11, run the following command at an elevated command prompt: dism /online /Add-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0.

    The following message is returned:

    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    Image Version: 10.0.19041.985
    [==========================100.0%==========================]
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now? (Y/N)
    

Method 3 - Use Control Panel (client systems only), Windows Feature

On client systems, you can use the Program and Features item in Control Panel to disable Internet Explorer. To do this, follow these steps:

  1. Press the Windows logo key+R to open the Run box.
  2. Type appwiz.cpl, and then select OK.
  3. In the Programs and Features item, select Turn Window features on or off.
  4. In the Windows Features dialog box, locate the entry for the installed version of Internet Explorer. For example, locate the Internet Explorer 11 entry. Then, clear the check box.
  5. Select OK to commit the change.
  6. Restart the computer.

Method 4 - Use DISM (client and server systems), Windows Feature

On client and server systems, you can use the Deployment Image Servicing and Management (DISM) command-line tool to disable Internet Explorer. For example, to disable Internet Explorer 11, follow these steps.

  • Disable the feature

    To disable Internet Explorer 11, run the following command at an elevated command prompt: dism /online /Disable-Feature /FeatureName:Internet-Explorer-Optional-amd64.

    The following message is returned:

    Deployment Image Servicing and Management tool  
    Version: 6.1.7600.16385  
    Image Version: 6.1.7600.16385  
    Disabling feature(s)  
    [===================100.0%===================]  
    The operation completed successfully.  
    Restart Windows to complete this operation.  
    Do you want to restart the computer now (Y/N)?
    

    Note

    You must restart the computer to implement the change.

  • Enable the feature

    If you want to re-enable Internet Explorer 11, run the following command at an elevated command prompt: dism /online /Enable-Feature /FeatureName:Internet-Explorer-Optional-amd64.

    The following message is returned:

    Deployment Image Servicing and Management tool  
    Version: 6.1.7600.16385  
    Image Version: 6.1.7600.16385  
    Enabling feature(s)  
    [===================100.0%===================]  
    The operation completed successfully.  
    Restart Windows to complete this operation.  
    Do you want to restart the computer now (Y/N)?
    

    Note

    You must restart the computer to implement the change.

Applies to

  • Windows 10, version 2004, all editions
  • Windows Server, version 2004 all editions
  • Windows 10, version 1909, all editions
  • Windows 10, version 1809, all editions
  • Windows Server 2019, all editions
  • Windows 10, version 1803, all editions
  • Windows Server version 1803
  • Windows 10, version 1709, all editions
  • Windows 10, version 1703, all editions
  • Windows 10, version 1607, all editions
  • Windows 10, version 1511, all editions
  • Windows Server version 1709
  • Windows Server version 1803
  • Windows Server 2016
  • Windows 10
  • Windows Server 2012 R2 Datacenter
  • Windows Server 2012 R2 Standard
  • Windows Server 2012 R2 Essentials
  • Windows Server 2012 R2 Foundation
  • Windows 8.1 Enterprise
  • Windows 8.1 Pro
  • Windows 8.1
  • Windows Server 2012 Datacenter
  • Windows Server 2012 Standard
  • Windows Server 2012 Essentials
  • Windows Server 2012 Foundation
  • Windows Server 2012 for Embedded Systems
  • Windows Server 2008 R2 Service Pack 1
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 for Itanium-Based Systems
  • Windows 7 Service Pack 1
  • Windows 7 Enterprise
  • Windows 7 Ultimate
  • Windows 7 Professional
  • Windows 7 Home Premium
  • Windows 7 Home Basic
  • Windows Server 2008 Service Pack 2
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Server 2008 Foundation
  • Windows Server 2008 for Itanium-Based Systems