Important Working on the latest supported Windows versions. Run Windows Update before following this guide.
- Open Powershell > RUN AS ADMIN
- Paste in irm https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6/raw/UninstallEdge.ps1 | iex and press enter
- Microsoft Edge will be completely uninstalled. Note The Microsoft Edge Update service might remain, this is normal as it is required for updating WebView2.
source & further reading
gist.github.com — original article
Invoke-OSDDiskLayout.ps1 | ConfigMgr OSD v1.0.0 snapshot (MIT)
GPT-5.6 Sol clarification vs guess benchmark
LLM handoff: install a custom GitHub profile header with GitHub CLI setup