Created
December 13, 2025 20:51
-
-
Save GabiNun/68d843555f96dbd21d4d47ef23eff5ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| irm gist.github.com/GabiNun/c576d453134e73868d535f52bcf5d120/raw/RemoveEdge.ps1 | iex | |
| Get-Process *Edge*,SearchHost | Stop-Process -Force | |
| Remove-Item "$Env:ProgramFiles (x86)\Microsoft" -Recurse -Force | |
| sc.exe delete edgeupdate | |
| sc.exe delete edgeupdatem | |
| Unregister-ScheduledTask *Edge* -Confirm:$False | |
| $Appx = (Get-AppxPackage *EdgeDevToolsClient).PackageFullName;$Sid = (glu $Env:USERNAME).Sid.Value | |
| New-Item HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\$Sid\$Appx -Force;Remove-AppxPackage $Appx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment