Skip to content
Follow
Windows 🟡 Intermediate

How to Configure Your Location in Windows 11 When Auto-Detection Fails or Shows Wrong City

Richard
Written by
Richard
Sep 30, 2026 8 min read
How to Configure Your Location in Windows 11 When Auto-Detection Fails or Shows Wrong City
How to Configure Your Location in Windows 11 When Auto-Detection Fails or Shows Wrong City

Windows 11 shows your location wrong when Location services are turned off, your default location setting is incorrect, or an app doesn’t have permission to use your location. Any of these takes just a few minutes to fix.

Advertisement

Your computer figures out where you are in three ways: GPS (if you have it), your IP address, and Wi-Fi networks nearby. When one of these sources is disabled or set wrong, Windows sends the wrong city to apps and services that ask for it.

The fixes don’t need the Registry Editor or any technical know-how—just a few clicks in Settings. Most people solve this in under five minutes.

⚡ Quick Answer

Open Settings Privacy & security Location, turn on Location services, then enable Let apps access your location. If one app still shows the wrong city, close and reopen it. Check for a VPN or proxy routing your traffic through another country.

Advertisement

What Causes Wrong Location Detection in 🪟 Windows 11

Windows doesn’t always use GPS. On a desktop PC or a laptop without a GPS chip, Windows estimates your location from your internet address (IP address) and nearby Wi-Fi networks. That estimate comes from a location services database, and it’s only as good as the network information it can see.

That’s why a wrong city usually points to one of these causes:

  • A VPN or proxy routes your internet traffic through a server in another country, so Windows (and every app that asks for location) sees that country’s IP address instead of yours.
  • Location services is turned off at the system level, so Windows falls back to a default location you or your PC manufacturer set at some point.
  • An individual app has been denied location access, so it uses its own cached location instead of asking Windows for the real one.
  • The “allow apps to override the default location” setting is off, so apps are stuck using a default location that’s wrong.

Work through the checks below in order — they go from the most common fix to the more advanced ones.

Advertisement

Check and Turn On Location Services

⚠️WarningThis is the master switch.

If it's off, no app — including Maps, Weather, or Windows Search — can get an accurate location, no matter what else you configure.

  1. Open Settings by pressing Windows key + I. You'll see the Settings home page with a list of categories on the left.
    Windows 11 Start menu with Settings gear icon highlighted.
    Windows 11 Start menu with Settings gear icon highlighted.
  2. Select Privacy & security from the left-hand menu, then select Location under the App permissions section. This opens the Location settings page, which controls both the system-wide switch and per-app access.
  3. Turn on the toggle under Location services if it isn't already on. You'll see it switch from grey to blue, and the options below it — like allowing apps to access location — become available instead of greyed out.
📝Good to KnowIf Location services is greyed out entirely and won't toggle, an administrator has locked it through policy — common on work or school-managed PCs.

You'll need an account with administrator privileges, or your IT department, to change it.

Set Your Default Location Manually

The default location is what Windows uses when it can't determine your real one — for example, on a desktop with no Wi-Fi adapter. Setting this correctly won't override a location that's already being detected wrong; it only helps when Windows has nothing else to go on.

  1. Stay on the Location settings page (Settings Privacy & security Location).
  2. Scroll down to Default location and select Set default. This opens the Windows Maps app with a pin you can drag.
  3. Search for or drag the pin to your actual location, then confirm it. Close Maps once the pin is placed — Windows saves the new default location automatically.

Turn On "Let Apps Access Your Location"

This is the setting that actually lets apps use your real, detected location instead of the default one. If it's off, apps requesting location will either get denied or fall back to the default location you set above — which is a frequent cause of "wrong city" complaints even after fixing everything else.

Advertisement
  1. On the Location settings page, find Let apps access your location and turn the toggle on.
  2. Check the list of apps below it and turn on access for the specific apps that need location — Weather, Maps, Search, and your browser are the common ones people notice a wrong city in.
    Settings › Privacy & security › Location
    Settings › Privacy & security › Location

If an app you need still shows the wrong location after this, close and reopen the app. Most apps only check location permission when they launch, not continuously while running.

Fix Location Permissions for Individual Apps

