Remove Microsoft Edge, Edge Update, and optionally Edge WebView2 Runtime from Windows 10 and Windows 11 using a single PowerShell script.
This tool combines the native Microsoft uninstaller with the Integrated Services Region Policy unlock used in the EU (Digital Markets Act), so the uninstall path works outside Europe as well — not just a brute-force folder delete.
No third-party Edge remover can guarantee success on every PC. This project targets a specific, well-supported environment:
| Supported target | Notes |
|---|---|
| Windows 10 / 11 x64 | Primary supported platform |
| Local Administrator | Script self-elevates via UAC |
| Non-S Mode | S Mode blocks unsigned/local scripts |
| Not supported or unreliable | Notes |
|---|---|
| Windows S Mode | Script execution is blocked |
| Enterprise / MDM-managed PCs | Group Policy or Intune may override registry changes and reinstall Edge |
| ARM64 Windows | May work; not fully validated |
| Windows Server | Edge may not be preinstalled; behavior varies |
Windows Update may restore Microsoft Edge or reset IntegratedServicesRegionPolicySet.json after a major upgrade. Re-run this script if Edge returns.
Method reference: CyberCPU Tech — Uninstall Microsoft Edge For Good
Review the script on disk before executing anything with administrator privileges.
git clone https://github.com/eunjunseo47/edge-remover.git
cd edge-remover
powershell -ExecutionPolicy Bypass -File .\edge-remover.ps1Accept the UAC (Administrator) prompt when it appears.
Only use this if you have read the script on GitHub and trust the source:
irm https://raw.githubusercontent.com/eunjunseo47/edge-remover/main/edge-remover.ps1 | iexRunning remote code with irm | iex carries inherent risk. Prefer cloning the repository when possible.
# Remove Edge browser + Edge Update (keeps WebView2 by default)
.\edge-remover.ps1
# Also remove WebView2 Runtime — RISKY: may break dependent apps
.\edge-remover.ps1 -RemoveWebView2
# No confirmation prompts
.\edge-remover.ps1 -Force
# Skip region policy edit (e.g. already in EU or already patched)
.\edge-remover.ps1 -SkipRegionPolicy
# Keep user AppData folders
.\edge-remover.ps1 -SkipAppDataCleanup| Parameter | Description |
|---|---|
-RemoveWebView2 |
Optional and risky. Also uninstall Edge WebView2 Runtime. Many apps embed WebView2. |
-SkipRegionPolicy |
Do not edit IntegratedServicesRegionPolicySet.json |
-SkipReinstallBlock |
Do not write anti-reinstall registry keys |
-SkipAppDataCleanup |
Do not delete %LocalAppData%\Microsoft\Edge* |
-Force |
Skip interactive confirmation |
-NoRebootPrompt |
Do not offer reboot at the end |
By default, WebView2 is kept for application compatibility. Only pass -RemoveWebView2 if you understand that installers, login flows, and desktop apps may stop working until WebView2 is reinstalled.
- Microsoft Edge (Chromium) browser
- Edge Update services (
edgeupdate,edgeupdatem) - Edge scheduled tasks
- Edge / EdgeCore / EdgeUpdate install folders
- Edge AppX and provisioned packages
- User
AppDataEdge profile folders (unless-SkipAppDataCleanup) - Orphan uninstall registry entries (fixes “setup.exe not found” in Settings)
- Optional: Edge WebView2 Runtime (
-RemoveWebView2)
- Enables non-EU uninstall policies in
C:\Windows\System32\IntegratedServicesRegionPolicySet.json - Sets
DoNotUpdateToEdgeWithChromiumand EdgeUpdate policy keys using the correct product GUIDs:- Edge Stable:
{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062} - WebView2 (only when
-RemoveWebView2):{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}
- Edge Stable:
- Self-elevates to Administrator (UAC)
- Stops Edge processes, services, and scheduled tasks
- Patches
IntegratedServicesRegionPolicySet.json(enables “Edge is uninstallable” outside EU) - Runs native
setup.exe --uninstall --system-level --force-uninstall - Removes AppX packages, leftover folders, and user data
- Blocks automatic Edge reinstall via registry (best-effort)
- Cleans orphan “Installed apps” entries when
setup.exeis already gone
| Environment | Result |
|---|---|
| Windows 11 24H2 / 25H2 (x64), US region | Edge + WebView2 removed; orphan Settings entry cleaned |
| Windows 10 22H2 (x64) | Expected to work; community reports welcome via Issues |
| Windows 11 ARM64 | Not validated in CI — use at your own risk |
| Windows S Mode | Not supported |
CI validates PowerShell syntax on windows-latest for every push and pull request.
- Does not disable all Windows telemetry — only removes Edge-related components.
- Enterprise / MDM devices may ignore or revert local policy and registry changes.
- Windows Update can reinstall Edge or restore the region policy JSON file.
- WebView2 removal is optional because many applications depend on it.
- Exit code 532 from
setup.exeoften means a reboot is required before uninstall completes. - The script makes no network calls during execution; only you choose whether to download it from GitHub.
- Download from Microsoft: https://www.microsoft.com/edge
- Or use winget:
winget install Microsoft.Edgewinget install Microsoft.EdgeWebView2RuntimeThe script saves a backup before editing:
%TEMP%\IntegratedServicesRegionPolicySet.json.YYYYMMDD-HHMMSS.bak
Copy it back to C:\Windows\System32\IntegratedServicesRegionPolicySet.json (Administrator + ownership change required).
- No data collection. The script does not phone home, log telemetry, or upload files.
- No network activity during script execution.
- The only network interaction is if you choose to download the script (for example via
git cloneorirmfrom GitHub). - Read
edge-remover.ps1before running it, especially withirm | iex.
Reboot the PC, then either:
- Run
.\edge-remover.ps1again, or - Use Settings → Apps → Installed apps → Microsoft Edge → Uninstall
After the region policy patch, the Uninstall button should no longer be grayed out outside the EU.
The files are already gone but Windows still lists Edge. Re-run the script — it removes orphan uninstall registry keys automatically. A reboot may also clear stale UI entries.
Run PowerShell as Administrator and accept the UAC prompt. The script takes ownership of IntegratedServicesRegionPolicySet.json before editing. If access still fails, reboot into an admin account and retry.
Windows Update may restore Edge or reset the policy JSON. Re-run:
powershell -ExecutionPolicy Bypass -File .\edge-remover.ps1Keep a copy of your patched JSON backup if Start menu web-search behavior changes after an update.
- Use at your own risk. Removing system components can affect Windows features, widgets, or apps that depend on Edge/WebView2.
- This project is not affiliated with Microsoft.
- Read the script before executing, especially with
irm | iex. - Required Windows diagnostic data cannot be fully disabled by removing Edge alone.
edge-remover/
├── .github/workflows/powershell.yml
├── edge-remover.ps1
├── README.md
├── LICENSE
└── .gitignore
microsoft-edge · edge-remover · uninstall-edge · windows-debloat · remove-edge · windows-11 · windows-10 · powershell
MIT — see LICENSE.