batcmd.com Windows 10 Services

Geolocation Service - Windows 10 Service

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.

This service also exists in Windows 11 and 8.

Startup Type

Windows 10 version Home Pro Education Enterprise
1507 Manual Manual Manual Manual
1511 Manual Manual Manual Manual
1607 Manual Manual Manual Manual
1703 Manual Manual Manual Manual
1709 Manual Manual Manual Manual
1803 Manual Manual Manual Manual
1809 Manual Manual Manual Manual
1903 Manual Manual Manual Manual
1909 Manual Manual Manual Manual
2004 Manual Manual Manual Manual
20H2 Manual Manual Manual Manual
21H1 Manual Manual Manual Manual
21H2 Manual Manual Manual Manual
22H2 Manual Manual Manual Manual

Default Properties

Display name:Geolocation Service
Service name:lfsvc
Type:share
Path:%WinDir%\system32\svchost.exe -k netsvcs -p
File:%WinDir%\System32\lfsvc.dll
Error control:normal
Object:LocalSystem
Privileges:
  • SeImpersonatePrivilege

Default Behavior

The Geolocation Service is running as LocalSystem in a shared process of svchost.exe. Other services might run in the same process. If Geolocation Service fails to start, the error is logged. Windows 10 startup proceeds, but a message box is displayed informing you that the lfsvc service has failed to start.

Dependencies

Geolocation Service is unable to start, if the Remote Procedure Call (RPC) service is stopped or disabled.

Restore Default Startup Type of Geolocation Service

Automated Restore

1. Select your Windows 10 edition and release, and then click on the Download button below.

2. Save the RestoreGeolocationServiceWindows10.bat file to any folder on your hard drive.

3. Right-click the downloaded batch file and select Run as administrator.

4. Restart the computer to save changes.

Note. Make sure that the lfsvc.dll file exists in the %WinDir%\System32 folder. If this file is missing you can try to restore it from your Windows 10 installation media.

Yea, though I walk through the valley of the shadow of death, I will fear no evil: for thou art with me; thy rod and thy staff they comfort me.