Win11Debloat
Win11Debloat copied to clipboard
Edge remove
Hi, is it possible to remove edge browser? I have run your script but edge is still here. I went through custom configuration and select it. After success run, edge is still present.
Heya,
What region is your Windows installation set to? You can find this in the settings, navigate to: Start > Settings > Time & Language > Region.
I think this issue is related to the fact that Microsoft only allows users to remove Edge if they are in the EEA (european economic area) due to the recent DMA legislation, more info here: https://blogs.windows.com/windows-insider/2023/11/16/previewing-changes-in-windows-to-comply-with-the-digital-markets-act-in-the-european-economic-area/
I have this settings and slovakia is inside Europe
Thanks for the quick reply.
That region should be fine yea, could you check what your current windows version is? Microsoft has been rolling out the update that allows you to uninstall Edge quite slowly.
To do this press Windows key + R (win + R), and type: winver
It should look something like this:
According to Microsoft you need at least either Windows 10, version 22H2 Build 19045.4123 or Windows 11, version 23H2 Build 22631.3235.
Thanks for confirming your version.
I can reproduce the issue on my systems. I'll see if I can find an alternative way to remove it via the script. You should be able to uninstall it via the settings UI for now though.
No possibility to remove edge in settings
Oh that is weird, a quick search shows you're not the only one with this issue. Maybe Microsoft is still messing about.
If you want to remove it manually, I have been able to get edge removed via winget.
I'm currently working on integrating this into the script aswell!
Heya,
I have just pushed an experimental update that fixes edge removal. This version requires winget, which should be installed by default.
In my limited testing so far this seems to work a treat, but I will be testing it some more before fully releasing it.
If you're willing to try it, please download the experimental version here: https://github.com/Raphire/Win11Debloat/tree/experimental
Let me know how it works for you :)
It seems still not working
That's a shame. I do notice that your edge version is quite a few versions behind (current version is 122), could that have something to do with the fact you can't uninstall it?
EDIT: @zbynekdrlik After doing some additional testing, it doesn't seem related to the edge version. I created a few VM's with region set to belgium and the uninstall option is greyed out there too, with Error 93 when trying to uninstall edge.
Uninstalling Edge via Win11Debloat now works properly for EEA users, as long as uninstalling is not blocked by Windows itself.
If Windows does block the uninstall it will display error code 93, as demonstrated by @zbynekdrlik . I am looking into ways to bypass this issue.
Hello, developer/user. Although I am no longer able to share the exit code that was reported in the terminal when attempting to remove said component, I would be inclined to perform a test against an experimental version. However, I do not know by what means the operation which consisted of the attempted removal could be reversed.
Registry | Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\DeviceRegion
Reported value for the DeviceRegion 32-bit DWORD key: 0x0000004d (77)
No possibility to remove edge in settings
Hello, I'd like to let you know i fixed this issue in my pull request. This script should be able to uninstall edge without any errors in the future. I am very happy that i can contribute to this project once again :)
I am still getting error 93 is there any update to this?
I am still getting error 93 is there any update to this?
If you are using loadstring1's PR, make sure you press 2 in the menu, where you get a bunch of (y/n)'s, as the stuff they added is only accessible form there (I think).
@Raphire guys, seriously, come on. https://rentry.co/debloatguide#removing-microsoft-edge
@Raphire guys, seriously, come on. https://rentry.co/debloatguide#removing-microsoft-edge
Thanks for this link. I was under the impression this method didn't work anymore, but for some reason this does seem to work. I'll do some additional testing and see if I can implement this in the script.
@Raphire guys, seriously, come on. https://rentry.co/debloatguide#removing-microsoft-edge
I have released an implementation of this (with some ideas from #64 mixed in) in this branch: https://github.com/Raphire/Win11Debloat/tree/EdgeRemove-experimental
It's not fully tested but seems to work well so far. I messed up my W11 VM template, so I'll have to setup my testing environment again tomorrow to do additional testing.
The option to force remove edge has been merged with the master branch as of https://github.com/Raphire/Win11Debloat/commit/6049800f10d06c8bb3d003c35716dc9af3cebb8c
Closing this issue as completed. As there have been no issues reported after the feature to forcefully remove Microsoft Edge was introduced with 6049800