msconfig, disable all services, break lfsvc (geoloc)

Page 1 of 2 12 LastLast

  1. Posts : 38
    Windows 10 familly x64
       #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.



    Hello,


    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
    exit

    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.

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

    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 Computer


  2. Posts : 1
    Win10
       #2

    Hi,

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


  3. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #3

    Colos said:
    Hi,

    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 Computers


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

    Hello,

    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 Computer


  5. Posts : 605
    Windows 10
       #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 Computer


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

    Hello,
    This is on an english language installation for you ?
      My Computer


  7. Posts : 605
    Windows 10
       #7

    Elbern said:
    Hello,
    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 Computer


  8. Posts : 38
    Windows 10 familly x64
    Thread Starter
       #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 Computer


  9. Posts : 38
    Windows 10 familly x64
    Thread Starter
       #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:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lfsvc]

    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


    3:
    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 Computer


  10. Posts : 38
    Windows 10 familly x64
    Thread Starter
       #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 Computer


 

  Related Discussions
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 19:39.
Find Us




Windows 10 Forums