SkillAgentSearch skills...

EdgeRemover

A PowerShell script that correctly uninstalls or reinstalls Microsoft Edge on Windows 10 & 11.

Install / Use

npx skills add he3als/EdgeRemover

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src="banner.png" alt="EdgeRemover banner" width="800"> </p> <p align="center"><b>A PowerShell script that correctly uninstalls or reinstalls Microsoft Edge on Windows 10 & 11.</b></p>

🎉 Features

  • Remove Edge with its own uninstaller, meaning there aren't leftovers, alongside no breakage as nothing is hardcoded
  • Multiple fallback methods for uninstallation
  • Can remove Edge installed with a .msi
  • Ability to reinstall Edge and WebView2
  • Implementable in scripts with parameters

⬇️ Usage

You can use the command below in PowerShell to launch the script. Alternatively, get the latest script from the GitHub releases.

iex(irm https://cdn.jsdelivr.net/gh/he3als/EdgeRemover@main/get.ps1)
<p align="center"> <img src="showcase.png" alt="Image of the EdgeRemover UI" width="800"> </p>

📜 Implementation in Scripts

Download the script and run Get-Help .\RemoveEdge.ps1 to see its options. You can either use the downloaded file directly with these arguments or put them into the snippet below:

iex "&{$(irm https://cdn.jsdelivr.net/gh/he3als/EdgeRemover@main/get.ps1)} [ARGUMENTS HERE]"
<details> <summary>Example</summary>

This would uninstall Edge, remove Edge's user-data, and install Edge WebView:

iex "&{$(irm https://cdn.jsdelivr.net/gh/he3als/EdgeRemover@main/get.ps1)} -UninstallEdge -RemoveEdgeData -InstallWebView"
</details>

🫧 Clearing Edge Blocks

You can use the command below in PowerShell to clear all EdgeUpdate policies, including those that block the reinstallation and update of Edge or WebView.

iex "&{$(irm https://cdn.jsdelivr.net/gh/he3als/EdgeRemover@main/get.ps1)} -ClearUpdateBlocks"

❓ Troubleshooting

If Edge won't uninstall, try:

  1. Repairing Edge
  2. Making sure that Windows is up to date
  3. Making sure that Edge is up to date

If it still doesn't work, make an issue.

✅ Additional Credits

  • Xyueta - minor bug fixes
  • ave9858 - inspired this script
  • h3r0 - notified me about the 'windir' method in the script

Related Skills

View on GitHub
GitHub Stars451
CategoryDevelopment
Updated9h ago
Forks26

Languages

PowerShell

Security Score

100/100

Audited on Aug 8, 2026

No findings