question

ErlandSommarskog avatar image
0 Votes"
ErlandSommarskog asked ErlandSommarskog commented

Taskhostw changes my regional settings

Like any other Swedish IT person I want to run Windows with English as the display language and the regional settings set to Swedish (Sweden).

This works on all my machines and VMs, except for my laptop. I can go into Regional Settings in the Control Panel set the desired setting, and Windows obeys. If I log out and log back in, I can see that the setting is still there. But after 30-60 seconds I can see that the settings changes to English (United States). (For instance, the clock in the taskbar changes from 24 hour clock to AM/PM.)

I have used Process Monitor, and I have tracked down the culprit as a process running taskhostw with "SyncFromCloud" as the command-line argument. (I can see that it runs RegSetKey on all values in HKCU\Control Panel\International.)

I tried to inspect more what it is doing, and I took my chances on some registry changes, comparing with my desktop, but they did not bite.

Of relevance may be that I have a custom layout for the keyboard, and this problem may have appeared after installed an improved customer layout. (I've been running with a custom layout for many years.)

windows-10-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TeemoTang-MSFT avatar image
0 Votes"
TeemoTang-MSFT answered ErlandSommarskog commented

Type region in search box and open Region setting(not Region control panel), then select Sweden in Country or region, select English(Sweden) in Current format.
Restart computer to check result.
84414-r.jpg
84289-s.jpg


If the Answer is helpful, please click "Accept Answer" and upvote it.
Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



r.jpg (50.7 KiB)
s.jpg (58.2 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am aware of that setting and I did run with it for a while. However, it sets an LCID that is not understood by all programs. I ran into problems with setting when trying to do a CLR loopback in SQLLocalDB. Changing the regional setting to Swedish (Sweden) resolved that problem.

So the question remains: what triggers tasthostw.exe to change my regional settings without my asking?

0 Votes 0 ·

You could use process monitor to capture trace for analysis, or open a support ticket with Microsoft for deep research
https://support.serviceshub.microsoft.com/supportforbusiness

0 Votes 0 ·

You could use process monitor

Yes, I've been doing that. And I said so in my original post. That's why I know that taskhostw is the culprit. But I could not figure out what taskhostw is reading that leads to this decision.

or open a support ticket with Microsoft for deep research

I might be that as an MVP, I can open a case for free, but else is it certainly not worth the price. As a makeshift solution, I've set the setting to English (Sweden). This laptop is soon five years old, so I'm planning a buy new one this year - I hope that resolves the problem.



0 Votes 0 ·