Atlas-OS / Atlas

🚀 An open and lightweight modification to Windows, designed to optimize performance, privacy and usability.
https://atlasos.net
GNU General Public License v3.0
13.34k stars 512 forks source link

[FEATURE] - Option for enable location function #1127

Open wuyilingwei opened 3 months ago

wuyilingwei commented 3 months ago

Before continuing...

What is your feature request regarding to?

Atlas Playbook

Is your feature request related to a problem? Please describe.

I cannot enable location in win10/11, but some of my devices need it (like surface).

Describe the solution you would like.

We can choice enable or disable location in atlas setting.

Describe alternatives you have considered.

I reset reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location back to Allow and reboot, but it still cannot enable location (no option) in setting.

Additional context.

No response

he3als commented 3 months ago

As a workaround, run these commands in Command Prompt and restart:

sc config lfsvc start=demand
sc config MapsBroker start=auto
"%windir%\AtlasModules\Scripts\settingsPages.cmd" /unhide privacy-location

An option is planned for the next release.

To disable again

sc config lfsvc start=disabled
sc config MapsBroker start=disabled
"%windir%\AtlasModules\Scripts\settingsPages.cmd" /hide privacy-location
wuyilingwei commented 3 months ago

As a workaround, run these commands in Command Prompt and restart:

sc config lfsvc start=demand
sc config MapsBroker start=auto
"%windir%\AtlasModules\Scripts\settingsPages.cmd" /unhide privacy-location

An option is planned for the next release.

Thanks for your help. @.@ That works.