Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge remove #38

Open
zbynekdrlik opened this issue Mar 12, 2024 · 12 comments
Open

Edge remove #38

zbynekdrlik opened this issue Mar 12, 2024 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@zbynekdrlik
Copy link

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.

@Raphire
Copy link
Owner

Raphire commented Mar 12, 2024

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/

@Raphire Raphire self-assigned this Mar 12, 2024
@Raphire Raphire added the bug Something isn't working label Mar 12, 2024
@zbynekdrlik
Copy link
Author

I have this settings and slovakia is inside Europe
image

@Raphire
Copy link
Owner

Raphire commented Mar 12, 2024

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:
image

According to Microsoft you need at least either Windows 10, version 22H2 Build 19045.4123 or Windows 11, version 23H2 Build 22631.3235.

@zbynekdrlik
Copy link
Author

image

@Raphire
Copy link
Owner

Raphire commented Mar 13, 2024

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.

@zbynekdrlik
Copy link
Author

No possibility to remove edge in settings
image

@Raphire
Copy link
Owner

Raphire commented Mar 16, 2024

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!

@Raphire
Copy link
Owner

Raphire commented Mar 18, 2024

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 :)

@zbynekdrlik
Copy link
Author

It seems still not working
image

@Raphire
Copy link
Owner

Raphire commented Mar 20, 2024

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.

Raphire added a commit that referenced this issue Mar 29, 2024
…d more (#43)

* Added option to remove OneDrive and Edge via winget (#9)(#38)

* Added Microsoft Journal to Appslist.txt

* Added menu option for removing apps without making other changes

Other changes in this release:
- Apps are now properly removed for all users
- LastSettings file renamed to SavedSettings
- Minor changes to menus, prompts & comments
- Cleaned up & refactored script to improve readability
@Raphire
Copy link
Owner

Raphire commented Mar 29, 2024

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.

@Ricky-Tigg
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants