Disable Location Services via policy instead

This commit is contained in:
Raphire
2026-02-18 20:59:24 +01:00
parent e496aa3af0
commit 2cb9f41db1
4 changed files with 7 additions and 22 deletions

View File

@@ -374,7 +374,7 @@
{
"FeatureId": "DisableLocationServices",
"Label": "Windows location services & app location access",
"ToolTip": "This will turn off Windows Location Services and deny apps access to your location.",
"ToolTip": "This will turn off Windows Location Services and deny apps access to your location. This feature uses policies, some settings will be locked.",
"Category": "Privacy & Suggested Content",
"Action": "Disable",
"RegistryKey": "Disable_Location_Services.reg",

View File

@@ -1,9 +1,4 @@
Windows Registry Editor Version 5.00
; Disable the Windows Location Service (system-wide)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
"Value"="Deny"
; Deny app access to location for the current user
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
"Value"="Deny"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors]
"DisableLocation"=dword:00000001

View File

@@ -1,9 +1,4 @@
Windows Registry Editor Version 5.00
; Disable the Windows Location Service (system-wide)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
"Value"="Deny"
; Deny app access to location for new/default users
[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
"Value"="Deny"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors]
"DisableLocation"=dword:00000001

View File

@@ -1,9 +1,4 @@
Windows Registry Editor Version 5.00
; Re-enable the Windows Location Service (system-wide)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
"Value"="Allow"
; Re-allow app access to location for the current user
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
"Value"="Allow"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors]
"DisableLocation"=-