/

How to Enable or Disable Location Services in Windows

by Mauro Mendoza, IT Technical Writer
How to Enable or Disable Location Services in Windows blog banner image
How to Enable or Disable Location Services in Windows blog banner image

Try our #1 rated endpoint management platform on G2

NinjaOne dashboard screenshot

Automate the Hardest Parts of IT

Key Points

  • Windows offers different levels of location control, including per-app, per-user, and system-wide.
  • Settings gives quick location control on a single Windows 10 or 11 device.
  • Group Policy and the Registry Editor lock location settings for every user, with Group Policy limited to Windows Pro, Enterprise, and Education editions.
  • PowerShell can automate identical settings across multiple devices, making it useful for IT teams managing multiple devices.
  • Location services must stay on for Find My Device to keep working.

Location matters. If you’re checking apps like Weather, Maps, or Find My Device, location services in Windows allow them to use your approximate geographic position. Although useful, you might want to control it for privacy, security, or battery reasons.

IT admins, developers, or everyday users often need to enable or disable location services in Windows, whether for compliance, troubleshooting, or personal preference. In this guide, you’ll learn four ways to manage Windows location services: using Settings, Group Policy, or the Registry Editor.

Note: All methods in this guide apply to both Windows 10 and Windows 11. The main difference is the Settings app path, which is slightly different in Windows 10 (see Method 1). All other tools (Group Policy, Registry, and PowerShell) use the same values and configuration paths in both versions.

For a visual guide, watch our video on How to Enable or Disable Location Services in Windows.

Methods to enable or disable Windows location services

Before we start adjusting your Windows location services, make sure that your current user account has administrative privileges, since some methods here require it to be fully utilized. Some apps (e.g., Find My Device) also require a linked Microsoft account and device-level location access enabled.

Method 1: Using Windows Settings (per user control)

Use Windows 11’s Settings app for quick, user-level control over location services:

  1. Open Settings:
    • Press Win + I to open Settings.
    • Go to Privacy & security, then select Location.
    • In Windows 10, this setting is found at Settings > Privacy > Location instead of Privacy & security > Location.
  2. Toggle the master switch:
    • To enable: Flip Location services to On to allow apps and services to see your device’s location.
    • To disable: Flip it to Off to block access to Windows location services.
  3. If you do not have the Location services toggle, your laptop may have been configured organization-wide to restrict this setting. You can also use Let apps access your location and Let desktop apps access your location to manage app access to your location, when available.
  4. (Optional) App-specific permissions:
    • Under Let apps access your location, you can choose which supported apps can access your location by switching the toggle next to each app. Desktop app location access is managed separately.
    • Choose which apps can detect your location by switching the toggle next to it.

Method 2: Configure via Group Policy (for IT admins)

For IT admins enforcing system-wide control, Group Policy is the best tool to use. However, this tool is only available for Windows 10/11 Pro, Enterprise, and Education. If you have Windows 10/11 Home, use Settings (Method 1) or Registry Editor (Method 3) instead.

  1. Launch Group Policy Editor:
    • Press Win + R to open the Run dialog.
    • Type gpedit.msc, then hit Enter to open the Group Policy Editor.
  2. Navigate to Location policy:
    • Go to Computer Configuration > Administrative Templates > Windows Components > Location and Sensors.
    • If the LocationAndSensors key does not exist, right-click Windows, select New > Key, and name it LocationAndSensors.
  3. Configure the policy:
    • Double-click Turn off location, then choose one of the following:
    • Enabled: Disables location services for all users (system-wide). It will show as greyed out in the Windows Settings app for non-admins.
    • Disabled/Not Configured: Allows users to toggle location freely.
  4. Apply changes:
    • Restart the device or run the gpupdate /force command in Command Prompt.

Method 3: Enable or disable via Registry Editor

