Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Remove Microsoft Edge Permanently in Windows 11 via PowerShell

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can permanently remove Microsoft Edge from Windows 11 using PowerShell, but only if you use a specific command that uninstalls the app package from your user account. The standard "Uninstall" option in Settings is hidden, so PowerShell is the reliable way. This guide walks you through the exact steps, what to expect, and how to fix issues if Edge reappears or the command fails.

What You'll Need

  • A Windows 11 PC with administrator access (you'll need to confirm a User Account Control prompt).
  • PowerShell (the built-in Windows PowerShell or PowerShell 7 both work).
  • Internet connection for the initial command to download the removal script (optional but recommended).

Step-by-Step

  1. Open PowerShell as Administrator. Click the Start button, type PowerShell, right-click Windows PowerShell in the results, and select Run as administrator. Click Yes on the User Account Control prompt.
  2. Check the exact package name. In the PowerShell window, run this command to list all Microsoft Edge related packages:
    Get-AppxPackage -Name "*Edge*" | Select-Object Name, PackageFullName
    Note the PackageFullName for the package named Microsoft.MicrosoftEdge.Stable (or similar). It looks like a long string with version numbers.
  3. Remove the Edge package for your user. Run the following command, replacing <PackageFullName> with the exact string from step 2:
    Remove-AppxPackage -Package <PackageFullName>
    For example: Remove-AppxPackage -Package Microsoft.MicrosoftEdge.Stable_101.0.1210.53_x64__8wekyb3d8bbwe
  4. Verify removal. Run the list command again:
    Get-AppxPackage -Name "*Edge*"
    If nothing appears, Edge is removed for your user account. If it still shows, try the next step.
  5. Remove Edge for all users (optional but recommended). If you want Edge gone for every account on the PC, you need to use a more powerful command. Run this in the same PowerShell window:
    Get-AppxPackage -AllUsers -Name "*Edge*" | Remove-AppxPackage -AllUsers
    This removes the package from all user profiles. You may need to reboot afterwards.
  6. Block future updates (important). Windows Update may reinstall Edge automatically. To prevent this, you can set a policy that blocks the Edge package from being installed. Run these three commands in PowerShell (as admin):
    New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\EdgeUpdate" -Force
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\EdgeUpdate" -Name "DoNotUpdateToEdgeWithChromium" -Value 1
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\EdgeUpdate" -Name "RemoveEdgeWithChromium" -Value 1
    These registry keys tell Windows not to reinstall Edge and to remove it if it appears.
  7. Restart your PC. Reboot to finalize changes. After restart, Edge should be completely gone from the Start menu and all apps list.

Common Mistakes

  • Not running PowerShell as administrator. The commands will fail with an error if you don't have admin rights. Always right-click and choose "Run as administrator".
  • Typing the package name incorrectly. The PackageFullName is long and case-sensitive. Copy-paste it from the output of the list command to avoid typos.
  • Only removing for the current user. If you skip the -AllUsers step, Edge will still appear for other user accounts on the same PC.
  • Forgetting to block updates. Without the registry policy, Windows Update may reinstall Edge after a feature update, undoing your work.

Tips

  • Before removing, consider if you actually need Edge. Some Windows features (like PDF viewer in certain apps, or links from widgets) may rely on it. If you remove it, those features might not work or will open in another browser you set as default.
  • If you have a backup of your bookmarks or passwords in Edge, export them first. Removal deletes all local data.
  • If you ever want Edge back, you can reinstall it from the Microsoft Store or by running the same commands in reverse (remove the registry keys and then install Edge from the Store).
  • Edge is deeply integrated with Windows. After removal, some system links (like "Open with Edge" in certain contexts) may disappear or become non-functional. This is normal.

Troubleshooting

If the Remove-AppxPackage command fails with an error like "Package cannot be removed because it is a provisioned package":

This usually means Edge is provisioned for all new users. Run the -AllUsers command from step 5. If that still fails, you may need to use the Remove-AppxProvisionedPackage cmdlet, but that requires the Windows ADK or DISM. A simpler workaround is to use the registry policy from step 6, which will remove Edge on next reboot.

If Edge reappears after a Windows update:

Check that the registry keys from step 6 are still present. Open Registry Editor (regedit) and navigate to HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate. If the values are missing, re-run the commands. Also, some Windows feature updates may reset policies; re-apply them after major updates.

If you get "Access denied" errors:

Make sure you are running PowerShell as administrator. Also, close any Edge processes that might be running in the background (check Task Manager under "Processes" and end all Microsoft Edge tasks).

If Edge still appears in Start menu but won't open:

This can happen if the removal was partial. Run the Get-AppxPackage -AllUsers -Name "*Edge*" command again to see if any package remains. If it does, try removing it with the -AllUsers flag. If nothing remains but the shortcut is still there, it's a stale shortcut—delete it manually from the Start menu folder (right-click the shortcut and choose "Unpin from Start" or "Open file location" and delete the shortcut file).

Frequently Asked Questions

Will removing Edge break Windows 11?

No, Windows 11 will still function normally. Edge is not required for the core OS, but some web-dependent features (like certain widgets or help links) may open in your default browser instead.

Can I reinstall Edge later?

Yes. You can reinstall Edge from the Microsoft Store or by downloading the installer from Microsoft's website. If you set the registry policy to block it, you'll need to remove those keys first.

Does this also remove the Edge WebView2 runtime?

No. The commands above only remove the Edge browser app. WebView2 is a separate component used by many apps and is not removed. That's good because removing WebView2 could break other software.

Will this save disk space?

Yes, you'll free up around 1–2 GB of disk space, depending on your version and user data. However, the space savings are modest compared to other cleanup methods.

Why does Edge come back after a Windows update?

Windows Update may reinstall Edge as part of a feature update or cumulative update. The registry policy in step 6 is designed to prevent this, but it may not work in all cases. If it returns, repeat the removal steps.

Is there a way to remove Edge without PowerShell?

Not permanently. The Settings app only offers "Repair" or "Modify", not uninstall. You can use third-party tools, but PowerShell is the official, safe method.