- Local time
- 7:16 PM
- Posts
- 6
- OS
- Windows 11 23H2
Versions: Windows 11 23H2 22631, Windows 11 24H2 26100
Problem:
I appreciate that there are a lot of resources on the removal of Microsoft Edge and I have scooted around the internet quite a bit for my use case to no avail.
During my installation I have a script that modifies
The problem I am facing is I can not seem to remove Edge programmatically at all, no matter what I try.
Solutions Attempted:
I have tried all the commands below, along with a plethora of variations.
I have also tried adding the NoRemove registry value to keys such as
I have tested with all Edge related services stopped and started.
Extra Notes:
The default uninstall string does not seem to do anything when executed in CMD or PowerShell.
I used Sysinternals Process Explorer to derive the command below which seems to execute once the above command is ran
This command does execute as expected and gives the same popup as below.
When doing the uninstall manually via the setting app, I get this pop-up, which I assume this is apart of the problem.

If anyone has any insight on how to fix this problem I would be grateful!
Problem:
I appreciate that there are a lot of resources on the removal of Microsoft Edge and I have scooted around the internet quite a bit for my use case to no avail.
During my installation I have a script that modifies
IntegratedServicesRegionPolicySet.json
in System32 to enable Edge to be uninstallable for all countries. This works as intended, when the setup is complete, I can manually select uninstall and remove Edge.The problem I am facing is I can not seem to remove Edge programmatically at all, no matter what I try.
Solutions Attempted:
I have tried all the commands below, along with a plethora of variations.
Powershell:
cmd.exe /c "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --uninstall --force-uninstall (and all other tacks I found)
Get-Package -Name 'Microsoft Edge' | Uninstall-Package -force
Start-Process "C:\Windows\System32\msiexec.exe" -ArgumentList '/uninstall {56EB18F8-B008-4CBD-B6D2-8C97FE7E9062} /quiet /qn /l*v' -Wait
Start-Process "C:\Windows\System32\msiexec.exe" -ArgumentList '/uninstall {FCC74B77-EC3E-4DD8-A80B-008A702075A9} /quiet /qn' -Wait
"C:\Program Files (x86)\Microsoft\Edge\Application\129.0.2792.52\Installer\setup.exe" --uninstall --msedge --channel=stable --system-level --verbose-logging
I have also tried adding the NoRemove registry value to keys such as
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge
I have tested with all Edge related services stopped and started.
Extra Notes:
The default uninstall string does not seem to do anything when executed in CMD or PowerShell.
"C:\Program Files (x86)\Microsoft\Edge\Application\129.0.2792.52\Installer\setup.exe" --uninstall --msedge --channel=stable --system-level --verbose-logging
I used Sysinternals Process Explorer to derive the command below which seems to execute once the above command is ran
This command does execute as expected and gives the same popup as below.
"C:\Program Files (x86)\Microsoft\Edge\Application\129.0.2792.52\Installer\setup.exe" --uninstall
When doing the uninstall manually via the setting app, I get this pop-up, which I assume this is apart of the problem.

If anyone has any insight on how to fix this problem I would be grateful!
- Windows Build/Version
- Windows 11 23H2 22631
My Computer
System One
-
- OS
- Windows 11 23H2
- Computer type
- PC/Desktop