Sometimes the system-wide setting is fine but one specific app — usually a browser or a weather app — is still wrong. That app may have its own separate location permission, or it may be caching an old location internally.

  1. Open Settings Privacy & security Location and scroll to the per-app list.
  2. Find the app showing the wrong location and confirm its toggle is on.
  3. Open the app itself and check its own location or region setting. Browsers in particular (Microsoft Edge, Chrome) often have their own site permission for location, separate from the Windows one — check the app's settings menu for a location or region option and reset it there too.

Rule Out a VPN or Proxy Skewing Your Location

If every app and website thinks you're in a different country (not just a wrong city nearby), a VPN or corporate proxy is almost certainly the cause, not a Windows setting. Windows reports the IP address it sees, and if that IP belongs to a VPN server in another country, that's the location every app will report too.

  1. Disconnect any VPN app or turn off the built-in VPN profile if you have one configured under Settings Network & internet VPN
  2. Check your location again in an app like Weather or by searching something location-based. If it's now correct, the VPN was the cause — reconnect it when you need it, and accept that location will be wrong again while it's connected.

If you're on a work laptop connected to a corporate network or proxy, the same thing can happen even without a VPN app installed — the fix there is usually outside your control and needs your IT team.

Advertisement

Clear Your Location History

Windows keeps a short history of recent locations that some apps use to smooth out GPS jitter. If this history got stuck on an old or incorrect location — for example, right after you moved or came back from travelling — clearing it forces apps to get a fresh reading.

  1. Open Settings Privacy & security Location.
  2. Scroll to Location history and select Clear. The button will grey out briefly, then the history is empty.

Restart or Sign Out After Changing Location Settings

Most location toggles in Settings take effect immediately, but a few apps — particularly ones that were already open when you changed permissions — only re-check location on launch. If a wrong location still shows up after you've corrected everything above, sign out and back in, or restart the PC, before troubleshooting further. This clears out any app that's holding onto a cached location from before your changes.

Advanced Fix: Location Override Setting Stuck at the Registry Level

If the "allow apps to override the default location" control in Settings won't stick, or keeps resetting itself, the underlying value may be stuck. Editing the registry can cause other problems if you change the wrong key. Only do this if the Settings toggle genuinely isn't holding.

  1. Press Windows key + R, type regedit, and press Enter. Approve the User Account Control prompt — this requires administrator privileges.
  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CPSS\Store\UserLocationOverridePrivacySetting. This key holds the override privacy state that the Settings toggle writes to.
  3. Back up the key before changing anything — right-click the key and select Export to save a .reg file you can double-click later to restore it if something goes wrong.

[Registry method: to be verified] — the specific value name and data under this key aren't confirmed, so don't change anything inside it without support from Microsoft or documentation that names the exact value. In most cases, toggling the setting off and back on in Settings, then restarting, resolves the stuck state without needing to touch this key directly.

Advertisement

There's also a related key, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location, which stores whether the device has current consent for location access. If an app insists it doesn't have permission even though Settings shows it does, this is the key behind that consent state — again, back it up with Export before making any change, and don't guess at value names.

How to Undo These Changes

Everything in this guide is reversible from the same Settings page you used to change it:

  • Turn Location services back off if you'd rather no app track your location at all.
  • Turn off Let apps access your location to force everything back to the default location instead of the detected one.
  • Delete the default location pin by selecting Set default again and choosing a new one, or clearing it if your device supports that option.
  • If you exported a registry key before editing it, double-click the saved .reg file to restore the original value.

If This Didn't Work

If your location is still wrong after checking Location services, the default location, app permissions, and ruling out a VPN, the problem is most likely on Microsoft's end — the location services database it uses for your IP address or Wi-Fi network may simply have outdated or incorrect data for your area, which isn't something you can fix locally. From here, check your Windows 11 privacy settings more broadly to make sure nothing else — like ad tracking or diagnostic data — is tied to the same location permissions, and keeping Windows Update current in case a future update refreshes the location database for your network.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 Related Tutorials

How to Enable or Disable Filter Keys for Accessibility in Windows 11
Windows How to Enable or Disable Filter Keys for Accessibility in Windows 11
How to Back Up Your Files Using Windows Backup Before Performing a Reset
Windows How to Back Up Your Files Using Windows Backup Before Performing a Reset
Should You Enable Automatic Device Locking with Bluetooth Proximity
Windows Should You Enable Automatic Device Locking with Bluetooth Proximity
How to Manage Mobile Devices and Phone Link in Windows 11 Bluetooth Settings
Windows How to Manage Mobile Devices and Phone Link in Windows 11 Bluetooth Settings

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *