Raphire / Win11Debloat

A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, remove Bing from Windows search as well as perform various other changes to declutter and improve your Windows experience. This script works for both Windows 10 and Windows 11.
MIT License
14.2k stars 614 forks source link

Attempt to remove Microsoft Edge reported as failed #46

Closed Ricky-Tigg closed 7 months ago

Ricky-Tigg commented 7 months ago

Good morning. As expected, for what Microsoft is known for, its product Microsoft Edge is pre-installed, ready to be polluting. It seems a common knowledge that Microsoft made it sticky, knowing that being a highly unwanted component, like so many others, a knowledgeable user would attempt soon or later to get rid of it. However, surprisingly, the option 3 covers it as a removal target. It didn't surprise me when this script reported a failure with exit code subsequent to the attempt to remove said application.

What makes the notification of a failed attempt problematic is that it cannot be determined what justified it. Unlike what is notified, a search for this application - e.g. against "microsoft edge" - in the tool that is accessible via Windows indicates no found target. Is that an indication that after all it might have been successfully removed?

Raphire commented 7 months ago

Heya,

This does sound like the problem described in issue #38. Could you confirm that you got error code 93 when attempting to uninstall edge?

Ricky-Tigg commented 7 months ago
> Removing 1 apps...
Attempting to remove Microsoft.Edge... 
Found Microsoft Edge [Microsoft.Edge]
Starting package uninstall...  
Uninstall failed with exit code: 19