Policy CSP - Location
Added in Windows 10, version 1703. Optional policy that allows for IT admin to preconfigure whether or not Location Service's Device Switch is enabled or disabled for the device. Setting this policy is not required for Location Services to function. This policy controls a device wide state that affects all users, apps, and services ability to find the device's latitude and longitude on a map. There is a separate user switch that defines whether the location service is allowed to retrieve a position for the current user. In order to retrieve a position for a specific user, both the Device Switch and the User Switch must be enabled. If either is disabled, positions cannot be retrieved for the user. The user can later change both the User Switch and the Device Switch through the user interface on the Settings -> Privacy -> Location page.
This policy is not intended to ever be set, pushed, or refreshed more than one time after the first boot of the device because it is meant as initial configuration. Refreshing this policy might result in the Location Service's Device Switch changing state to something the user did not select, which is not an intended use for this policy.
- GP English name: Turn off Windows Location Provider
- GP name: DisableWindowsLocationProvider_1
- GP path: Windows Components/Location and Sensors/Windows Location Provider
- GP ADMX file name: LocationProviderAdm.admx
The following list shows the supported values:
- 0 (default) – Disabled.
- 1 – Enabled.
To validate on Desktop, do the following:
- Verify that Settings -> Privacy -> Location -> Location for this device is On/Off as expected.
- Use Windows Maps Application (or similar) to see if a location can or cannot be obtained.
- 1 - Added in Windows 10, version 1607.
- 2 - Added in Windows 10, version 1703.
- 3 - Added in Windows 10, version 1709.
- 4 - Added in Windows 10, version 1803.