PowerShell script to remove Microsoft Edge in a non-forceful manner, or even reinstall it.
UNLICENSE License
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)
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]"
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"
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"
If Edge won't uninstall, try:
If it still doesn't work, make an issue.