# Remove-MS-Edge: a batch script for uninstalling Microsoft Edge on Windows 10 and Windows 11

> ShadowWhisperer/Remove-MS-Edge is a CC0-licensed set of batch files that strip Microsoft Edge and WebView2 from Windows. The README warns that removing Edge can leave Windows updates in a failure loop, and it lists the applications that break without WebView2.

**ShadowWhisperer/Remove-MS-Edge** — Uninstall Microsoft Edge with a batch script.

- Repository: https://github.com/ShadowWhisperer/Remove-MS-Edge
- Stars: 5,497 · Forks: 214
- Language: Batchfile
- License: CC0-1.0
- Published: 2026-09-22 · Updated: 2026-09-22 · Language: en
- Canonical page: https://hysenlabs.com/projects/shadowwhisperer-remove-ms-edge

## What Remove-MS-Edge removes, and who the batch files are for

Microsoft Edge ships as a Windows component, and the usual Settings and Control Panel paths do not offer a working uninstall. Remove-MS-Edge is a repository of batch files that perform the removal outside those paths. The README describes three variants, and the choice between them is the first decision a user has to make. Both.bat removes Edge and WebView. Edge.bat removes Edge and the Appx version of Edge only. Edge-Appx.bat removes the Appx version of Edge only and, in the README's words, leaves Webview / Chrome version alone.

The audience is narrow. This is for a single machine, usually a personal Windows 10 or Windows 11 install, where the owner has decided they do not want Edge present and accepts that the operating system was not designed for that state. It is not a deployment tool. There is no Group Policy integration, no silent install, no logging framework, and no rollback script in the repository listing, which contains .github/, Batch/, LICENSE, README.md and _Source/.

## How the batch scripts work and why WebView2 is the fault line

The repository is a Batchfile project. The Batch/ directory holds the three scripts, and _Source/ holds the source material for the deprecated executable build. The README's build instructions for that executable use PyInstaller with edge.py and two bundled setup files, setup.x64.exe and setup.x86.exe, which suggests the original approach downloaded or carried an Edge installer payload. The README marks that build path as Depreciated, and the batch version is credited as mostly by XakerTwo.

The important architectural detail is the split between Edge and WebView2. Edge is the browser; WebView2 is the runtime that other applications embed to render web content. Installing Edge also installs WebView2, and removing the browser can take the runtime with it. That is why the README carries a list of software that requires WebView: Eclipse IDEs, Gmpublisher for Garry's Mod, ImageGlass, Lenovo USB Recovery Creator Tool, the Microsoft Photos App edit function, PowerToys File Explorer add-ons utility, Quicken, Rex Atmos for MSFS 2020, Roblox, Safing Portmaster, Windows Mail and the Xbox App. If any of those matter to you, Both.bat is the wrong script and Edge-Appx.bat is the conservative one.

## Installing and running Remove-MS-Edge: a first removal

There is no installer. The README links directly to the raw batch files on GitHub, so the practical path is to download the script you want from the Batch/ directory and run it elevated. The three links in the README point at Batch/Both.bat, Batch/Edge.bat and Batch/Edge-Appx.bat on the main branch.

Before running anything, the README's own warning applies: removing Edge may cause an update failure loop, and the recommended sequence is to install Edge, install all Windows updates, then remove Edge. The README also links a separate Fix-WinUpdates batch script for repairing update problems afterwards.

Once updates are current, run the script from an elevated command prompt. The command below is the pattern; substitute the path where you saved the file.

```bash
cd C:\Users\%USERNAME%\Downloads
Edge-Appx.bat
```

Expect the script to remove the Appx package and finish without a graphical confirmation. If you later need Edge back, the README points to Microsoft's Edge business download page, and for the runtime it points to the WebView2 page on developer.microsoft.com.

## The update loop is the real failure mode, not the uninstall

The README opens with a diff block whose first line is a warning: removing Edge may cause update failure loop. That is the honest limitation of this project, and it is more serious than a missing browser. Windows servicing expects Edge to be present in some configurations, and a machine that has had it removed can end up in a state where updates fail repeatedly. The README's mitigation is procedural rather than technical: install Edge, install all Windows updates, then remove Edge. It also links a separate Fix-WinUpdates script for machines already stuck.

