mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-02-19 00:46:33 +00:00
Disable Location Services via policy instead
This commit is contained in:
@@ -374,7 +374,7 @@
|
|||||||
{
|
{
|
||||||
"FeatureId": "DisableLocationServices",
|
"FeatureId": "DisableLocationServices",
|
||||||
"Label": "Windows location services & app location access",
|
"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",
|
"Category": "Privacy & Suggested Content",
|
||||||
"Action": "Disable",
|
"Action": "Disable",
|
||||||
"RegistryKey": "Disable_Location_Services.reg",
|
"RegistryKey": "Disable_Location_Services.reg",
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
; Disable the Windows Location Service (system-wide)
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors]
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
|
"DisableLocation"=dword:00000001
|
||||||
"Value"="Deny"
|
|
||||||
|
|
||||||
; Deny app access to location for the current user
|
|
||||||
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
|
|
||||||
"Value"="Deny"
|
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
; Disable the Windows Location Service (system-wide)
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors]
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
|
"DisableLocation"=dword:00000001
|
||||||
"Value"="Deny"
|
|
||||||
|
|
||||||
; Deny app access to location for new/default users
|
|
||||||
[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
|
|
||||||
"Value"="Deny"
|
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
; Re-enable the Windows Location Service (system-wide)
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors]
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
|
"DisableLocation"=-
|
||||||
"Value"="Allow"
|
|
||||||
|
|
||||||
; Re-allow app access to location for the current user
|
|
||||||
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location]
|
|
||||||
"Value"="Allow"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user