VMoreCloud › Windows 10 › PowerShell › Remove Internet Explorer
WINDOWS 10 • POWERSHELL • DISM • SECURITY HARDENING

How to Remove Internet Explorer from Windows 10 Using PowerShell

Internet Explorer 11 is a retired browser, but it can still sit on Windows 10 machines as an optional feature. This guide shows how to check its state, remove it with Disable-WindowsOptionalFeature, verify the result, roll it back if needed and fix the errors you are most likely to meet.

Author: Khurram Shahzad
Platform: Windows 10 (64-bit and 32-bit)
Technology: PowerShell, DISM
Management: Windows Optional Features
Level: Beginner
Reading Time: 8 minutes
Remove Internet Explorer from Windows 10 using PowerShell

Turn off Internet Explorer 11 with one elevated PowerShell command

On Windows 10, Internet Explorer 11 is delivered as an optional Windows feature. That means you can check its state and disable it from PowerShell without third-party tools, and you can script the same steps across many computers.

PS
What this tutorial covers How to confirm whether Internet Explorer 11 is installed, how to remove it with PowerShell, how to restart and verify, how to bring it back, how to automate the check and removal, and how to troubleshoot common errors.
01

Check first

Use Get-WindowsOptionalFeature to see whether the feature is enabled before you change anything.

02

Disable the feature

Run Disable-WindowsOptionalFeature from an elevated PowerShell window, then restart.

03

Keep a way back

The change is reversible with Enable-WindowsOptionalFeature if an old application needs it.

Introduction

Microsoft retired the Internet Explorer 11 desktop application on June 15, 2022, and later disabled it on supported Windows 10 versions through Microsoft Edge updates. Even so, the Internet Explorer feature can remain present on a Windows 10 installation, which leaves an end-of-life browser component on the system.

Removing it is a simple hardening step for administrators who want to reduce the attack surface, and a good cleanup step for anyone who no longer needs it. Because Internet Explorer 11 is an optional feature on Windows 10, PowerShell can do the job directly.

Example scenario You maintain a set of Windows 10 workstations and your security checklist says legacy browsers must not be present. Instead of clicking through Optional Features on each machine, you check the feature state and remove it with one PowerShell command, then restart.
Windows 10 support status Windows 10 reached end of support on October 14, 2025. If these machines are still in service, plan their upgrade or review Microsoft’s extended security update options. Removing Internet Explorer helps hardening but does not replace being on a supported operating system.

How the Removal Works

On Windows 10, Internet Explorer 11 appears as a Windows optional feature. The feature name depends on the architecture:

Windows architectureFeature name
64-bit (x64)Internet-Explorer-Optional-amd64
32-bit (x86)Internet-Explorer-Optional-x86

Disabling the feature removes Internet Explorer 11 from the operating system, and a restart completes the change. Because it is a feature toggle, you can enable it again later.

Edge IE mode is separate Microsoft Edge’s IE mode, used to open legacy sites, does not depend on the standalone Internet Explorer application being present. Check Microsoft’s current guidance if you rely on IE mode before you change anything.

Requirements

  • A Windows 10 computer where Internet Explorer 11 is installed as an optional feature
  • An account with local administrator rights
  • Windows PowerShell opened with elevated privileges (Run as administrator)
  • Permission to restart the computer when the removal finishes
  • For remote or bulk use: PowerShell remoting enabled on the target computers
Before you start Confirm no business application depends on Internet Explorer. Test on one machine first, and save open work, because a restart is required.
1

Step 1: Open PowerShell as Administrator

Right-click the Start button and choose Windows PowerShell (Admin), or search for PowerShell, right-click it and select Run as administrator. Approve the User Account Control prompt.

Start → Windows PowerShell → Run as administrator
2

Step 2: Check Whether Internet Explorer Is Installed

Query the optional feature to see its current state:

# 64-bit Windows 10 Get-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-amd64

In the output, State : Enabled means Internet Explorer 11 is installed. If it already shows Disabled, there is nothing to remove.

If you are not sure of the exact feature name on a machine, list every matching feature:

Get-WindowsOptionalFeature -Online | Where-Object FeatureName -like "*Internet-Explorer*"
3

Step 3: Remove Internet Explorer

Run the following command to disable the feature:

# 64-bit Windows 10 (restart later) Disable-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-amd64 -NoRestart # 32-bit Windows 10 Disable-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-x86 -NoRestart

The -NoRestart switch stops PowerShell from prompting for or forcing a restart, so you can choose when to reboot. Leave it out if you prefer to be prompted at the end.

DISM alternative The same feature can be disabled from an elevated Command Prompt with dism /online /Disable-Feature /FeatureName:Internet-Explorer-Optional-amd64. This is the method shown in Microsoft’s own guidance.
4

Step 4: Restart and Verify

Restart the computer to complete the removal:

Restart-Computer

After it comes back, open PowerShell as administrator again and confirm the feature is off:

Get-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-amd64 | Select-Object FeatureName, State

You should see State : Disabled. Internet Explorer 11 should also no longer appear under Settings → Apps → Optional features.

5

Step 5: Restore Internet Explorer (Optional)

If an application breaks and you need Internet Explorer 11 back, enable the feature again and restart:

Enable-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-amd64 -NoRestart Restart-Computer

Because Microsoft has disabled the Internet Explorer 11 desktop app on supported Windows 10 versions, treat re-enabling as a temporary workaround and move the dependent site or app to Edge IE mode or a modern alternative.

Automate It with a Script

