Windows 10: Windows Search and Indexing Broken

Page 1 of 2 12 LastLast
  1.    05 Jan 2016 #1

    Windows Search and Indexing Broken

    After upgrading to TH2 I had an issue with windows search. The service wouldn't start at all.

    I managed to run the Windows Search service.
    I had to delete the Key RebuildIndex and change value of key SetupCompletedSuccessfully to 1.

    Click image for larger version. 

Name:	Registry.png 
Views:	13 
Size:	46.9 KB 
ID:	57258

    Now that the search service works I have another problem. The indexing is not working:

    Click image for larger version. 

Name:	Indexing.png 
Views:	138 
Size:	14.5 KB 
ID:	57259

    In Advanced options the Index Location is blank and the button Select New is grayed out.

    Click image for larger version. 

Name:	Location.png 
Views:	138 
Size:	9.0 KB 
ID:	57260

    When I run the troubleshooter I get : Incorrect permissions on Windows Search directories -- Not fixed

    Click image for larger version. 

Name:	Troubleshooter.png 
Views:	138 
Size:	10.5 KB 
ID:	57261

    The owner of folders C:\Program Data\Microsoft\Search and C:\Program Data\Microsoft\Search\Data is SYSTEM. Administrator and my user name are added with Full Control.
    What could be the problem?
      My ComputerSystem Spec

  2.    06 Jan 2016 #2

    Hi, part of your problem may be addressed towards the end of this thread:

    Solved File Explorer Search Not Working - Windows 10 Forums

    Modify button: I had to do this once having even lost Indexing Options in Control Panel- I first fixed that, then to solve the modify button being greyed out:
    Disable and re-enable the feature through dism.
    dism /Online /Disable-Feature /FeatureName:"SearchEngine-Client-Package"
    dism /Online /Enable-Feature /FeatureName:"SearchEngine-Client-Package"
      My ComputerSystem Spec

  3.    06 Jan 2016 #3

    Thanks but it's not working.

    I have a PC with Win10 where I search and indexing are working fine. I reproduced the permissions for Search, Data, Application and Temp folders 1:1 on my laptop where is the problematic Win10. System is owner everywhere.
    Tried your method with disabling SearchEngine-Client-Package - result was the same.
    Not working at all. I think the problem lies somewhere in the registry but I don't know exactly where.
      My ComputerSystem Spec

  4.    06 Jan 2016 #4

    Hi, is 'Indexing Options' present in the (old) control panel? (I presume you must have given your screen-shot)
    Do you have srchadmin.dll and srchadmin.dll.mui in system32 and syswow64 folders as appropriate?
      My ComputerSystem Spec

  5.    06 Jan 2016 #5

    What do you you mean by old control panel?
    The two files srchadmin.dll are present in both directories.
      My ComputerSystem Spec

  6.    07 Jan 2016 #6

    E.g. Windows key + X, Control Panel

    If the dlls and dll.mui files are present, and you have run the powershell commands from an elevated powershell window, and Modify is still greyed out, it's looking more like you'll need to try an in-place upgrade repair install.

    However, it may be worth trying the DISM commands.
    Try running these in sequence from a elevated (admin) Command Prompt:

    To open an admin Command Prompt window
    Press Win key + X, then click ‘Command Prompt (admin).
    Then copy/paste each in turn at the prompt, press <Return> and wait for the command to complete.

    Dism /Online /Cleanup-Image /StartComponentCleanup
    Dism /Online /Cleanup-Image /RestoreHealth
      My ComputerSystem Spec

  7.    07 Jan 2016 #7

    Thanks. I tried all that but it didn't work.

    Actually I fixed the problem myself.
    As it said there were incorrect permissions, I decided to change the indexing location. I chose a different path (in my case C:\Users\-Username here -\AppData\Local\Microsoft). I created two folders: Search and Data (inside Search).
    Then in registry I just changed the values of DataDirectory and DefaultDataDirectory. Reabooted.
    After reboot I just had to stop and start the WSearch service and indexing started working.
    Of course I deleted the old Search folder with incorrect permissions and created a new one. After doing the above I manged to get indexing to work with %ProgramData%\Microsoft\Search. But yet again when I ran the troubleshooter I got Incorrect permissions error.
    So I decided to stick to the new location.

    But this time the problem is different. Under "Index These Locations" there was nothing. When click on Modify, under "Change Selected Locations" there are only two of my volumes (drive D: and drive M: and drive C: is missing. So I had no way to add the default folders (Start Menu and Users).
    Then I found out the by editing the search policies in gpedit.msc I can add Default Index Paths and Default excluded paths. I added Users and Start Menu folders by they are not indexed.

    Click image for larger version. 

Name:	1.png 
Views:	121 
Size:	13.9 KB 
ID:	57460

    Click image for larger version. 

Name:	2.png 
Views:	121 
Size:	9.4 KB 
ID:	57461

    How can I add my drive C: and how to get these locations indexed?
      My ComputerSystem Spec

  8.    07 Jan 2016 #8

    Hi, ok, you're right.. should have looked more carefully at the permisssions issue.

    Good you've made some progress. Note that Users needs to be indexed, else searching Settings is s-l-o-w... (Or at least the relevant part of Users, whatever that might be).

    Just wondering about your permissions on C: given you've had to deal with one permissions problem.

    Mine on C: is this:
    Click image for larger version. 

Name:	Snap 2016-01-07 at 10.06.27.jpg 
Views:	122 
Size:	24.2 KB 
ID:	57463Click image for larger version. 

Name:	Snap 2016-01-07 at 10.06.44.jpg 
Views:	126 
Size:	25.0 KB 
ID:	57464Click image for larger version. 

Name:	Snap 2016-01-07 at 10.07.06.jpg 
Views:	125 
Size:	30.4 KB 
ID:	57465Click image for larger version. 

Name:	Snap 2016-01-07 at 10.07.15.jpg 
Views:	125 
Size:	25.0 KB 
ID:	57466
      My ComputerSystem Spec

  9.    07 Jan 2016 #9

    These registry keys appear to hold the search index locations:
    HKLM\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndex\WorkingSetRules\
    HKLM\SOFTWARE\Microsoft\Windows Search\Gather\Windows\SystemIndex\Sites\LocalHost\Paths\
    HKLM\SOFTWARE\Microsoft\Windows Search\Gather\Windows\SystemIndex\StartPages\

    (I added a distinctive location and searched the registry)

    The default index location is here:
    Search folder, I assume

    Permissions for the Search folder (after I'd hit Continue to get access to it):
    Click image for larger version. 

Name:	Snap 2016-01-07 at 10.30.51.jpg 
Views:	122 
Size:	24.7 KB 
ID:	57470Click image for larger version. 

Name:	Snap 2016-01-07 at 10.30.42.jpg 
Views:	120 
Size:	25.3 KB 
ID:	57469Click image for larger version. 

Name:	Snap 2016-01-07 at 10.30.26.jpg 
Views:	121 
Size:	26.2 KB 
ID:	57468Click image for larger version. 

Name:	Snap 2016-01-07 at 10.30.16.jpg 
Views:	120 
Size:	25.0 KB 
ID:	57467
      My ComputerSystem Spec

  10.    07 Jan 2016 #10

    These are my permissions on C:

    Click image for larger version. 

Name:	Creator.png 
Views:	119 
Size:	20.5 KB 
ID:	57471Click image for larger version. 

Name:	System.png 
Views:	119 
Size:	20.8 KB 
ID:	57472
    Click image for larger version. 

Name:	Un1.png 
Views:	119 
Size:	19.3 KB 
ID:	57473Click image for larger version. 

Name:	Un2.png 
Views:	120 
Size:	19.9 KB 
ID:	57474
    Click image for larger version. 

Name:	Un3.png 
Views:	119 
Size:	19.5 KB 
ID:	57475Click image for larger version. 

Name:	Un4.png 
Views:	119 
Size:	20.7 KB 
ID:	57476Click image for larger version. 

Name:	Users.png 
Views:	119 
Size:	15.1 KB 
ID:	57477

    I have some strange Unknown users. I think they may be from the time I install MSSql Server. I'm not sure.
    And I don't have Administrator added. When I try to add I get this:
    Click image for larger version. 

Name:	Administrator.png 
Views:	118 
Size:	15.4 KB 
ID:	57478
    Red icon with cross.

    And the Owner was Unknown something, so I changed it to my Account.
      My ComputerSystem Spec

Page 1 of 2 12 LastLast

Related Threads
Hi, I recently upgraded to Windows 10 and have encountered an interesting problem. I realized it initially when I would press start and begin to type a program's name in order to run it, as I was doing with Windows 7, but it would not find any...
So my cortana search is messed up because the indexing service (Windows search service) won't turn on. I get the error "Windows could not start the Windows Search service on Local Computer. Error 15: The system cannot find the drive specified." when...
dual boot system 10 on C:, 7 on D: Search indexing insists on indexing drive D: instead of C: No matter how many times I uncheck indexing locations on D: and choose proper locations on C:, when indexing starts to rebuild it reverts back to D: I...
Index - Windows Search Service I'm having a huge problem where things simply won't search on my laptop, and the Microsoft folder isn't even in Program Files, so I'm unsure if the other methods are even safe. :huh:
Windows Key Search Broken in General Support
If I click the Windows key on my taskbar and type in something like Device Manager or Control Panel, all I get are web search options. Ideas?
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 10:10.
Find Us