It looks like there is away to remove it via DOS/Command Prompt. However the code they suggested I use is not finding it. There are said concerns about programs like media player and photos not working, but I don't use those anyway. It's not really the space I am worried about. Too many vulnerabilities, regardless where I go. Never cared for IE or Chrome, usually use Firefox/FF Focus because of better security.
I wouldn't worry about vulnerabilities if you don't use it as a browser and just ignore it's existence. Some updates even automatically reinstall it(Like the latest update 24H2 for example)
Not sure what you tried but this should work if you run powershell as admin and copy+paste. I'd test it but i'm still on Win10
Code
$EdgePackage = Get-AppxPackage -Name Microsoft.MicrosoftEdge | Select-Object -ExpandProperty PackageFullName
if ($EdgePackage) {
Remove-AppxPackage -Package $EdgePackage -AllUsers -ErrorAction SilentlyContinue
Write-Output "Microsoft Edge has been removed for all users."
} else {
Write-Output "Microsoft Edge is not installed or cannot be found."
}
$EdgePath = "C:\Program Files (x86)\Microsoft\Edge\Application"
if (Test-Path "$EdgePath") {
$EdgeVersion = Get-ChildItem "$EdgePath" | Where-Object { $_.PSIsContainer } | Select-Object -ExpandProperty Name -Last 1
$UninstallCmd = "$EdgePath\$EdgeVersion\Installer\setup.exe"
if (Test-Path $UninstallCmd) {
Start-Process -FilePath $UninstallCmd -ArgumentList "--uninstall --system-level --verbose-logging --force-uninstall" -NoNewWindow -Wait
Write-Output "Microsoft Edge has been forcefully uninstalled."
} else {
Write-Output "Edge uninstaller not found."
}
} else {
Write-Output "Edge is not installed."
}
Uninstaller should be in C:\Program Files (x86)\Microsoft\Edge\Application somewhere if you want to manually search for it
This post was edited by MrSK on May 12 2025 09:47pm