Share via


Set the default location in Windows 10's Weather App for all users

Question

Friday, February 10, 2017 11:18 PM | 3 votes

I want to set the default location for all users in the Weather App on Windows 10 Ent v1607.

Here what I've done:

Using Procmon, I discovered the settings are stored in an App Hive.  Searching for RegLoadAppKey, I discovered the hive is saved here:

  • C:\Users\username>\AppData\Local\Packages\Microsoft.BingWeather_8wekyb3d8bbwe\Settings\Setting.dat

To configure the default location for all new accounts:

  1. Logon to a new profile, then log off
  2. Copy folder tree from: C:\Users\username>\AppData\Local\Packages\Microsoft.BingWeather_8wekyb3d8bbwe to a temporary folder (it will be a collection of mostly empty folders with a couple files)
  3. Logon, run Weather app, configure settings, close app, and log off
  4. Copy the contents of the Settings folder to the Settings temporary folder from step 2, overwriting the two files already there.
  5. Copy the temporary folder to: C:\Users\Default\AppData\Local\Packages\Microsoft.BingWeather_8wekyb3d8bbwe

If the entire tree is not copied, Windows will provision the app with the defaults.

When a new user logs on and runs the app, they are not prompted for a default location and it displays the weather for the configured location.  Good!

Problem:

The live tile will not use the configured location until the app is run once.  So, "Washington DC" is displayed until the user clicks the tile. The user can immediately close the Weather App, and the tile will display the correct location.  Weird.

I want the live tile to use a specified location before the user runs the app.  Any ideas?

All replies (4)

Monday, February 13, 2017 2:30 AM | 1 vote

Dear Tony,

The method you have done is correct, by the way, we can configure location for all users, that’s good.

But, one thing we should know, Weather app belongs to Store app, which is based on user account, only when we click it, it means that we register this app by current account, if we have not start it, it just stays in the original state.

As you see, until we open it once then this app will be activated and show the configured weather information, it’s a normal phenomenon, we can’t change this point.

Thanks for your discovery and sharing, I really appreciate.

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Monday, February 13, 2017 8:49 PM | 2 votes

The method you have done is correct, by the way, we can configure location for all users, that’s good.

...

As you see, until we open it once then this app will be activated and show the configured weather information, it’s a normal phenomenon, we can’t change this point.

...

Thank you for the verification.  I'll just have to live with it.  Hopefully this thread will be of use to others.

-Tony


Thursday, February 16, 2017 9:15 AM | 1 vote

Thanks for your understanding and study, I will introduce your experience to other forum users.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Wednesday, May 31, 2017 4:31 PM

Awesome thanks for sharing this solution