Why Remove Microsoft Edge via PowerShell in 2026? π
In the latest Windows updates, Microsoft Edge is more entrenched than ever as the default browser. But if you're a power user craving customizationβlike switching to Chrome, Firefox, or Braveβstandard uninstallers won't cut it. Removing Microsoft Edge via PowerShell gives you complete control, freeing up gigabytes of storage and boosting performance.
β οΈ Warning: This process modifies system files. Back up your data first! It's reversible but risky if mishandled. Ready to dive in? Let's reclaim your PC! π
Prerequisites Before Removing Microsoft Edge via PowerShell β
- Windows 11 or later (tested on 2026 builds).
- Administrator privileges.
- Alternative browser installed (e.g., Firefox).
- Disable Windows Defender real-time protection temporarily (reenable after).
- Full system backup via Settings > Update & Security > Backup.
Pro tip: Close all apps and Edge instances. Hit Ctrl + Shift + Esc to end stubborn processes. Now, gear up for the steps! πͺ
Step-by-Step: Removing Microsoft Edge via PowerShell (2026 Edition) π
We'll use elevated PowerShell to target Edge's Appx packages, processes, and registry remnants. Copy-paste each commandβno typing errors!
-
Step 1: Launch PowerShell as Administrator π₯οΈ
Right-click Start > Windows PowerShell (Admin) or Terminal (Admin). Confirm UAC prompt.
Get-ExecutionPolicy
If "Restricted," run: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser.
-
Step 2: Kill All Edge Processes πͺ
Edge loves respawning. Force-quit:
Get-Process -Name "msedge*" | Stop-Process -Force
Verify with Get-Process msedgeβshould return nothing!
-
Step 3: List and Remove User-Level Edge Packages ποΈ
Check installed packages:
Get-AppxPackage *edge* | Select Name, PackageFullName
Remove for current user:
Get-AppxPackage *Microsoft.MicrosoftEdge.Stable* | Remove-AppxPackage -ErrorAction SilentlyContinue
Repeat for variants like MicrosoftEdgeDev or MicrosoftEdgeBeta.
-
Step 4: System-Wide Removal (Advanced) βοΈ
Switch to all users:
Get-AppxPackage -AllUsers *Microsoft.MicrosoftEdge* | Remove-AppxPackage -AllUsers -ErrorAction SilentlyContinue
Target WebView2 (Edge's engine):
Get-AppxPackage -AllUsers Microsoft.MicrosoftEdgeWebView2 | Remove-AppxPackage -AllUsers
-
Step 5: Clean Registry and Files π§Ή
Remove shortcuts and registry:
Remove-Item "$env:LOCALAPPDATA\Microsoft\Edge" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item "HKLM:\SOFTWARE\Microsoft\EdgeUpdate" -Recurse -ErrorAction SilentlyContinue
Reboot now: Restart-Computer.
π Success? Edge is gone! Set your new default browser in Settings > Apps > Default apps. But what if errors pop up? Keep reading... π
Troubleshooting Common Issues When Uninstalling Edge via PowerShell π οΈ
Errors like "Access Denied"? Here's a quick fix table:
| Error |
Solution |
| Package not found |
Run Get-AppxPackage *edge* first. Use exact PackageFullName. |
| Access Denied |
SFC /scannow then reboot. Disable Defender. |
| Edge Reinstalls |
Block updates: reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v DoNotUpdateToEdgeWithChromium /t REG_DWORD /d 1 /f |
| WebView2 Persists |
Manual delete: %ProgramFiles(x86)%\Microsoft\EdgeWebView |
Still stuck? Check Microsoft's official docs for package names: Edge Documentation.
Alternatives & Pro Tips for Post-Removal Bliss π
- Batch Script: Save steps as .ps1 for one-click removal.
- Prefer GUI? Try EdgeUninstallTool (verify hashes!).
- Prevent Reinstall: Group Policy > Computer Configuration > Administrative Templates > Edge > Updates > "Update policy override" to Disabled.
Your PC feels lighter already? Share your success in comments! What's your go-to browser now? π
Final Thoughts: Freedom Achieved! π
By following this removing Microsoft Edge via PowerShell guide, you've mastered system tweaks like a pro. Enjoy a clutter-free Windows in 2026. Questions? Drop them belowβwe're here to help! π