winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Microsoft Edge can't uninstall

Open Alcycber opened this issue 1 year ago • 14 comments

Trying to uninstall Microsoft edge using win utility keeping getting a error saying ====Chris Titus Tech===== =====Windows Toolbox===== Running Script for WPFTweaksRemoveEdge [] Registry key not found: HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\ClientState{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062} Cannot find uninstall methods for

-- Tweaks are Finished ---

Alcycber avatar Sep 03 '24 21:09 Alcycber

I have also noticed that Edge won't uninstall.

crazycheetah42 avatar Sep 04 '24 01:09 crazycheetah42

Yup, same issue.

astroprogs11 avatar Sep 04 '24 07:09 astroprogs11

Looks like Microsoft patched the region workaround and it no longer removes Edge... FML.

ChrisTitusTech avatar Sep 04 '24 20:09 ChrisTitusTech

@ChrisTitusTech Thank you so much for replying it was driving me mad 😂 got any suggestions on remember removing?.

Alcycber avatar Sep 04 '24 21:09 Alcycber

Can't you just swap the edge browser with chrome? As in, literally swap the binary files and change the icon for every shortcut? Or maybe symlink some shit? Idk man but there must be a creative way to just make windows open chrome for everything and then just hide edge from the user?

UltraCakeBakery avatar Sep 05 '24 19:09 UltraCakeBakery

@ChrisTitusTech I believe there is a NoRemove registry key for Edge. That makes it uninstallable from the regular Settings app. Maybe we could swap the "Remove Edge" button for a "Make Edge uninstallable" button.

crazycheetah42 avatar Sep 06 '24 01:09 crazycheetah42

Yeah, the path is HKLM\SOFTWARE\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge

crazycheetah42 avatar Sep 06 '24 01:09 crazycheetah42

We shouldn't even need to change the region to unlock the uninstall, the best way is if the script could gain permission to modify the file, go into the ServicesRegionPolicy json and edit the text to change "Edge is uninstallable" default state from disabled to enabled then restore the ACL. Then the only other thing would be to remove the "NoRemove" registry key that grays out the uninstall. Heres a video for concept https://www.youtube.com/watch?v=_utrsNxQiR0

Linget0 avatar Sep 14 '24 14:09 Linget0

Kihpla from (#2735 Edge Uninstall) linked to a UninstallEdge.ps1 file to uninstall Edge.

4yman-0 avatar Sep 18 '24 18:09 4yman-0

This is a duplicate of (#2544 Removing Edge and Microsoft apps doesn't work).

4yman-0 avatar Sep 18 '24 18:09 4yman-0

Well, I got the same issue here. I just want to get rid Microsoft Edge Stable on my Windows 10 22H2 but no works! I think because Microsoft patched it pretty quick since version 120+.

Also, when I dig into C:\ProgramData\Microsoft\EdgeUpdate\Logs\msedge-installer.log, I discovered some concerns here while I tries to uninstall Edge either via WinUtil & classic setup.exe --uninstall --system-level --verbose-logging --force-uninstall via Command Prompt:

...
[6300:11624:1019/201307.536:37035312:VERBOSE1:installer_state.cc(101)] Uninstall
[6300:11624:1019/201307.536:37035312:VERBOSE1:install_util.cc(284)] Existing version found: 130.0.2849.46
[6300:11624:1019/201307.664:37035437:VERBOSE1:shell_util.cc(4111)] Stable: didn't check uninstall policy, or policy disabled
[6300:11624:1019/201307.664:37035437:WARNING:setup_main.cc(3435)] Uninstall was blocked for this product: 93
[6300:11624:1019/201307.664:37035437:VERBOSE1:work_item_list.cc(32)] Beginning execution of work item list Write Installer Result
[6300:11624:1019/201307.665:37035437:VERBOSE1:set_reg_value_work_item.cc(208)] Successfully wrote into Software\Microsoft\EdgeUpdate\ClientState\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}
[6300:11624:1019/201307.665:37035437:VERBOSE1:set_reg_value_work_item.cc(208)] Successfully wrote into Software\Microsoft\EdgeUpdate\ClientState\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}
[6300:11624:1019/201307.665:37035437:VERBOSE1:set_reg_value_work_item.cc(204)] Successfully wrote value You don't have permissions to install at the system level. Run the installer as an administrator. into Software\Microsoft\EdgeUpdate\ClientState\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}
...

So... I found that the uninstall was blocked even I use that EEA feature/policy on Windows 10 that I found on XDA (although they said Windows 11 but it works on Windows 10). So yeah, that's something but also sucks that Microsoft patched it pretty quick.

ToddIndry37 avatar Oct 20 '24 00:10 ToddIndry37

Yeah, the path is HKLM\SOFTWARE\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge

@crazycheetah42 Yeah it did, but unfortunately I think Microsoft patched it to block the Edge uninstall process.

ToddIndry37 avatar Oct 20 '24 00:10 ToddIndry37

This issue was marked as stale due to inactivity.

github-actions[bot] avatar Jan 18 '25 00:01 github-actions[bot]

https://github.com/ShadowWhisperer/Remove-MS-Edge This works perfectly fine for Uninstalling Edge if that helps in any way

xd003 avatar Apr 04 '25 15:04 xd003