Ways (which no longer work on Win11 (Build 22621.1718)) to forcibly remove MS edge which are mentioned on diff sites.
RegEditand go to this key:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge. In there change the value of ‘NoRemove’ from 1 to 0. And then uninstall MS edge from Windows Settings (if you don’t first change this registry entry, ‘Uninstall’ option would remain grayed out in the apps list)
Open Command Prompt (perhaps Power Shell would also do), with admin rights, go to this location (you’d have to give this command
Cd "Program Files (x86)\Microsoft\Edge\Application\YOUR-MS-EDGE-VERSION-NUMBER\Installer". E.g.:
Cd "Program Files (x86)\Microsoft\Edge\Application\113.0.1774.57\Installer").
At the above said location, paste this command in the terminal/command window:
.\setup.exe --uninstall --system-level --verbose-logging --force-uninstall.
I’ve found that this command no longer works and gives this type of access error:
The Setup command may only be used inside a Describe block.(actual error msg is much longer than this line). Sometimes, this didn’t produce any error, but no result also.
Another method is to run this command in Admin Power Shell:
get-appxpackage *edge*. And in the almost 6th line of the results, you’d find
PackageFullName. Here you’ve to copy its value, and give this command:
- But this too failed with this sort of error:
Deployment failed with HRESULT: 0x80073CF1, Package was not found.