Frustrated with Microsoft Edge hogging your Windows 10 resources? Whether it's the legacy version or the Chromium-based one, this step-by-step guide empowers you to remove Microsoft Edge via PowerShell safely and efficiently. No third-party tools needed β just built-in PowerShell magic. You'll free up space, boost performance, and customize your browser lineup. Ready to dive in? Let's make it happen! π
Why Remove Microsoft Edge on Windows 10?
- Performance boost: Edge auto-launches and syncs data you don't need.
- Privacy control: Limit telemetry without full OS tweaks.
- Custom setup: Install Chrome, Firefox, or Brave instead. β¨
β οΈ Important Warning: Microsoft Edge is a system-protected app. Removal might affect some features like WebView2 apps. Always create a system restore point first (search "Create a restore point" in Start menu). Proceed at your own risk!
Prerequisites Before Starting
| Requirement |
Action |
| Admin Rights |
Ensure you're logged in as Administrator. |
| PowerShell |
Built-in on Windows 10 β no install needed. |
| Backup |
Run sfc /scannow in CMD first for system health. |
| Edge Version |
Works for both Legacy (EdgeHTML) and Chromium Edge. |
Step-by-Step: Removing Microsoft Edge via PowerShell
π Step 1: Launch PowerShell as Administrator
Right-click Start button β Windows PowerShell (Admin). Or search "PowerShell" in Start, right-click, and select "Run as administrator." Black window? You're golden!
π Step 2: Close All Edge Processes
Kill lingering tasks to avoid errors:
taskkill /f /im msedge.exe
taskkill /f /im MicrosoftEdge.exe
Hit Enter after each. No more sneaky processes!
π Step 3: Identify Edge Packages
List all Edge-related packages:
Get-AppxPackage -allusers *Edge*
Look for names like Microsoft.MicrosoftEdge.Stable or Microsoft.MicrosoftEdgeDev. Note the exact PackageFullName (copy it!).
π Step 4: Remove Edge for Current User
Run this, replacing with your PackageFullName if needed:
Get-AppxPackage Microsoft.MicrosoftEdge.Stable | Remove-AppxPackage
Success message? Great! Repeat for Dev/Canary if listed.
π Step 5: Remove for All Users (Critical Step)
The powerhouse command:
Get-AppxPackage -allusers Microsoft.MicrosoftEdge.Stable | Remove-AppxPackage
If errors pop up (common on protected installs), force it:
Get-AppxPackage -allusers *Microsoft.MicrosoftEdge* | Remove-AppxPackage -ErrorAction SilentlyContinue
π Step 6: Remove Provisioned Packages (Prevents Reinstall)
Stop Edge from coming back on updates:
Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -like "*Edge*"} | Remove-AppxProvisionedPackage -Online
Reboot now: Restart-Computer (type Y to confirm).
Troubleshooting Common Issues
Stuck? Here's your fix-it table:
| Error |
Solution |
| "Access Denied" |
Re-run PowerShell as true Admin. Disable UAC temporarily via registry: reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f (reboot, re-enable later). |
| Package Not Found |
Use Get-AppxPackage *edge* to match exact name. For Chromium: Target Microsoft.MicrosoftEdge.Stable_44.* versions. |
| Edge Reinstalls |
Block via Group Policy: gpedit.msc β Computer Config β Admin Templates β Windows Components β App runtime β "Turn off Microsoft Edge" (more details in Microsoft Docs). |
| System Glitches Post-Removal |
Reinstall via Add-AppxPackage -Register "C:\Program Files (x86)\Microsoft\Edge\Application\... .appx" -DisableDevelopmentMode or restore point. |
Pro Tips for a Smoother Experience β¨
- Verify Removal: Post-reboot, search "Edge" in Start β gone? π
- Alternative Browsers: Install your fave right away for seamless switch.
- Prevent Future Bloat: Use Windows Imaging docs for clean installs.
- Script it all? Copy steps into a .ps1 file and run once.
Final Thoughts: Freedom Achieved!
Congrats! You've mastered removing Microsoft Edge via PowerShell on Windows 10. Your PC feels lighter, faster, and truly yours. If issues arise, drop a comment below β we've got your back. What's next? Tweak more settings or optimize further? Stay tuned for our guides on debloating Windows completely. Happy computing! π