---
title: "Disable location in Windows by registry: the DisableLocation policy and consent values"
description: "Windows location services let apps and Windows itself read where the PC is. What the tweak changes, when it helps, when it hurts and how to undo it."
url: https://frozentweaks.com/tweaks/disable-location-tracking
author: Frost LIVE, Founder of Frozen Tweaks
published: 2026-10-08
updated: 2026-10-08
category: "Security"
source: Frozen Tweaks (https://frozentweaks.com)
---

# Disable location in Windows by registry: the DisableLocation policy and consent values

**Short answer:** Windows location services let apps and Windows itself read where the PC is. This tweak sets the consent value to deny and the DisableLocation policy, which switches location off for the whole PC. In the registry it sets Value to 0 under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location, and 2 more values.

## In the app

- Switch: Disable Location Tracking (Security, Free, Standard)
- Undo: Yes. Switching it off sets a standard Windows value, which may not be exactly how you had it.
- Catalog row: https://frozentweaks.com/tweaks#t-1125

## What it does

Windows location services let apps and Windows itself read where the PC is. This tweak sets the consent value to deny and the DisableLocation policy, which switches location off for the whole PC.

In the app the switch is called "Disable Location Tracking", described there as: Blocks OS-wide location access to prevent geofence wakeups and background traffic.

## When it helps

- Privacy: no app can read your location, and Windows stops looking it up.

## When it hurts

- Weather, maps, Find my device and automatic time zone no longer know where you are.

## What it writes

Read from the app's source. "Switching it off" is what the app writes when you turn the tweak off again.

Registry values:

| Key | Value | With the tweak | Switching it off |
| --- | --- | --- | --- |
| `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location` | `Value` | `0` | Stays 0 (switching it off leaves it) |
| `HKCU\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location` | `Value` | `0` | Stays 0 (switching it off leaves it) |
| `HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors` | `DisableLocation` | `1` | Not set (the value is deleted; Windows decides) |

Source: Tweaks/location_tracking_off.hpp in the app's source, app 2.0.0, checked 2026-10-08.

## The same change by hand

Run in a Command Prompt opened as administrator. Make a restore point first.

```bat
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /v "Value" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /v "Value" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v "DisableLocation" /t REG_DWORD /d 1 /f
```

Put it back:

```bat
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v "DisableLocation" /f
```

See what it is set to now:

```bat
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /v "Value"
```

## How to undo it

Switch the tweak off in Frozen Tweaks. It deletes DisableLocation, so Windows uses its built-in behavior again.

## Verdict

A privacy setting, with no performance side to it.

## Questions

### What does the "Disable Location Tracking" tweak change in Windows?

In the registry it sets Value to 0 under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location, and 2 more values. The full list is in the table on this page, read from the app's source.

### Is "Disable Location Tracking" safe to switch on?

A privacy setting, with no performance side to it. The main cost: Weather, maps, Find my device and automatic time zone no longer know where you are.

### How do I undo it?

Switch the tweak off in Frozen Tweaks. Switching it off sets a standard Windows value, which may not be exactly how you had it.

### Is "Disable Location Tracking" free in Frozen Tweaks?

Yes. It is one of the free tweaks, with no time limit.

## Related guides

- [Is PC Optimization Software Safe? What to Check Before Installing](https://frozentweaks.com/guides/is-pc-optimization-software-safe)
- [Windows 11 Gaming Optimization: What Still Works in 2026](https://frozentweaks.com/guides/windows-11-gaming-optimization)

## More tweak explainers

- [Advertising ID](https://frozentweaks.com/tweaks/disable-advertising-id)
- [Windows Recall](https://frozentweaks.com/tweaks/disable-windows-recall)
- [Typing and inking data](https://frozentweaks.com/tweaks/disable-typing-and-inking-data)

---
Written by Frost LIVE, founder of Frozen Tweaks. Canonical version: https://frozentweaks.com/tweaks/disable-location-tracking
