MSEdgeRedirect icon indicating copy to clipboard operation
MSEdgeRedirect copied to clipboard

UCPD blocking Europe Mode

Open procionecurioso opened this issue 2 years ago • 14 comments

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 avatar Mar 23 '24 15:03 procionecurioso

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

rcmaehl avatar Mar 23 '24 16:03 rcmaehl

Same thing. Redirection works but cannot uninstall

ypurpl avatar Mar 26 '24 14:03 ypurpl

I'm using Germany (the defualt)

ypurpl avatar Mar 26 '24 14:03 ypurpl

Looks like this is due to Microsoft adding additional protections

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

rcmaehl avatar Apr 08 '24 03:04 rcmaehl

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.

MishaProductions avatar Apr 08 '24 21:04 MishaProductions

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

dev-hanzala avatar May 26 '24 12:05 dev-hanzala

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

ViktorVoloshko avatar Jun 07 '24 02:06 ViktorVoloshko

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 avatar Sep 18 '24 00:09 eiqnepm

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.

eiqnepm avatar Sep 18 '24 00:09 eiqnepm