There is a second failure mode that the README documents as a dependency list rather than a warning. WebView2 removal breaks the applications listed above, and the list is long enough that most users will find at least one item they rely on. A third limitation is structural: the repository contains no rollback script. Restoring Edge means reinstalling it from Microsoft, and restoring WebView2 means the same for the runtime. The README does not document an automated undo. If you are not prepared to reinstall from Microsoft's own download pages, this is the wrong tool.

## Remove-MS-Edge compared with Windows' own removal options

The obvious alternative is to leave Edge installed and stop using it. Windows lets you ignore Edge, change the default browser, and remove its taskbar and Start entries, and the README does not claim to offer anything for the default-browser problem beyond removal itself. That approach costs nothing and keeps update servicing intact, which is exactly the risk this project takes on.

The second alternative is manual removal through PowerShell and DISM commands against the Edge package. That path gives you control over each step and a visible record of what was removed, but it requires you to know the package names and to sequence the operations yourself. Remove-MS-Edge packages that sequence into three named scripts, which is its main practical advantage: the choice is explicit in the filename rather than buried in a command line. The trade-off is that you inherit someone else's ordering decisions, including whether WebView2 survives.

A third option, for anyone who wants Edge gone but needs WebView2, is the Edge-Appx.bat script itself. The README describes it as removing the Appx version only and leaving the Chrome version alone, which is the narrowest of the three and the closest thing to a middle path in this repository.

## Licence, maintenance and the cost of upgrading

The repository carries CC0-1.0, a public domain dedication. That removes the usual attribution and redistribution constraints, but it also means there is no warranty and no support obligation attached to the code. For a script that modifies operating system components, that distinction matters more than it would for a library. Nothing in the licence obliges anyone to fix a broken uninstall.

The last push to the repository was on 2026-09-04, and the most recent release listed is 2.3 from 2025-12-11, preceded by 2.2 and 2.1. The repository is not archived. Upgrade cost is low in the mechanical sense: the batch files are small and can be re-downloaded, and the README links to the raw files rather than to packaged artifacts. The real cost is re-verification. Windows changes its Edge packaging between builds, and each new release of this project is an implicit claim that the removal sequence still matches the current Windows state. Because there is no automated test suite described in the README, that claim rests on the maintainer and on user reports.

## Conclusion

Adopt Remove-MS-Edge if you are comfortable running an unsupported removal path on a machine you can reimage, and if you have already read the README's WebView dependency list against the software you actually use. Do not adopt it for a fleet of managed Windows endpoints, where Edge removal is likely to conflict with your update and servicing policy. Before running anything, check which of the three batch files matches your goal, confirm whether you need WebView2 for any installed app, and install all pending Windows updates first.

## FAQ

### Can you actually remove Microsoft Edge with Remove-MS-Edge?

Yes, the repository provides batch scripts that remove Edge, and the README describes three variants covering Edge alone, Edge plus WebView2, or the Appx package only. The README also warns that removing Edge may cause an update failure loop, so the removal is real but has consequences for Windows servicing.

### How do I remove MS Edge from Windows 11 completely?

The README's Both.bat script removes both Edge and WebView, which is the most complete of the three options. Before running it, the README advises installing Edge, installing all Windows updates, and then removing Edge, because removal can otherwise leave updates failing.

### How do I remove MS Edge WebView2?

The README's Both.bat removes Edge and WebView together. That is also the option to avoid if you use any of the applications the README lists as requiring WebView, including Eclipse IDEs, ImageGlass, Quicken, Roblox, Windows Mail and the Xbox App.

### How do I remove MS Edge completely without breaking my other apps?

The README's Edge-Appx.bat removes only the Appx version of Edge and leaves the WebView / Chrome version alone, which is the narrowest of the three scripts. There is no rollback script in the repository, so restoring Edge or WebView2 means reinstalling them from Microsoft's download pages.

## Sources

- [Issues](https://github.com/ShadowWhisperer/Remove-MS-Edge/issues)
- [License: CC0-1.0](https://github.com/ShadowWhisperer/Remove-MS-Edge/blob/main/LICENSE)
- [README](https://github.com/ShadowWhisperer/Remove-MS-Edge/blob/main/README.md)
- [Releases](https://github.com/ShadowWhisperer/Remove-MS-Edge/releases)
- [ShadowWhisperer/Remove-MS-Edge on GitHub](https://github.com/ShadowWhisperer/Remove-MS-Edge)

---

Hysen Labs editorial analysis, written from the project's own repository and release notes. Cite the canonical page: https://hysenlabs.com/projects/shadowwhisperer-remove-ms-edge
