Quick answer: Location services go grey when your account can’t change the setting or a policy has locked it. Sign in with an administrator account and turn on Location services in Settings > Privacy & security > Location. If the switches stay grey with a note that your organization manages them, a Group Policy or management setting is forcing location off: set Turn off location to Not configured in Group Policy, or remove the DisableLocation registry value, then restart.
In this guide
- Why the switches go grey
- Match what you see to the cause
- Fix 1: Turn it on from an administrator account
- Fix 2: Find the policy that’s locking it
- Fix 3: Undo Turn off location in Group Policy
- Fix 4: Remove the policy in the registry
- Fix 5: Check the Geolocation Service
- Work, school and managed PCs
- Related guides
Why the switches go grey
Windows has two levels of location control. Location services is a device-wide switch, and Microsoft says only administrators see it: if you’re not an admin on the PC, that switch simply isn’t shown. Under it, Let apps access your location is a per-user switch that can only be turned on while the device-wide one is on.
Policies can override both. Microsoft’s documentation for the AllowLocation management policy says that when location is forced off, all location privacy settings are toggled off and grayed out, and users can’t change them. The same setting can also force location on, which greys the switches out too, just in the on position. So a grey switch isn’t always a broken one; it’s one that something else is controlling.
Match what you see to the cause
| What you see | Likely cause | Go to |
|---|---|---|
| No Location services switch at all, only the app switch | You’re signed in as a standard user | Fix 1 |
| App switch greyed, with a note that location services is off | The device-wide switch is off | Fix 1 |
| Every switch greyed, with a managed by your organization note | Group Policy, registry policy or device management | Fixes 2 to 4 |
| Switches work but no app gets a location | Geolocation Service disabled | Fix 5 |
Fix 1: Turn it on from an administrator account
- Sign in with an account that has administrator rights on the PC.
- On Windows 11, open Settings > Privacy & security > Location and turn on Location services.
- On Windows 10, open Settings > Privacy > Location, click Change under the line that says location for this device is off, and switch it on.
- Sign back in to your own account and turn on Let apps access your location, then allow the individual apps you want.
Desktop PCs without Wi-Fi often can’t work out where they are. Microsoft recommends setting a Default location on the same page for those, using Set default and then Save.
Fix 2: Find the policy that’s locking it
If the switches stay grey even for an administrator, check what’s applied before changing anything. Open Command Prompt as administrator and run:
gpresult /h C:\gpreport.html
Open C:\gpreport.html in a browser and search it for location. The report shows each policy that’s applied and which Group Policy object set it. On a home PC, a privacy or anti-tracking tool can be the source of these settings; if you used one, undoing its location option there is cleaner than editing the policy by hand. Also open Settings > Accounts > Access work or school: a connected work account can enrol the PC in management that pushes the setting. Our guide to Access work or school shows how to check what’s connected.
Fix 3: Undo Turn off location in Group Policy
This applies to Windows Pro, Enterprise and Education, which include the Local Group Policy Editor.
- Press Win + R, type
gpedit.mscand press Enter. - Go to Computer Configuration > Administrative Templates > Windows Components > Location and Sensors.
- Double-click Turn off location, choose Not configured and click OK. Do the same for Turn off Windows Location Provider, which sits in the Windows Location Provider folder below it.
- Microsoft documents the same Turn off location policy under User Configuration too, so check the matching path there.
- Restart, or run
gpupdate /force, and try the switches again.
Fix 4: Remove the policy in the registry
On Windows Home there’s no Group Policy Editor, but the policy is stored in the registry. Export each key before you change it.
- Press Win + R, type
regeditand go toHKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors. - Right-click LocationAndSensors and choose Export to save a backup.
- If there’s a DisableLocation value set to
1, that is the Turn off location policy. Delete the value, or set it to0. A DisableWindowsLocationProvider value set to1can be removed the same way. - Check the same path under
HKEY_CURRENT_USER, which holds the per-user version of the policy. - Also look in
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy. A value there with Location in its name comes from the App Privacy policy and controls whether apps may use location; delete it to hand control back to the Settings page. - Restart the PC.
If the values come back after a restart, a management service or tool is rewriting them, so go back to Fix 2 and find the source.
Fix 5: Check the Geolocation Service
Apps get their position through the Geolocation Service (service name lfsvc). Microsoft lists its startup type as Manual, and notes that if it’s turned off, apps can’t use geolocation. Press Win + R, type services.msc, and double-click Geolocation Service. If the startup type is Disabled, set it back to Manual, click Apply, then Start. There’s no need to set it to Automatic; it starts when an app asks for a location.
Some guides suggest deleting a TriggerInfo subkey under this service’s registry key. Microsoft doesn’t document that, so treat it as a last resort and export the key first if you try it.
Automatic time zone can also depend on location. If Set time zone automatically was greyed out alongside it, check it again once location works, and see Windows time not syncing if the clock itself is wrong.
Work, school and managed PCs
On a PC your employer or school manages, the location setting is usually set on purpose through Group Policy or a device management service such as Intune. Local edits are normally overwritten at the next policy refresh, and changing them may break your organization’s rules. Ask your IT team instead. If an app is blocked rather than the setting, An administrator has blocked you from running this app covers that case.
Related guides
- Access work or school in Windows 11 and 10: add, check and disconnect accounts
- Windows time not syncing? How to fix the clock in Windows 11 and 10
- How to open Command Prompt as administrator in Windows 11 and 10
- An administrator has blocked you from running this app: what it means and safe fixes
Leave a Reply