Windows 10: msconfig, disable all services, break lfsvc (geoloc) Solved

Page 1 of 2 12 LastLast

  1. Posts : 38
    Windows 10 familly x64
       25 Aug 2015 #1

    msconfig, disable all services, break lfsvc (geoloc)

    I must edit this post because of an important thing:

    I could run windows 10 home in safe mode, using shift key, hold while clicking on restart.
    Then i click on Parameters, and selected 4 or 5 to boot in safe mode.

    If i use msconfig in normal boot mode, and i disable the geoloc service from there and try to use other type of boot method, it wont activate again.

    So enable all services in safe boot from msconfig, fix everythings.

    Don't use any method i describe, there is no need for it and can breack more msconfig and settings.


    Actually i dunno if this is a bug or not.

    There is something wrong with ms config that happen everytime i try to click on disable all services, and enable them again.
    Service in question that will not enable after clicking disable all services:
    Geolocation Service (lfsvc)

    In French it's something like: "Service de Géolocalisation"
    I tryed to check normal boot, or enable it again in msconfig.
    In services.msc:

    couldn't find path.
    I could start it or stop it, but not change it again to manual differed start type.
    Potential fix in a bat file from batcmd website i found:

    @echo off
    sc config lfsvc start= demand

    I'm not sure if it's this thing that fixed or not the service.

    But before using it, i exported lfsvc keys in regedit just in case, and deleted the service with sc service.(will breack geolocalisation and windows)

    Off course i lost the reg key, doing this.

    Next step was about creating lfsvc service.
    I used path from the corrupted saved reg keys.
    I can't remember the way i did it.
    i just remembered i pointed to a path containing %WinDir%\System32\lfsvc.dll
    and included netsvcs or something
    It was stupid to delete the service it could breack my windows.

    It did worked, i just had to launch the bat that contain:
    @echo off
    sc config lfsvc start= demand

    and just to be safe, get a copy export of the new lfsvc rush reg key.

    I tryed again to use ms config, disable then enable all services.

    I checked rush each time, and new key was corrupted with wrong informations.

    I provide two reg keys i renamed with .txt.
    One is the corrupted key, other is the normal key for windows 10 family x64, french version. (key in french)

    The normal key in french i obtained after repairing lfsvc service, is the one i have to use every time i have to disable all services for startup troubleshooting.

    The txt file provided is not for fixing the service, but just to look after it if something is wrong or what happend with ms config.

    Thanks a lot.
    msconfig, disable all services, break lfsvc (geoloc) Attached Files
    Last edited by Elbern; 30 Aug 2015 at 14:52.
      My ComputerSystem Spec

  2.    29 Aug 2015 #2


    int the regedit the "start" key insert 3, and reboot.
      My ComputerSystem Spec

  3. Ztruker's Avatar
    Posts : 6,414
    Windows 10 Pro X64 17134.191
       29 Aug 2015 #3

    Colos said: View Post

    int the regedit the "start" key insert 3, and reboot.
    Would you try that again but in English this time? No idea what you meant by what you entered.
      My ComputersSystem Spec

  4. Posts : 38
    Windows 10 familly x64
    Thread Starter
       30 Aug 2015 #4


    What he does mean, is set the start dword entry for this service to 3,
    But it Was not working whne i did it.

    Ok i did a reinstall and format of my hard drive, win 10x64 is reunning fine, but:

    Even on new install disabling all services in msconfig and enable them, it's broken again about same geoloc service.

    Your solution : set dword to 3 about start reg key, should be the solution, i do it, i reboot, and like on previous install:

    About lfssvc it say the file can't be found.

    SO for me it's definitively a bug at last with the french version of win 10 ?
      My ComputerSystem Spec

  5.    30 Aug 2015 #5

    I did the same thing, had to do an in-place upgrade saving nothing; saving everything kept the broken service. Attempting to repair the service caused Cortana, Windows feedback and even the Start Menu to fail.
      My ComputerSystem Spec

  6. Posts : 38
    Windows 10 familly x64
    Thread Starter
       30 Aug 2015 #6

    This is on an english language installation for you ?
      My ComputerSystem Spec

  7.    30 Aug 2015 #7

    Elbern said: View Post
    This is on an english language installation for you ?
    If you're asking me (please reply with quote); yes, it's an English (US) install.
      My ComputerSystem Spec

  8. Posts : 38
    Windows 10 familly x64
    Thread Starter
       30 Aug 2015 #8

    Ok thanks frackingforoil :)

    It's not a broken reg key,
    I reset the key with my old save that was working, and i think it's the service that is completely broken once it is disabled in ms config.
    Even the good reg key is not fixing it.
    Net start lsvc is working off course, now maybe i ahve to register this service again ?
      My ComputerSystem Spec

  9. Posts : 38
    Windows 10 familly x64
    Thread Starter
       30 Aug 2015 #9

    Is someone able to say if this is the right command to create again this service ?
    I won't delete the keyfirst, just keep it as it.

    sc create lfsvc binpath= "%SystemRoot%\system32\svchost.exe -k netsvcs" DisplayName= "@%SystemRoot%\System32\lfsvc.dll,-1" start= demand

    Ok just to edit, i can't recreate it, it does already exist.

    Another edit:

    sc config lfsvc start=demand

    it does result in: error 2 specified file can't been found.

    Third edit, before doing it i had to completely save:


    and export the key,

    Warning dangerous commands next and not verified by an experienced user:
    don't delete without someone confirm both folowing commands are ok to use once you have your lfsvc already back up as a reg key:

    Without all the parameters saved in an exported key, you will have to reinstall windows:

    1 :Net stop lfsvc
    2 : sc delete lfsvc

    sc create lfsvc binpath="%SystemRoot%\system32\svchost.exe -k netsvcs" DisplayName= "@%SystemRoot%\System32\lfsvc.dll,-1" start= demand

    Then import the old reg key saved to a folder with right click and add to reg.
    Last edited by Elbern; 30 Aug 2015 at 13:38. Reason: Wrong name service is lfsvc, not lsvc with a L not a i
      My ComputerSystem Spec

  10. Posts : 38
    Windows 10 familly x64
    Thread Starter
       30 Aug 2015 #10

    I answer to my previous message:

    I provided name lsvc instead of lfsvc, and i created like an idiot a service named lsvc and i had to delete it manually.

    Ok about the previous step it worked for me, but for a reason or another, even if all services are selected, i won't be able anymore to select normal boot from msconfig.

    Last edit for this message:

    I tryed all ms config fixed found on the web, i enabled all startup item with ctrl alt del,

    tryed disable a service temporary then activate all services again, msconfig say it's normal boot and will restart, but next startup, it's on selective startup.
    Last edited by Elbern; 30 Aug 2015 at 14:14.
      My ComputerSystem Spec

Page 1 of 2 12 LastLast

Related Threads
Performance & Maintenance Start, Stop, and Disable Services in Windows 10 in Tutorials
How to Start, Stop, Restart, Enable, and Disable Services in Windows 10 A service is an application type that runs in the system background without a user interface and is similar to a UNIX daemon process. Services provide core operating system...
Solved Where's msconfig? in Software and Apps
Can someone help me find msconfig in Win10 Home ? There are some startup software I would like to disable. Thanks..
:mad:Ever since install..all 3 pc's have been acting weird....won't sleep or shut down properly, random crashes, go away 30 min. and when I come back, all my icons are huge...???? and just now my Desk Top just powered off and it's completely...
Solved 10074 updates break my PC in General Support
So I today decided to update my PC to build 10074 - biggest ****ing mistake. Tripple shit build. Upgraded and Bluetooth was broken. After doing some research it was fixed in an update. So I download the updates that are available. Ha when the PC...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:50.
Find Us