Family Best Time >> Electronics

How to prevent Chrome from requesting geolocation

By default, Google Chrome allows websites to ask users for physical location so websites can deliver location-based content. However, if you do not wish to share your Geolocation with any website and want to stop Chrome from asking for geolocation or physical location, here's what you can do. Although there is a built-in setting that you can find, it is also possible to do the same using the Registry Editor and the Local Group Policy Editor .

Some sites, like Google, often request the physical location of users so they can provide geolocation-based search results. Likewise, you can find the same on many other websites for the same purpose. You mainly have three options to manage this setting:you can automatically allow all websites to access your physical location, websites can ask for permission, and you can prevent all websites from asking for permission.

How to prevent Chrome from asking for geolocation

To follow Group Policy method, you must first install the Chrome Group Policy template. Once done, to prevent Chrome from asking for geolocation, follow these steps:

  1. Search for gpedit.msc in the taskbar search box.
  2. Click on the individual search result.
  3. Navigate to the Content Settings in The configuration of a computer .
  4. Double-click the Default geolocation setting
  5. Choose the Authorized optional.
  6. Choose the Prohibit all sites from tracking the physical location of users option from the drop-down list.
  7. Click the OK button.

To learn more about these steps, keep reading.

First, you need to open the Local Group Policy Editor on your PC. For this, search for gpedit.msc in the taskbar search box and click on the individual search result. Once opened, navigate to the following path:

Computer Configuration> Administrative Templates> Google Chrome> Content setting

Here you can see a setting called the Default geolocation setting . You need to double click on this setting and choose the Allowed optional.

Next, expand the drop-down list and select the Disallow all sites to track users physical location optional.

How to prevent Chrome from requesting geolocation

Finally, click the OK button to save the change.

How to prevent Chrome from asking for the physical location

To prevent Chrome from asking for a physical location, you can also use the Registry Editor :

  1. Search regedit in the taskbar search box.
  2. Click on the individual search result and click the Yes button.
  3. Go to Strategies in HKLM .
  4. Right click on Policies>New>Key .
  5. Name it as Google .
  6. Right click on Google>New>Key .
  7. Name it as Chrome .
  8. Right click on Chrome> New> DWORD (32-bit) Value .
  9. Set name as Default geolocation setting .
  10. Double click it to set value data as 2 .
  11. Click the OK button and restart your computer.

Let's see these steps in detail.

At first, you need to open Registry Editor on your computer. To do this, you can search for regedit in the taskbar search box, click on the individual search result and select the Yes option on the UAC prompt.

Then navigate to this path if you want to apply this setting to all users:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies

However, if you want to apply this setting to the current user, you need to navigate to this path:

HKEY_CURRENT_USER\SOFTWARE\Policies

Next, right click on the Policies key, select New> Key and name it Google .

How to prevent Chrome from requesting geolocation

Then right click on the Google key, select New> Key and name it Chrome .

Here you need to create a REG_DWORD value. To do this, right-click on the Chrome key, select New> DWORD (32-bit) Value and name it as Default geolocation setting .

How to prevent Chrome from requesting geolocation

Then double click on this REG_DWORD value to set the value data as 2 .

How to prevent Chrome from requesting geolocation

Click the OK to save the change and restart your computer.

However, if you want to allow websites to access your geolocation or opt for the default setting, you can remove the Default geolocation setting REG_DWORD value. To do this, right click on it, select the Delete option, and click the Yes button.