Windows Location Privacy Registry Keys Explained

This guide explains the exact Windows Registry keys responsible for controlling the system-wide location privacy platform across modern versions of Windows. Modifying these registry values allows administrators to enable, disable, or enforce location access across the entire operating system, background services, and installed applications without using the standard Settings UI.

The Master System-Wide Location Key

In Windows 10 and Windows 11, the primary system-wide master switch for location access is managed by the Capability Access Manager. The registry key is located at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location

Inside this key, the core value that dictates global access is:

The Geolocation Service Configuration Key

The underlying Windows Location Framework Service (lfsvc) also contains an operational master state key within the system service registry hive:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lfsvc\Service\Configuration

Within this key, the master operational switch is:

The Group Policy Override Key

To enforce location privacy policies across all users and prevent local modification, Windows relies on the policy hive:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors

The master policy switch is:

How to Apply Changes

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to the desired key listed above.
  3. Double-click the target value to adjust the data (Allow/Deny or 0/1).
  4. Restart the computer or restart the Geolocation Service (lfsvc) via services.msc for the changes to take effect immediately.