I can successfully reproduce this issue, and I think the uninstallation via command line is just not allowed for now (due to patches or something), even if you can now uninstall it from GUI.
I've got 2 copies of Edge Installer Log, 1 for successful uninstallation and 1 for failure. If you compare them, you would find that
- Uninstallation is not allowed when you use the UninstallString (that
--force-uninstall
one) in CMD. Here're the logs:[8096:2736:1224/154931.567:1785000:VERBOSE1:edge_install_util.cc(216)] Parent process: C:\Windows\System32\cmd.exe [8096:2736:1224/154931.567:1785000:VERBOSE1:edge_install_util.cc(274)] Stable is not uninstallable for process.
- Uninstallation is allowed when you use the GUI. The GUI simply calls a Windows API to help on uninstallation, and that Windows API apparently has the permission to uninstall Edge:
[8152:14332:1224/153617.820:991265:VERBOSE1:edge_install_util.cc(216)] Parent process: C:\Windows\System32\sihost.exe [8152:14332:1224/153617.820:991265:VERBOSE1:edge_install_util.cc(256)] Uninstall allowed: Windows caller
So, it is not possible to uninstall Edge from command line so far, but you can still check with the Dev Team for more information. You can send feedback in Microsoft Edge at ··· menu --> Help and feedback --> Send feedback, or you can send feedback at Feedback Hub on Windows.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Shijie Li