UCPD blocking Europe Mode
Preflight Checklist
- [ ] Running
microsoft-edge:https://google.comredirects 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
Can you upload Install.log from %localappdata%\MSEdgeRedirect\Logs
Same thing. Redirection works but cannot uninstall
I'm using Germany (the defualt)
Looks like this is due to Microsoft adding additional protections
https://kolbi.cz/blog/2024/04/03/userchoice-protection-driver-ucpd-sys/
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.
Renaming reg.exe to something else is enough to bypass the driver.
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 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
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|NLUPDATE: 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.
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.
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.