How to Uninstall Microsoft Edge via Command Prompt (CMD)

Are you tired of Microsoft Edge hijacking your default browser settings, popping up notifications, or auto-updating against your will? 😤 You're not alone! As Windows' default browser, Microsoft Edge is deeply integrated, making traditional uninstalls tricky. But fear not – using Command Prompt (CMD) gives you superuser control to uninstall Microsoft Edge completely. This guide delivers precise, battle-tested steps for the latest Windows versions, ensuring a clean removal without leftovers. Let's dive in and reclaim your PC! 🚀

Command Prompt window ready for uninstalling Microsoft Edge

⚠️ Important Warnings Before You Start

  • Backup your data: Though rare, mistakes can affect system stability.
  • Run as Administrator: CMD must have elevated privileges.
  • Edge may reinstall: Windows Updates can bring it back. We'll cover prevention tips.
  • This works on Windows 10/11 (including latest builds). Not for Edge on ARM or enterprise-managed PCs.

Prerequisites: Get CMD Ready in 30 Seconds

  1. Press Win + R, type cmd, then press Ctrl + Shift + Enter. ✅
  2. Click "Yes" on the UAC prompt.
  3. Verify admin: Type whoami and hit Enter – it should show "administrator".

Method 1: PowerShell via CMD (Most Reliable for Full Removal) ⭐

The gold standard for uninstalling Microsoft Edge via Command Prompt. PowerShell targets Edge's provisioned packages, removing it for all users. Copy-paste these exact commands!

  1. Remove for current user:
    powershell -Command "Get-AppxPackage *edge* | Remove-AppxPackage"
  2. Remove for all users (provisioned):
    powershell -Command "Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like '*Microsoft.MicrosoftEdge*' | Remove-AppxProvisionedPackage -Online"
  3. Restart your PC: shutdown /r /t 0

Voila! Edge is gone from Start Menu, desktop, and defaults. If it lingers, proceed to cleanup.

Executing PowerShell command in CMD to uninstall Microsoft Edge successfully

Method 2: Winget Uninstall (Newest, One-Liner Magic) ✨

For the latest Windows with Winget pre-installed (Windows 10 1809+), this is lightning-fast. Winget is Microsoft's official package manager – no downloads needed!

  1. Update Winget: winget upgrade --all
  2. Uninstall Edge:
    winget uninstall "Microsoft.Edge"
  3. Force if stubborn: winget uninstall "Microsoft.Edge" --force

Pro tip: List installed Edges first with winget list edge to confirm versions. 🎉

Method 3: Direct Installer Cleanup (For Stubborn Stable Channel Edge)

If Methods 1-2 fail (rare on non-default installs), target the executable directly.

  1. Navigate: cd "%PROGRAMFILES(X86)%\Microsoft\Edge\Application"
  2. List versions: dir /b Installer
  3. Uninstall (replace [VERSION] e.g., 128.0.2739.42):
    "%PROGRAMFILES(X86)%\Microsoft\Edge\Application\[VERSION]\Installer\setup.exe" --uninstall --system-level --force-uninstall

Cleanup Leftovers: Registry & Files (Optional but Recommended)

Ensure no ghosts remain. Use these post-uninstall.

Task CMD Command
Delete Edge folders rd /s /q "%LOCALAPPDATA%\Microsoft\Edge"
rd /s /q "%PROGRAMFILES(X86)%\Microsoft\Edge"
Clean registry (backup first!) reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /f
Prevent reinstall Block via Group Policy: gpedit.msc → Computer Config → Administrative Templates → Windows Components → Edge → "Prevent installation"

Troubleshooting Common Errors 🔧

  • "Access Denied": Re-run CMD as admin. 🛡️
  • "Package not found": Edge variant? Try Get-AppxPackage *MicrosoftEdge* to list.
  • Reinstalls on update: Disable Edge updates in regedit (HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate → UpdateDefault = 0). Or use Microsoft Docs.
  • Windows 11 specifics: If SxS (side-by-side) Edge persists, add --msedge flag in winget.

Alternatives After Uninstall: Better Browsers Await!

Now that Edge is history, try these:

  • Google Chrome or Firefox for speed.
  • Brave for privacy (blocks ads natively). 😎
  • Set defaults: Settings → Apps → Default apps.

Congratulations! You've mastered how to uninstall Microsoft Edge via Command Prompt. Your PC feels lighter already. Share this guide if it helped – and drop a comment below: What browser are you switching to? 👇 Stay tuned for more CMD hacks!

Leave a Comment

How to Uninstall Microsoft Edge via Command Prompt (CMD)

How to Uninstall Microsoft Edge via Command Prompt (CMD)

Struggling with Microsoft Edge? Discover the easiest way to uninstall Microsoft Edge via Command Prompt (CMD). Step-by-step CMD guide for Windows 11/10, complete removal without reinstalls. Works on latest updates!

