What app used my location?

6

1

Sometimes the location circle thing pops up in my systray indicating that something has requested my location.

In the Windows 10 Privacy Location settings, I can see what can use my location, but is there a way to see what did use my location?

Svish

Posted 2017-01-03T02:17:22.693

Reputation: 27 731

Only applications that you have provided the permission to are able to get your location. So the list of applications, listed that can use your location, are the only applications that have/did/will determine your location. – Ramhound – 2017-01-03T15:38:09.857

2That I know, which I tried to state in the question, but I wondered if there is a log or something somewhere to see what used my location when. – Svish – 2017-01-10T16:21:50.167

No; There isn't – Ramhound – 2017-01-10T18:04:10.950

Answers

2

“Your Location Is Currently in Use” is a message that you’re receiving because an app you’ve acquired from the Windows Store is using the Windows 10 system service "Geolocation Service" (named lfsvc) to determine your location. Disabling this service will prevent this behavior but won’t effect other applications (like most web browsers) from roughly figuring out your location through other means.

To enable location services for an individual user and Windows Store app, go to Settings > Privacy > Location > Location service. Slide the toggle to the On or Off position to enable/disable the option for any one Windows Store app.

Windows itself does not provide any direct method for finding out which application is calling the Geolocation Service, so one needs to be a bit creative.

A simple method would be to examine the list of the Windows Store apps enabled to use the Location service, then disable progressively these apps from using it, starting with the most likely candidates, until these notifications stop and do not arrive any more.

The complicated method, suitable for advanced programmers, would be to install and attach the WinDbg debugger to the lfsvc service and set breakpoints on its entry points to trap calls. More information can be found in the Microsoft article How to debug Windows services. Although I have done such debug, albeit using Visual Studio rather than WinDbg, this is not a solution that I would recommend or go into in detail.

harrymc

Posted 2017-01-03T02:17:22.693

Reputation: 306 093

Any comments? Svish? nixda? – harrymc – 2019-03-13T09:29:39.383

So using the debug way, it's possible to find out the app which are using the location? -- I would really like to know more about it, if only you could give us a link to any, let's say, your own article or something, that would be great :) – Tiw – 2019-03-14T16:16:55.597

1this is not a solution that I would recommend or go into in detail. - too bad, this would be the interesting part for me – nixda – 2019-03-15T14:16:55.290

@nixda: I don't need to, since the link above is already a good start. If you have the knowledge to go through it, the additional information you will need is only details which can be googled or questions can be posed here. – harrymc – 2019-03-15T14:50:34.420