none
Search service will not start

    Question

  • I have a windows 7 ultimate, sp1 laptop (Dell Precision M4400) where the search service fails to start.  I've gone through the following steps and still cannot get the search service to run.  Any thoughts?

    Step 1 :
    Checked and performed the solution as per Microsoft Article available at
    "http://support.microsoft.com/kb/2484025#top".

    Step 2 :
    According to the KB article I tried deleting all files with .BLF and
    .REGTRANS-MS but getting error "The action cannot be completed because the
    file is open in system".

    Step 3 :
    Tried to delete the files in Safe mode but not able to deleted.

    Step 4 :
    Taken the Ownership of the files.

    Step 5 :
    Disable User Access Control.

    Step 6 :
    Tried to delete the files from UnlockIT, Unlocker and Malwarebytes Fileassasin
    tools.

    Step 7 :
    Tried Rebuilding the Index Service from "Indexing Options" from
    Control Panel but still unable to start the Windows Search service.

    Step 8 :
    Run Fix it from Microsoft

    Step 9 :
    Change the SetupCompletedSuccessfully to 0 in
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows

    Step 10 :
    Disable Indexing and Windows Search from Windows Features and then enabled.

    Step 11 :
    Delete folders & files in C:\ProgramData\Microsoft\Search\Data

    Step 12 :
    Create Applications, Config & Temp folders in
    C:\ProgramData\Microsoft\Search\Data

    Step 13 :
    Created Data folder at C:\ProgramDataWindows Search.

    Step 14 :
    Changed the DataDirectory key value to C:\ProgramDataWindows Search\Data.

    Step 15 :
    Changed the DefaultDataDirectory key value to C:\ProgramDataWindows
    Search\Data.

    Step 16 :
    Changed the InstallDirectory key value to C:\ProgramDataWindows Search\Data.


    Tuesday, February 21, 2012 2:53 PM

Answers

All replies

  • A. First of all, is this new installation or the older one? 

    B. What did you do before this phenomenon appeared?

    C. Set the booting option that logs the boot and reveal here your findings (or save the log in cloud repository - SkyDrive)

    Regards

    Milos

    Tuesday, February 21, 2012 8:42 PM
  • Hi,

    Did you successfully delete the files in C:\windows\system32\config\TxR? Please check again.

    Also, when Search service stops, is there any error message created in Event Log? If there is, please post the detailed info here.

    Juke Chou
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedbackhere.


    Juke Chou

    TechNet Community Support

    Wednesday, February 22, 2012 7:16 AM
  • -This is an existing install (about 18 months old)

    -Nothing occured that we can pinpoint anyhow just prior to this happening

    -The event log error generated is: Event 7031: The windows search service terminated unexpectedly. It has done this x times.  The following corrective action will be taken in 30000 milliseconds: restart the service.

    - error message on the screen is "The windows search service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

    - we eventually were able to delete the files noted above, but they returned immediately (before a service restart/reboot/etc..)

    Wednesday, February 22, 2012 3:22 PM
  • Hi,

    Can you start the service in Clean Boot Mode? If not, I suggest taking an exception dump via adplus, then exam it via Windbg, this may find out the culprit.


    Juke Chou

    TechNet Community Support

    Thursday, February 23, 2012 10:18 AM
  • Rebooted in 'Clean Boot mode' as per this KB - http://support.microsoft.com/kb/331796

    Still unable to start the service. 

    Tried to install adplus, was told I needed .net 4.0, tried to install .net 4 and that installation failed.


    • Edited by korbind Friday, February 24, 2012 3:49 AM
    Friday, February 24, 2012 3:48 AM
  • Hi,

    Adplus is a tool provided by Windbg, please install windbg and you will find it in Windbg installation directory.

    http://support.microsoft.com/kb/286350

    If it still cannot be installed, navigate to TEMP folder and try to find out windbg msi installation file and install Windbg alone.


    Juke Chou

    TechNet Community Support

    Friday, February 24, 2012 9:00 AM
  • Tried to install adplus/Windbg, was told I needed .net 4.0, tried to install .net 4 and that installation failed.  I am unable to install adplus/Windbg
    • Edited by korbind Friday, February 24, 2012 1:43 PM
    Friday, February 24, 2012 1:43 PM
  • We are going to rebuild the laptop, additional problems outside of this issue are beginning to arise.
    Friday, February 24, 2012 8:33 PM
  • Hi,

    Have you already reinstalled the laptop? if so, please allow me to ask for your priviledge to mark this thread as "Answered". This will help the other viewers know what kind of resolution we got.

    Thanks.


    Juke Chou

    TechNet Community Support

    Monday, February 27, 2012 9:02 AM