How to Update Microsoft Edge to the Latest 2026 Version

How to Update Microsoft Edge to the Latest 2026 Version

Master how to update Microsoft Edge to the latest 2026 version with easy steps for Windows, Mac, Android & iOS. Boost speed, security & features instantly!

How to Fix Microsoft Edge Winaero Tweaker Fix 2026

How to Fix Microsoft Edge Winaero Tweaker Fix 2026

Struggling with Microsoft Edge crashes or errors after Winaero Tweaker tweaks? Get the ultimate guide on How to Fix Microsoft Edge "Winaero Tweaker" Fix 2026. Step-by-step solutions for smooth browsing in the latest updates. Quick, reliable fixes!

How to Fix Microsoft Edge Laptop Battery Threshold Fix

How to Fix Microsoft Edge Laptop Battery Threshold Fix

Discover proven ways to fix the Microsoft Edge Laptop Battery Threshold issue. Extend your battery life with step-by-step instructions, quick tweaks, and advanced tips for optimal performance on Windows laptops. Say goodbye to unexpected drain!

How to Permanently Delete Microsoft Edge WebView2 on Mac

How to Permanently Delete Microsoft Edge WebView2 on Mac

Struggling with unwanted Microsoft Edge WebView2 on Mac? Discover how to permanently delete Microsoft Edge WebView2 on Mac with our foolproof guide. Free up space, boost privacy, and reclaim your Mac effortlessly. Latest methods included!

Troubleshooting Microsoft Edge Integrated Graphics Memory

Troubleshooting Microsoft Edge Integrated Graphics Memory

Struggling with Microsoft Edge hogging integrated graphics memory? Discover step-by-step troubleshooting for Microsoft Edge "Integrated Graphics" Memory issues, boost performance, and reclaim your GPU resources today.

Solving Microsoft Edge Rainmeter Skin Positioning Error

Solving Microsoft Edge Rainmeter Skin Positioning Error

Tired of Rainmeter skins misaligning on Microsoft Edge? This ultimate guide solves the Microsoft Edge "Rainmeter" Skin Positioning Error with step-by-step fixes, configs, and tips for perfect overlay alignment. Get back to customized bliss!

How to Fix Error 404 Page Not Found on Edge Browser

How to Fix Error 404 Page Not Found on Edge Browser

Tired of seeing Error 404 Page Not Found on Edge? Discover proven, step-by-step fixes for Microsoft Edge browser to resolve this issue quickly and browse without interruptions. Works on the latest versions!

Troubleshooting Microsoft Edge Installer Error 124

Troubleshooting Microsoft Edge Installer Error 124

Stuck with Microsoft Edge Installer Error 124? Get proven, step-by-step fixes to resolve it quickly. Master troubleshooting for smooth Edge installation on Windows. No tech skills needed!

How to Fix Microsoft Edge Page Unresponsive Error 2026

How to Fix Microsoft Edge Page Unresponsive Error 2026

Tired of Microsoft Edge "Page Unresponsive" error freezing your tabs in 2026? Get proven, step-by-step fixes to restore lightning-fast browsing. No tech skills needed!

Solving Edge Browser No Internet Secured Glitch (2026)

Solving Edge Browser No Internet Secured Glitch (2026)

Stuck with the Edge browser "No Internet Secured" glitch in 2026? Discover proven, step-by-step fixes to restore your connection fast. Clear cache, reset settings, and more for seamless browsing.

Troubleshooting Microsoft Edge Transparency Multi GPU

Troubleshooting Microsoft Edge Transparency Multi GPU

Tackle Troubleshooting Microsoft Edge "Transparency" Multi GPU issues head-on with step-by-step fixes. Restore smooth, crystal-clear tabs and effects on dual NVIDIA/Intel setups effortlessly.

Solving Microsoft Edge Status In Page Error During Browsing

Solving Microsoft Edge Status In Page Error During Browsing

Tired of Microsoft Edge "Status In Page Error" ruining your browsing? Get proven, step-by-step fixes to resolve it fast. Clear cache, reset settings, and more for seamless surfing.

Troubleshooting Microsoft Edge Certificate Mismatch Warning

Troubleshooting Microsoft Edge Certificate Mismatch Warning

Struggling with Microsoft Edge Certificate Mismatch warning? Discover step-by-step troubleshooting fixes for this common SSL error. Clear cache, update Edge, and more for secure browsing.

How to Reset Microsoft Edge to Default Factory Settings

How to Reset Microsoft Edge to Default Factory Settings

Struggling with a sluggish Microsoft Edge? Discover how to reset Microsoft Edge to default factory settings in minutes. Step-by-step guide with visuals to fix crashes, pop-ups, and performance issues effortlessly.