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 Fix Microsoft Edge VBS Gaming Lag Fix 2026

How to Fix Microsoft Edge VBS Gaming Lag Fix 2026

Struggling with Microsoft Edge VBS Gaming Lag? Discover the proven How to Fix Microsoft Edge "VBS Gaming Lag" Fix 2026 steps. Regain smooth gaming performance on Edge with our expert, up-to-date guide. Boost FPS now!

How to Fix Microsoft Edge Websocket Error in 2026

How to Fix Microsoft Edge Websocket Error in 2026

Tired of Microsoft Edge WebSocket Error blocking your browsing? Get instant 2026 fixes: clear cache, disable extensions, update Edge & more. Step-by-step guide to restore seamless WebSocket connections. Works every time!

How to Change Microsoft Edge Language and Region Settings

How to Change Microsoft Edge Language and Region Settings

Master how to change Microsoft Edge language and region settings with this step-by-step guide. Fix display issues, set preferred languages, and customize regions effortlessly for global access.

How to Fix Microsoft Edge Touchpad Scrolling Lag

How to Fix Microsoft Edge Touchpad Scrolling Lag

Tired of choppy Microsoft Edge touchpad scrolling lag? Follow our step-by-step guide to fix Microsoft Edge "Touchpad Scrolling" lag for buttery-smooth browsing. Quick wins inside!

How to Enable Dark Mode for All Websites in Microsoft Edge

How to Enable Dark Mode for All Websites in Microsoft Edge

Discover the ultimate guide to enable Dark Mode for all websites in Microsoft Edge. Step-by-step instructions, tips, and tricks for eye-friendly browsing in the latest Edge version. Reduce eye strain and boost battery life now!

How to Fix Microsoft Edge 403 Forbidden Access Error

How to Fix Microsoft Edge 403 Forbidden Access Error

Tired of the frustrating Microsoft Edge "403 Forbidden" error blocking your sites? Discover proven, step-by-step fixes like clearing cache, disabling extensions, and more. Get seamless browsing back in minutes—no tech skills needed!

How to Completely Uninstall Microsoft Edge from Windows 11 in 2026

How to Completely Uninstall Microsoft Edge from Windows 11 in 2026

Master how to completely uninstall Microsoft Edge from Windows 11 in 2026 with this foolproof guide. Free up RAM, boost FPS, and reclaim your PC for gaming glory – step-by-step instructions inside!

How to Install Chrome Extensions in Microsoft Edge (2026)

How to Install Chrome Extensions in Microsoft Edge (2026)

Unlock the full power of Chrome Extensions in Microsoft Edge! Follow this simple 2026 guide to install your favorite extensions effortlessly and supercharge your browsing experience. No tech skills needed!

Fixing Microsoft Edge Installation Failed Errors on Windows 11

Fixing Microsoft Edge Installation Failed Errors on Windows 11

Struggling with "Microsoft Edge Installation Failed" errors on Windows 11? Discover proven, step-by-step fixes to reinstall Edge smoothly and get back to browsing hassle-free. Updated with the latest troubleshooting tips.

Troubleshooting Microsoft Edge Access Denied Error on Specific Sites

Troubleshooting Microsoft Edge Access Denied Error on Specific Sites

Struggling with Microsoft Edge "Access Denied" error on specific sites? Discover quick, step-by-step troubleshooting fixes to restore access instantly. Works on latest Edge versions – no tech skills needed!

Step-by-Step: Removing Microsoft Edge via PowerShell on Windows 10

Step-by-Step: Removing Microsoft Edge via PowerShell on Windows 10

Master the step-by-step process to remove Microsoft Edge via PowerShell on Windows 10. Free up RAM, CPU, and storage for epic gaming sessions. Safe, detailed guide with warnings and tips.

Troubleshooting Microsoft Edge Context Menu Classic Fix

Troubleshooting Microsoft Edge Context Menu Classic Fix

Struggling with Microsoft Edge context menu glitches? Unlock instant fixes for right-click issues. Step-by-step classic troubleshooting to restore full functionality fast – no tech expertise needed!

How to Use Microsoft Edge Web Capture for Full-Page Screenshots

How to Use Microsoft Edge Web Capture for Full-Page Screenshots

Effortlessly capture entire webpages with Microsoft Edge Web Capture. This step-by-step guide reveals how to take full-page screenshots, edit, and share them instantly for unbeatable results.

How to Fix Microsoft Edge Windows Sandbox Feature Error

How to Fix Microsoft Edge Windows Sandbox Feature Error

Tired of the frustrating Microsoft Edge "Windows Sandbox" feature error blocking your workflow? Follow our proven, step-by-step guide to fix it quickly and restore smooth browsing on the latest Windows builds. No tech expertise needed!

Troubleshooting Microsoft Edge Update Core Exe Error

Troubleshooting Microsoft Edge Update Core Exe Error

Tired of the frustrating Microsoft Edge "Update Core Exe" Error? Discover step-by-step troubleshooting fixes to resolve it quickly and restore smooth browsing. Works on latest Edge versions!