How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (2024)

The Microsoft Edge browser is installed by default on Windows 11 and all new Windows 10 builds (and Windows Server 2022/2019). If you have another browser installed on the computers in your organization, you can uninstall or disable the Microsoft Edge browser on Windows.

Contents:

  • Uninstalling Microsoft Edge in Windows 10 and 11
  • How to Disable Microsoft Edge in Windows?

The main problem is that you cannot remove the MS Edge browser from your computer using the common Windows removal tools. It is also deeply integrated into the operating system, just like Internet Explorer, which it replaces (see how to Uninstall Internet Explorer on Windows). If you open the Apps and Features section in the Settings panel (use the ms-settings URI command ms-settings:appsfeatures ), you will see that the Uninstall button for the Microsoft Edge browser is inactive (grayed out).

How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (1)

Note that you can only uninstall Edge through Control Panel if you installed it manually (not through Windows Update).

Also, you can’t use the Uninstall-Package PowerShell cmdlet to remove MS Edge on Windows.

Get-Package -name "*Microsoft Edge*" | Uninstall-Package

You run the command, but nothing seems to happen.

How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (2)

Uninstalling Microsoft Edge in Windows 10 and 11

The only way to uninstall MS Edge on Windows is from the command line. First, you need to find out the build number of the latest version of the MS Edge browser installed on your computer. Open the elevated PowerShell console and run the command below:

$EdgeVersion = (Get-AppxPackage "Microsoft.MicrosoftEdge.Stable" -AllUsers).Version

There may be different versions of Edge installed on the computer. The one we’re looking for is the most recent one:

$EdgeLstVersion=$EdgeVersion[-1]

How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (3)

Now get the path to the Edge installation directory:

$EdgeSetupPath = ${env:ProgramFiles(x86)} + '\Microsoft\Edge\Application\' + $EdgeLstVersion

In our case, it’s C:\Program Files (x86)\Microsoft\Edge\Application\103.0.1264.37

Next, go to the directory:

cd "C:\Program Files (x86)\Microsoft\Edge\Application\103.0.1264.37"

And run the command to remove Microsoft Edge:

.\Installer\setup.exe --uninstall --system-level --verbose-logging --force-uninstall

A window should then appear asking you to confirm the removal of Edge (in my case, it did appear in Windows Server 2022 and Windows 10, but not on Windows 11). Just click Uninstall.

How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (4)

You can also remove the Microsoft Edge WebView2 Runtime feature, which is used to embed Web content in desktop applications using the Chromium engine in Microsoft Edge. Change the directory:

cd "C:\Program Files (x86)\Microsoft\EdgeWebView\Application\103.0.1204.37\Installer\

Run the removal command:

setup.exe --uninstall --msedgewebview --system-level --verbose-logging

How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (5)

This removal command no longer works in the new build of Windows 10 and 11 22H2.

To uninstall MS Edge in new versions, you need to copy the old version of the setup.exe file (92.0.902.67) from the previous build of Windows 10 21H1 and use it to delete Edge:

setup.exe --uninstall --msedgewebview --system-level --verbose-logging

Check that the Microsoft Edge shortcut disappears from the taskbar and Start Menu.

Be sure to set a different default browser in Windows and configure file associations for *.HTML and *.HTM. Don’t forget to install an alternative PDF viewer if you used Edge to view PDF files.

To disable the automatic installation and updating of Microsoft Edge through Windows Update, you must create the DoNotUpdateToEdgeWithChromium registry parameter. You can create this registry key and parameter using PowerShell:

Set-item -Path "HKLM:\Software\Microsoft\EdgeUpdate"
Set-ItemProperty -Path "HKLM:\Software\Microsoft\EdgeUpdate" -Name DoNotUpdateToEdgeWithChromium -Type "DWORD" -Value 1 –Force

How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (6)

I have also tried to uninstall built-in MS Edge as a regular Microsoft Store app (UWP/APPX):

Get-AppxPackage -AllUsers "*edge*"|select Name,PackageFullName
Get-AppxPackage -allusers –Name Microsoft.MicrosoftEdge.Stable_103.0.1264.37_neutral__8wekyb3d8bbwe | Remove-AppxPackage -AllUsers

But I ran into the error HRESULT: 0x80073CFA when trying to uninstall the built-in app. And while you can fix this error by following the instructions in the link, I still recommend using the first method because it’s much easier.

How to Disable Microsoft Edge in Windows?

If you don’t want to completely uninstall MS Edge from your Windows device, but just want to prevent users from using it, you can disable it. Unfortunately, I was unable to find a simple GPO or registry setting that would disable the Edge browser launch.

Therefore, you can simply prevent the msedge.exe executable from running on Windows using the Applocker, Software Restriction Policy, or Windows Defender Application Control (WDAC). But it can be done more easily:

  1. First, disable MS Edge’s autostart on Windows sign-in;
  2. Then open the Local Group Policy Editor (gpedit.msc);
  3. Go to User Configuration -> Policies -> Administrative Templates -> System;
  4. Enable the parameter Don’t run specified Windows applications, and click Show;
  5. Specify the name of the msedge.exe executable file that you want to prevent from running; How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (7)
  6. Save the changes and update the Group Policy settings with the gpupdate /force command;
  7. Users will no longer be able to run Microsoft Edge on this computer. If you try to open Edge, an error will appear:
This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.

How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (8)

How to Uninstall or Disable Microsoft Edge on Windows 10/11 | Windows OS Hub (2024)
Top Articles
Latest Posts
Article information

Author: Corie Satterfield

Last Updated:

Views: 5883

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Corie Satterfield

Birthday: 1992-08-19

Address: 850 Benjamin Bridge, Dickinsonchester, CO 68572-0542

Phone: +26813599986666

Job: Sales Manager

Hobby: Table tennis, Soapmaking, Flower arranging, amateur radio, Rock climbing, scrapbook, Horseback riding

Introduction: My name is Corie Satterfield, I am a fancy, perfect, spotless, quaint, fantastic, funny, lucky person who loves writing and wants to share my knowledge and understanding with you.