Geolocation Service (lfsvc) Defaults in Windows 10

This service monitors the current location of the system and manages geofences (a geographical location with associated events). If you turn off this service, applications will be unable to use or receive notifications for geolocation or geofences.

Default Settings

Startup type: Manual
Display name:Geolocation Service
Service name:lfsvc
Service type:share
Error control:normal
Path:%SystemRoot%\system32\svchost.exe -k netsvcs -p
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lfsvc
  • SeImpersonatePrivilege

Default Behavior

Geolocation Service is a Win32 service. In Windows 10 it is starting only if the user, an application or another service starts it. When the Geolocation Service is started, it is running as LocalSystem in a shared process of svchost.exe along with other services. If Geolocation Service fails to start, the failure details are being recorded into Event Log. Then Windows 10 will start up and notify the user that the lfsvc service has failed to start due to the error.


Geolocation Service cannot be started under any conditions, if the Remote Procedure Call (RPC) service is disabled.

Restore Default Startup Configuration of Geolocation Service

Before you begin doing this, make sure that all the services on which Geolocation Service depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the command below, paste it into the command window and press ENTER:

sc config lfsvc start= demand

3. Close the command window and restart the computer.

The lfsvc service is using the lfsvc.dll file that is located in the C:\Windows\System32 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 10 installation media.