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

UCPD blocking Europe Mode #404

Open
2 tasks
procionecurioso opened this issue Mar 23, 2024 · 12 comments
Open
2 tasks

UCPD blocking Europe Mode #404

procionecurioso opened this issue Mar 23, 2024 · 12 comments
Assignees
Labels
bug Something isn't working external cause A program other than MSEdgeRedirect causes the issue high High Priority, Negatively affects functionality for all users

Comments

@procionecurioso
Copy link

Preflight Checklist

  • Running microsoft-edge:https://google.com redirects successfully
  • Microsoft Edge is selected in any "How do you want to open this?" box

Install Type

New Install

Install Mode

Europe Mode

Steps to reproduce

I opened msedgeredirect in a new installation of windows, then used europe mode with the Italian nation, and even restarting it remained in the old parameters of united states

✔️ Expected Behavior

That it changes the parameters and makes me uninstall edge and disable bing search, but I saw that it doesn't work even with other nations for example germany

❌ Actual Behavior

The parameters that are not changed are: machine region, user region, and user region id. And it doesn't let me uninstall edge despite being in the latest version of windows (I point out that I installed an Italian iso to try and it makes me uninstall it perfectly)

Microsoft Windows version

23h2 22631.3296

Other Software

Nothing fresh install

@procionecurioso procionecurioso added the bug Something isn't working label Mar 23, 2024
@rcmaehl
Copy link
Owner

rcmaehl commented Mar 23, 2024

Can you upload Install.log from %localappdata%\MSEdgeRedirect\Logs

@rcmaehl rcmaehl self-assigned this Mar 23, 2024
@procionecurioso
Copy link
Author

Install.log

@vvirtues
Copy link

Same thing. Redirection works but cannot uninstall

@vvirtues
Copy link

I'm using Germany (the defualt)

@rcmaehl rcmaehl changed the title Europe mode not working UCPD blocking Europe Mode Apr 8, 2024
@rcmaehl
Copy link
Owner

rcmaehl commented Apr 8, 2024

Looks like this is due to Microsoft adding additional protections

https://kolbi.cz/blog/2024/04/03/userchoice-protection-driver-ucpd-sys/

@rcmaehl rcmaehl added high High Priority, Negatively affects functionality for all users external cause A program other than MSEdgeRedirect causes the issue labels Apr 8, 2024
@rcmaehl rcmaehl pinned this issue Apr 8, 2024
@MishaProductions
Copy link

I reverse engineered some parts of that driver, and it appears that it only allows ms signed binaries to modify those registry keys, except for a few binaries.
image
Renaming reg.exe to something else is enough to bypass the driver.

@ViktorVoloshko
Copy link

I disabled ucpd and ran europe mode but windows still wont let me uninstall edge. every thing seems to have worked.

Same. I booted into Safe Mode which allows you to change device region w/o any issues but it didn't unblock Uninstall button for me.

Windows 11 IoT Enterprise LTSC

rcmaehl added a commit that referenced this issue Sep 10, 2024
@eiqnepm
Copy link

eiqnepm commented Sep 18, 2024

I disabled ucpd and ran europe mode but windows still wont let me uninstall edge.
every thing seems to have worked.

Pre-European Install Values of: 176|176|176 & NL|NL

UPDATE: It is now uninstallable after a week or so. dont know what caused it

I just clicked modify instead of uninstall, then repaired Edge, after that the uninstall option appeared.

@eiqnepm
Copy link

eiqnepm commented Sep 18, 2024

I reverse engineered some parts of that driver, and it appears that it only allows ms signed binaries to modify those registry keys, except for a few binaries.
image
Renaming reg.exe to something else is enough to bypass the driver.

Does this still work? Maybe MSEdgeRedirect can temporary make a renamed copy of reg.exe to change the values automatically.

@mijjjj4
Copy link

mijjjj4 commented Oct 29, 2024

I have the same problem, machine region doesn't change

@mijjjj4
Copy link

mijjjj4 commented Oct 29, 2024

изображение

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external cause A program other than MSEdgeRedirect causes the issue high High Priority, Negatively affects functionality for all users
Projects
None yet
Development

No branches or pull requests

9 participants
@rcmaehl @procionecurioso @vvirtues @eiqnepm @ViktorVoloshko @MishaProductions @mijjjj4 and others