Disable Windows Location Service Using Regedit
Windows actively gathers device location data to provide location-based features, but users concerned about privacy can turn off this functionality entirely at the system level. This guide provides step-by-step instructions on how to permanently disable the Windows Location Tracking service across all user accounts using the Windows Registry Editor (Regedit).
Method 1: Disable via System Policies (Recommended)
Press Windows Key + R to open the Run dialog box.
Type
regeditand press Enter to open the Registry Editor. Click Yes if prompted by User Account Control (UAC).In the address bar at the top, paste the following path and press Enter:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensorsNote: If the
LocationAndSensorskey does not exist underWindows, right-click theWindowsfolder, select New > Key, and name itLocationAndSensors.Right-click in the empty space inside the right pane, select New > DWORD (32-bit) Value, and name it
DisableLocation.Double-click
DisableLocation, change the Value data to1, and set the Base to Hexadecimal.Click OK.
Method 2: Disable the Geolocation Service (lfsvc)
To ensure the background geolocation service cannot run at all:
In the Registry Editor, navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lfsvcIn the right pane, locate and double-click the DWORD value named
Start.Change the Value data to
4(which sets the startup type to Disabled).Click OK.
Next, expand the
lfsvckey in the left pane and selectService\Configuration(full path:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lfsvc\Service\Configuration).Double-click the
StatusDWORD value in the right pane, set its Value data to0, and click OK.
Apply the Changes
Close the Registry Editor and restart your computer. Once rebooted, the Windows location tracking service and all dependent sensors will be completely disabled.