This script checks for the feature first and only disables it when it is still enabled. It handles both 64-bit and 32-bit feature names.

# Run in an elevated PowerShell session $ie = Get-WindowsOptionalFeature -Online | Where-Object { $_.FeatureName -like "Internet-Explorer-Optional-*" } if ($ie -and $ie.State -eq "Enabled") { Disable-WindowsOptionalFeature -Online -FeatureName $ie.FeatureName -NoRestart Write-Host "Internet Explorer disabled. Restart required." } else { Write-Host "Internet Explorer is already disabled or not present." }

To run the same check on several computers, wrap it in Invoke-Command with a list of computer names. This requires PowerShell remoting and administrative rights on each target. Test on a single computer first.

Invoke-Command -ComputerName PC01, PC02 -ScriptBlock { Disable-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-amd64 -NoRestart }

Troubleshooting

“Feature name is unknown”

You may be using the wrong architecture name, or the feature is not present. List features with Get-WindowsOptionalFeature -Online | Where-Object FeatureName -like "*Internet-Explorer*" and use the exact name returned.

Access denied or elevation error

PowerShell is not running as administrator. Close it and reopen with Run as administrator.

Internet Explorer still seems to open

On supported Windows 10 versions, Internet Explorer 11 may already be disabled and redirect to Microsoft Edge. Confirm the feature state and restart, then check what is actually launching.

A legacy site or app stopped working

Use Microsoft Edge’s IE mode for legacy sites instead of restoring the standalone browser. Re-enable the feature only as a short-term fix.

Feature still shows as pending

The restart has not happened yet. Restart the computer and run the verification command again.

Microsoft capability guidance

Microsoft’s disable guidance also lists a DISM capability command for some builds. If the optional feature approach does not apply to your build, review the official page linked in the sources.

Best Practices

  • Test on a single machine, then roll out gradually
  • Check the feature state before and after, and log the result
  • Use -NoRestart in scripts and schedule restarts at a convenient time
  • Inventory applications that may depend on Internet Explorer before removal
  • Move legacy web apps to Edge IE mode or modernize them
  • Keep Windows and Microsoft Edge updated
Do not treat this as a full security fix Removing Internet Explorer reduces one source of risk, but it does not replace patching, application control and moving off unsupported operating systems.

Comparison of Removal Methods

MethodBest forCommand or location
PowerShellSingle machines and scriptingDisable-WindowsOptionalFeature
DISMCommand Prompt, scripts and imaging workflowsdism /online /Disable-Feature
Settings (Optional features)One-off manual removalSettings → Apps → Optional features
Group PolicyDisabling Internet Explorer as a standalone browser while keeping IE mode in EdgeSee Microsoft’s disable guidance

Frequently Asked Questions

What is the PowerShell command to remove Internet Explorer from Windows 10?

On 64-bit Windows 10, run Disable-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-amd64 from an elevated PowerShell window, then restart.

Do I need to restart after removing Internet Explorer?

Yes. A restart completes the removal. Use the -NoRestart switch if you want to restart later.

Can I get Internet Explorer back?

Yes. Run Enable-WindowsOptionalFeature with the same feature name and restart. Treat this as a temporary measure.

Will removing Internet Explorer break Microsoft Edge?

No. Microsoft Edge is a separate browser. Edge’s IE mode does not require the standalone Internet Explorer application, but check Microsoft’s guidance if you rely on it.

Does this work on 32-bit Windows 10?

Yes, but use the x86 feature name, Internet-Explorer-Optional-x86.

Can I remove it from many computers at once?

Yes. Use Invoke-Command with a list of computers, or deploy a script through your management tool. Test on one machine first.

Conclusion

Summary checklist Open PowerShell as administrator, check the Internet-Explorer-Optional feature state, run Disable-WindowsOptionalFeature, restart, and verify that the state is Disabled. Keep Enable-WindowsOptionalFeature in mind as your rollback and move any legacy dependencies to Edge IE mode.

Want more Windows and PowerShell guides?

Browse practical tutorials on Windows Server, Active Directory, Azure and hybrid infrastructure on VMoreCloud.

Explore more tutorials →

Sources & Further Reading

Khurram Shahzad, Hybrid Cloud & Virtualization Engineer and author at VMoreCloud
👤 About the Author
Khurram Shahzad
Hybrid Cloud & Virtualization Engineer
Hybrid Cloud & Virtualization Engineer specializing in VMware (VCF, vSAN, Aria), Microsoft Azure, AWS, Windows Server, Microsoft 365, Entra ID, Intune, Linux, Nutanix, Proxmox, networking, backup & disaster recovery, Cisco and FortiGate. I share practical technical guides, infrastructure projects and insights to help IT professionals build and manage modern IT environments through VMoreCloud.
🖥️ VMware🔷 Azure☁️ AWS🪟 Windows Server🐧 Linux🗄️ Virtualization🛡️ Cybersecurity🔗 Networking💾 Backup & DR✖️ Nutanix🟠 Proxmox
📄
120+
Articles Published
👥
10K+
Readers
🎓
Learning & Sharing
A Stronger Tech Community
View all articles →
“Learn  |  Build  |  Share”
☁️ VMoreCloud|Tech Knowledge for a Better Tomorrow
IT  •  Cloud  •  Virtualization  •  Security  •  Open Source

Technical note: Commands in this guide were written for Windows 10 with administrator rights. Test on a non-production machine first, and confirm current behavior against Microsoft’s documentation, because Internet Explorer’s status can change with Windows and Microsoft Edge updates.

Leave a Reply

Your email address will not be published. Required fields are marked *