https://bugs.winehq.org/show_bug.cgi?id=52108
--- Comment #3 from Zhiyi Zhang zzhang@codeweavers.com --- (In reply to François Gouget from comment #2)
That works and it looks like it does not require a logout+login or a reboot to take effect.
So then would it work to set this registry value at the start of the test and restore it when it ends? I would prefer that approach as it would make the test more resilient.
It's probably alright. Although I vaguely remember removing the registry key will only take effect after a reboot. Adding the key takes effect immediately though.