Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/he3als/edgeremover
A PowerShell script that correctly uninstalls or reinstalls Microsoft Edge on Windows 10 & 11.
https://github.com/he3als/edgeremover
debloat debloater edge microsoft-edge powershell windows
Last synced: about 14 hours ago
JSON representation
A PowerShell script that correctly uninstalls or reinstalls Microsoft Edge on Windows 10 & 11.
- Host: GitHub
- URL: https://github.com/he3als/edgeremover
- Owner: he3als
- License: unlicense
- Created: 2023-07-16T14:42:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-10T13:04:02.000Z (13 days ago)
- Last Synced: 2024-12-15T11:04:47.476Z (8 days ago)
- Topics: debloat, debloater, edge, microsoft-edge, powershell, windows
- Language: PowerShell
- Homepage:
- Size: 2.27 MB
- Stars: 136
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A PowerShell script that correctly uninstalls or reinstalls Microsoft Edge on Windows 10 & 11.
---
### 🎉 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](https://github.com/he3als/EdgeRemover/releases/latest).```powershell
iex(irm https://cdn.jsdelivr.net/gh/he3als/EdgeRemover@main/get.ps1)
```
#### 📜 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:
```powershell
iex "&{$(irm https://cdn.jsdelivr.net/gh/he3als/EdgeRemover@main/get.ps1)} [ARGUMENTS HERE]"
```Example
This would uninstall Edge, remove Edge's user-data, and install Edge WebView:
```powershell
iex "&{$(irm https://cdn.jsdelivr.net/gh/he3als/EdgeRemover@main/get.ps1)} -UninstallEdge -RemoveEdgeData -InstallWebView"
```### 🫧 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.```powershell
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 dateIf it still doesn't work, [make an issue](https://github.com/he3als/EdgeRemover/issues).
### ✅ Additional Credits
- [Xyueta](https://github.com/Xyueta) - minor bug fixes
- [ave9858](https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6) - inspired this script
- [h3r0](https://github.com/melo936) - notified me about the 'windir' method in the script