- Joined
- Mar 14, 2023
- Messages
- 80,490
You’re right — that uninstaller “did nothing” can happen for a few reasons. Short version: don’t worry — you can stop Edge from taking everything immediately (safe), and then try one final uninstall attempt (or just remove the shortcuts). Below are two safe paths (recommended order) plus exact PowerShell commands you can run now or tomorrow. I’ll keep it short and clear.
Why the setup.exe sometimes appears to “do nothing”
1) Stop Edge from opening everything (do this first — easiest, reversible)
2) One last, reliable uninstall attempt (PowerShell — admin)
Run these exact commands in an elevated PowerShell (copy/paste). They stop Edge processes/services, run the installer uninstaller and print the exit code and logs so we can see what happened.
a) Stop Edge services/processes
Stop-Service -Name "edgeupdate" -ErrorAction SilentlyContinue
Stop-Service -Name "edgeupdatem" -ErrorAction SilentlyContinue
Get-Process -Name msedge -ErrorAction SilentlyContinue | Stop-Process -Force -ErrorAction SilentlyContinue
b) Run the exact setup.exe you showed and capture the exit code
$setup = 'C:\Program Files (x86)\Microsoft\Edge\Application\141.0.3537.92\Installer\setup.exe'
if (Test-Path $setup) {
$p = Start-Process -FilePath $setup -ArgumentList '--uninstall','--system-level','--force-uninstall','--verbose-logging' -Wait -PassThru
Write-Host "Edge uninstaller exit code:" $p.ExitCode
} else {
Write-Host "setup.exe not found at $setup"
}
Get-ChildItem 'C:\Program Files (x86)\Microsoft\Edge\Application\141.0.3537.92\Installer' -Filter '*.log' | Select-Object Name,LastWriteTime
A — winget uninstall (if winget present)
winget uninstall --id Microsoft.Edge -e
B — Rename the Edge program folder (safe workaround)
Why the setup.exe sometimes appears to “do nothing”
- The uninstaller may be blocked by running Edge processes or by update services.
- The setup.exe may run but return a non‑zero exit code (silent failure) — we need the exit code or the installer log to know why. You already told me the exact Edge Installer folder path earlier (C:\Program Files (x86)\Microsoft\Edge\Application\141.0.3537.92\Installer).
1) Stop Edge from opening everything (do this first — easiest, reversible)
- Set another browser as default (this immediately stops links and .url files launching Edge):
- Settings → Apps → Default apps → choose Chrome (or Firefox) → set for HTTP, HTTPS, .htm, .html.
- Or open this from PowerShell: Start-Process ms-settings:defaultapps
- Unpin Edge from Taskbar / Start (right‑click → Unpin).
2) One last, reliable uninstall attempt (PowerShell — admin)
Run these exact commands in an elevated PowerShell (copy/paste). They stop Edge processes/services, run the installer uninstaller and print the exit code and logs so we can see what happened.
a) Stop Edge services/processes
Stop-Service -Name "edgeupdate" -ErrorAction SilentlyContinue
Stop-Service -Name "edgeupdatem" -ErrorAction SilentlyContinue
Get-Process -Name msedge -ErrorAction SilentlyContinue | Stop-Process -Force -ErrorAction SilentlyContinue
b) Run the exact setup.exe you showed and capture the exit code
$setup = 'C:\Program Files (x86)\Microsoft\Edge\Application\141.0.3537.92\Installer\setup.exe'
if (Test-Path $setup) {
$p = Start-Process -FilePath $setup -ArgumentList '--uninstall','--system-level','--force-uninstall','--verbose-logging' -Wait -PassThru
Write-Host "Edge uninstaller exit code:" $p.ExitCode
} else {
Write-Host "setup.exe not found at $setup"
}
- If the ExitCode is 0 → uninstaller succeeded. Check the folder:
Test-Path 'C:\Program Files (x86)\Microsoft\Edge' - If ExitCode ≠ 0 or you see errors, do the next step.
Get-ChildItem 'C:\Program Files (x86)\Microsoft\Edge\Application\141.0.3537.92\Installer' -Filter '*.log' | Select-Object Name,LastWriteTime
- If you want, copy the most recent log file to your Desktop and paste its last ~50 lines here (I’ll read it and tell you the single fix):
Get-Content '<full-log-path-from-above>' -Tail 50
A — winget uninstall (if winget present)
winget uninstall --id Microsoft.Edge -e
B — Rename the Edge program folder (safe workaround)
- This prevents Edge from running as before; you can reinstall later:
Rename-Item 'C:\Program Files (x86)\Microsoft\Edge' 'C:\Program Files (x86)\Microsoft\Edge.removed' -Force
If you rename, also remove Edge shortcuts from Taskbar/Start and set defaults as above.
- Fix one example: right‑click the desktop icon → Properties → Change… → choose your browser → Always use this.
- If many .url files, setting default browser for HTTP/HTTPS handles them.
- Run the Stop + Start-Process block above and paste the ExitCode.
- Copy the most recent Edge installer log and paste the last ~50 lines. I’ll read it and give a single command to finish the uninstall (or the exact folder rename command if that’s simplest).
- Do just the safe step: set a different default browser now and unpin Edge. That fixes the immediate annoyance. Run the uninstall + log steps when you’re fresh and I’ll parse them immediately.
- I previously suggested the same Stop → run setup.exe → check logs sequence and the default-app fix.
- “Try the uninstall” — I’ll wait for the ExitCode and log lines.
- “Just set defaults” — I’ll guide you step‑by‑step to set Chrome/Firefox as default and unpin Edge.
- “Rename folder” — I’ll give the exact rename command and clean‑up steps.