当您在Windows 10(Windows 10)中运行应用程序时,您可能需要该应用程序正常运行或为您生成相关信息的位置。Windows 10会尝试查找您设备的位置,但可能无法找到。为了应对这些情况,Windows 10引入了一个默认位置(Default location),当Windows无法为您的 PC 检测到更准确的位置时,该位置会引导Windows 应用和服务。(Windows apps and services)设置默认位置(default location)非常简单,您将在本指南中看到:
注意(NOTE):在Windows 10中设置(Windows 10)默认位置(default location)可确保相关位置始终可用于您的应用和服务(apps and services)。如果您担心您的位置数据的隐私,我们鼓励您在Microsoft 隐私门户(Microsoft Privacy portal)中查看您的信息。
如何在Windows 10中设置(Windows 10)默认位置(default location)
要更改您在Windows 10中的(Windows 10)默认位置(default location),您必须首先打开“设置”应用(Settings app)。一种快速的方法是从“开始”菜单(Start Menu)中单击或点击其按钮。在“设置”(Settings)应用程序中,转到“隐私(Privacy)”部分。
在窗口左侧,单击或点按(click or tap) 位置(Location)。在“设置”(Settings)窗口的右侧,滚动直到找到名为“默认位置(Default location)”的部分。它告诉您“当我们无法在这台 PC 上检测到更准确的位置时,Windows、应用程序和服务可以使用它”("Windows, apps, and services can use this when we can't detect a more exact location on this PC")。单击或点击“设置默认值”("Set default")按钮。
此操作将打开地图(Maps)应用程序。在其中,您会找到一个对话框(dialog box),当在您的设备上无法检测到更准确的位置时, Windows 10会在其中向您显示有关正在使用的默认位置的相同消息。(default location)
单击或点击“设置默认位置”("Set default location")按钮。
设置默认位置(default location)所需要做的就是在地图上选择它,输入您的address or click/tap历史记录中的位置。
执行任何这些操作后,Windows 10 会立即注册您的新位置,而无需要求任何其他确认。
如果出现错误,如何恢复地图应用(Maps app)
如果地图(Maps)应用程序无法正常运行,或者它已从您的 Windows 10 PC 中卸载,则在您按您所在位置的设置默认(Set default)按钮时会收到一条错误消息:(error message)
“你需要一个新的应用程序来打开这个 ms-default-location”("You'll need a new app to open this ms-default-location")
要修复这种情况,首先检查并重置地图(Maps)应用程序。有关此过程的详细信息,请阅读如何(How)在Windows 10中重置应用程序,以便它们重新开始工作。
如果地图(Maps)应用程序甚至没有出现在您的应用程序列表中,则表示它已被卸载,您需要重新安装它。以管理员身份打开 PowerShell(Open PowerShell)并运行以下命令:
Get-AppxPackage -allusers *Maps* | foreach {Add-AppxPackage -register "$($_.InstallLocation)appxmanifest.xml" -DisableDevelopmentMode}
如果您已卸载多个Windows 10 默认应用程序(default apps),则可能需要重新安装所有这些应用程序以修复错误。阅读如何使用PowerShell重新安装所有(PowerShell)Windows 10 默认应用(default apps),以了解有关如何完成此操作的更多信息。
为什么在Windows 10中设置(Windows 10)默认位置(default location)很有用?
这是一个合理的问题,答案很简单。如果您注意了本文上一节中的步骤,您已经有了答案:“当我们无法在这台 PC 上检测到更准确的位置时,Windows、应用程序和服务可以使用它。”("Windows, apps, and services can use this when we can't detect a more exact location on this PC.")
如今,Windows 10和您安装的应用程序都可以请求和使用您的位置。他们这样做是为了向您提供取决于您所在位置的个性化信息。借助这些系统,您可以获得有用的信息,例如您附近的餐馆、电影院或旅游景点。当您的Windows 10设备无法检测到您的精确位置(precise location)时,它可以改为使用您为其设置的默认位置(default location)。
您是否(Did)在Windows 10中设置了默认位置(default location)?
当Windows 10(Windows 10)无法检测到更精确的位置时,为您的PC 或设备(PC or device)设置默认位置(default location)会很有帮助。有些应用程序会根据您的位置为您提供有用的信息。这种相关性伴随着对数据隐私的权衡。现在您知道如何为您的Windows 10设备设置(Windows 10)默认位置(default location),并且您也知道它为什么有用。您是否(Did)在Windows 10中设置了默认位置(default location)?与我们分享您的想法,并在下面发表评论。
How to set your Windows 10 location for apps, and why is it useful?
When you run an app in Windows 10, you may need а location for the app to run properly, or to produce relevant informаtion for you. Windows 10 tries to find your device's location, but it may fail to get one. To cope with these situations, Windows 10 has introduced a Default location that directs the Windows apps and services when Windows can't detect a more exact location for your PC. Setting your default location is easy as pie, as you will see in this guide:
NOTE: Setting your default location in Windows 10 ensures that a relevant location is always available for your apps and services. If you have concerns about the privacy of your location data, we encourage you to view your information in the Microsoft Privacy portal.
How to set your default location in Windows 10
To change your default location in Windows 10, you must first open the Settings app. A quick way to do this is to click or tap its button from the Start Menu. Inside the Settings app, go to the Privacy section.
On the left side of the window, click or tap Location. On the right side of the Settings window, scroll until you find the section called Default location. It tells you that "Windows, apps, and services can use this when we can't detect a more exact location on this PC". Click or tap the "Set default" button.
This action opens the Maps app. In it, you find a dialog box in which Windows 10 shows you the same message about your default location being used, when a more exact location cannot be detected on your device.
Click or tap the "Set default location" button.
All you have to do to set your default location is select it on the map, enter your address or click/tap on a location from your history.
Once you perform any of these actions, Windows 10 immediately registers your new location, without having to ask for any additional confirmations.
How to restore the Maps app if you get errors
If the Maps app is not working properly, or it is uninstalled from your Windows 10 PC, you get an error message when you press the Set default button for your location:
"You'll need a new app to open this ms-default-location"
To repair this situation, first check and reset the Maps app. For details on this procedure, read How to reset apps in Windows 10, so that they start working again.
If the Maps app does not even show up in your apps list, it means it has been uninstalled, and you need to install it again. Open PowerShell as admin and run the following command:
Get-AppxPackage -allusers *Maps* | foreach {Add-AppxPackage -register "$($_.InstallLocation)appxmanifest.xml" -DisableDevelopmentMode}
If you have uninstalled several Windows 10 default apps, you may need to reinstall all of them to fix the error. Read How to reinstall all the Windows 10 default apps with PowerShell to learn more about how this is done.
Why is it useful to have a default location set in Windows 10?
This is a legitimate question, and the answer is simple. If you paid attention to the steps from the previous section of this article, you already have the answer: "Windows, apps, and services can use this when we can't detect a more exact location on this PC."
Nowadays, both Windows 10 and your installed apps, can request and use your location. They do it so they can give you personalized information that is dependent on your location. With the help of these systems, you can get helpful information such as restaurants, cinemas, or tourist attractions near you. When your Windows 10 device cannot detect your precise location, it can instead use the default location that you set for it.
Did you set the default location in Windows 10?
Setting a default location for your PC or device can be helpful when Windows 10 cannot detect a more precise location. There are apps that rely on your location to provide you with useful information. This relevance comes with a trade off on the privacy of your data. Now you know how to set a default location for your Windows 10 device, and you also know why it can be useful. Did you set the default location in Windows 10? Share your thoughts with us writing a comment below.