Frustrated with Microsoft Edge auto-launching, hogging RAM, or forcing updates? You're not alone! In 2026, removing Microsoft Edge via PowerShell is the most reliable way to fully uninstall it, even as a protected system app. This concise guide delivers a battle-tested, step-by-step method to wipe Edge clean – stable, dev, and canary versions included. Follow along, and reclaim your PC's speed and freedom. Let's dive in! 👍
Why Choose PowerShell for Removing Microsoft Edge?
- Complete Removal: Unlike Settings app, PowerShell nukes all traces – packages, files, and processes.
- 2026-Ready: Handles latest Edge builds with elevated privileges.
- Safe & Reversible: Backups ensure no drama. No third-party tools needed.
Prerequisites Before Starting
- 👤 Run as Administrator – right-click PowerShell > "Run as administrator".
- 💾 Backup your system: Use Windows Backup or create a restore point (Search "Create a restore point").
- 🔒 Close all Edge instances and related apps (Teams, Widgets using Edge).
- 📱 Windows 11/10 (latest builds) – tested for 2026 compatibility.
Step-by-Step Guide: Removing Microsoft Edge via PowerShell
Step 1: Kill All Edge Processes
Edge loves to linger. Force-quit it first:
taskkill /f /im msedge.exe
taskkill /f /im msedgewebview2.exe
Hit Enter. No more sneaky background tasks! ⭐
Step 2: Identify Edge Packages
List all Edge variants:
Get-AppxPackage -AllUsers *Edge*
This reveals packages like Microsoft.MicrosoftEdge.Stable. Note them down.
Step 3: Remove Packages for All Users
Target each version. Use this table for quick reference:
| Edge Version |
PowerShell Command |
| Stable |
Get-AppxPackage -AllUsers Microsoft.MicrosoftEdge.Stable | Remove-AppxPackage -AllUsers |
| Dev |
Get-AppxPackage -AllUsers Microsoft.MicrosoftEdge.Dev | Remove-AppxPackage -AllUsers |
| Canary |
Get-AppxPackage -AllUsers Microsoft.MicrosoftEdge.Canary | Remove-AppxPackage -AllUsers |
Copy-paste and run each. Watch Edge vanish! 🚀
Step 4: Delete Core Files & Folders
PowerShell handles directories too:
Remove-Item "$env:LOCALAPPDATA\Microsoft\Edge" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item "C:\Program Files (x86)\Microsoft\Edge" -Recurse -Force -ErrorAction SilentlyContinue
For stubborn 2026 updates:
Remove-Item "C:\Program Files (x86)\Microsoft\EdgeWebView" -Recurse -Force -ErrorAction SilentlyContinue
Step 5: Clean Registry & Shortcuts
Optional but thorough:
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedge.exe" -Name "*" -ErrorAction SilentlyContinue
Delete desktop/start menu shortcuts manually or via:
Remove-Item "$env:PUBLIC\Desktop\Microsoft Edge.lnk" -Force -ErrorAction SilentlyContinue
Step 6: Restart & Verify
Reboot your PC. Post-restart, run:
Get-AppxPackage *Edge*
Empty list? Victory! 🎉 No Edge in Task Manager? You're golden.
Troubleshooting Common Issues
- ❌ "Access Denied"? Re-run PowerShell as Admin or disable Windows Defender temporarily (Settings > Privacy & Security).
- 🔄 Edge Reinstalls? Block updates:
reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v DoNotUpdateToEdgeWithChromium /t REG_DWORD /d 1 /f
- ⚠️ WebView2 Persists? It's separate – uninstall via Apps & Features if needed.
For advanced tweaks, check Microsoft's official PowerShell docs.
Pro Tips to Prevent Reinstallation
- 1️⃣ Set Chrome/Firefox as default browser immediately.
- 2️⃣ Use Group Policy: gpedit.msc > Computer Configuration > Administrative Templates > Windows Components > Microsoft Edge > "Prevent installation".
- 3️⃣ Monitor via Task Scheduler – disable Edge update tasks.
Final Thoughts: Enjoy a Edge-Free PC!
Congrats! You've mastered removing Microsoft Edge via PowerShell in 2026. Your system feels lighter, faster, and truly yours. Switch to your fave browser and browse worry-free. Questions? Drop a comment below – happy to help! 👇
Stay tuned for more PowerShell hacks to optimize your Windows experience.