Use Registry Editor for advanced control when Group Policy is not available.

  1. Open Registry Editor:
    • Press Win + R to open the Run dialog.
    • Type regedit, then hit Enter to open the Registry Editor (confirm if the UAC prompt shows).
  2. Navigate to Location key:
    • Paste this path in the address bar:
      Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors
  3. Create/Modify the DWORD value:
    • Select the DisableLocation value.
    • If it doesn’t exist, right-click a space, select New > DWORD (32-bit) Value, and then name it DisableLocation.
    • Double-click the value, then set the Value Data to:
      1. Set to 1 to disable location services system-wide.
      2. Set to 0 to enable location services.
  4. Apply changes:
    • Restart your device or sign out, then sign back in.
    • Alternatively, you can open a PowerShell or CMD window and run gpupdate/force to apply the changes without restarting the device.
  5. Verify the change:
    • Verify that Location services is disabled and greyed out in Settings > Privacy & security > Location.

Method 4: Use PowerShell for deployment

Automate location settings with PowerShell for efficient enterprise management or scripting.

  1. Open PowerShell as administrator:
    • Right-click Start or press Win + X, then select Windows Terminal (Admin) or PowerShell (Admin).
    • If Windows Terminal does not have PowerShell as the default command-line tool (check the tabs above the window), click the dropdown arrow in the tab area, then select PowerShell.
  2. Disable location services:
    • Paste these commands:
      New-Item -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors” -ForceNew-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors” `
      -Name “DisableLocation” -Value 1 -PropertyType DWord -Force
      The results should show that the location services option in Windows Settings is greyed out for all users.
  3. Enable location services:
    • Run this command:
      Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors” `-Name “DisableLocation” -Value 0
  4. Apply changes:
    • Restart devices or force policy update with gpupdate /force.

Note: These PowerShell commands work identically in Windows 10 and 11.

Pro tips for managing location services in Windows

Fine-tune location behavior with these practices:

Manage location permissions per app

Even with location services enabled, you can still restrict the permission per app (see Method 1). This will allow you to choose which apps can find your approximate location. For instance, you can allow Maps to access the location but block social media.

Find My Device dependency

If you disable location services in Windows, Find My Device won’t be able to update your device’s location. This feature requires location access to help locate the device if it is lost or stolen.

If you still need its tracking capabilities, you’ll have to re-enable location services on the Windows device.

Audit location activity

Event Viewer may provide diagnostic information related to Windows location services.

  1. Open Event Viewer (search in Start).
  2. Go to Applications and Services Logs > Microsoft > Windows > LocationFramework.

Enable or disable Location Services at scale with NinjaOne

Changing one registry key is easy, but doing it across a large fleet one at a time is time-consuming and takes a lot of effort. With the NinjaOne Endpoint Management platform, you can run scripts across multiple Windows devices at once on demand or on a schedule, so a location-services change made through the Registry Editor or PowerShell can reach the whole fleet from a single console.

Take control of your location

We share location data constantly, whether working remotely or gaming online. Managing Windows location services is key for security, privacy, and compliance. Use simple Settings for personal devices, or enforce policies via Group Policy/Registry in sensitive environments like schools or healthcare.

Disabling location stops all geolocation access system-wide. Choose the right method for your needs: quick user toggles or locked-down enterprise controls. Balance convenience with safety, and stay in command of your data.

FAQs

Windows location services control access to your device’s location, which Windows can determine using GPS, Wi-Fi, cellular networks, IP address, or other available sources. GPS is just one of the sources Windows can use, so disabling location services turns off location access at the Windows service level rather than simply turning off GPS.

Yes. In settings, under Let apps access your location, you can turn location access off for individual apps while leaving the master Location services switch on for the rest. This lets you block a specific app without losing location support for others, such as Maps or Find My Device.

If your organization manages your device, an administrator may have disabled or restricted the setting via Group Policy or the Registry to prevent you from changing it. Check with your IT department, as app location permissions may also be managed separately by your organization.

Yes. Find My Device requires location to be enabled on your Windows device, so turning off location services prevents it from updating the device’s location. Re-enable location services to use Find My Device’s location capabilities again.

You might also like

Ready to simplify the hardest parts of IT?