Windows 10: Windows Search and Indexing Broken

Discus and support Windows Search and Indexing Broken in Windows 10 Performance & Maintenance to solve the problem; 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... Discussion in 'Windows 10 Performance & Maintenance' started by zdzdz, Jan 5, 2016.

  1. zdzdz Win User

    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.


    Windows Search and Indexing Broken [​IMG]


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


    Windows Search and Indexing Broken [​IMG]


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


    Windows Search and Indexing Broken [​IMG]


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


    Windows Search and Indexing Broken [​IMG]


    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?

    :)
     
    zdzdz, Jan 5, 2016
    #1

  2. Major problems after Anniversary Update

    Type Indexing in Start search, open Indexing options. Under Advanced tab edit the locations you want indexed for fast search. Then choose Rebuild Index. This may take awhile I'd give it exclusive use to sort these faster.

    Run the WIndows Search Troubleshooter:
    Fix and Repair broken Windows Search in Windows 10/8/7


    Go over the
    Windows 10 Install Integrity Checklist.


    Let us know if you have any questions and what you find.
     
    Greg Carmack - Windows MVP, Jan 5, 2016
    #2
  3. Stephen_C Win User
    Cortana not finding local documents

    Thanks, did all the things. Also did sfc and dism. Also checked locations under Indexing Options. Also rebuilt index.

    It is still broken. Broke after updating to Fall Creators Update.

    This is seriously afu.

    How do I stop Cortana and revert to plain Windows Search?
     
    Stephen_C, Jan 5, 2016
    #3
  4. dalchina New Member

    Windows Search and Indexing Broken

    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"
     
    dalchina, Jan 5, 2016
    #4
  5. zdzdz Win User
    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.
     
    zdzdz, Jan 5, 2016
    #5
  6. dalchina New Member
    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?
     
    dalchina, Jan 5, 2016
    #6
  7. zdzdz Win User
    What do you you mean by old control panel?
    The two files srchadmin.dll are present in both directories.
     
    zdzdz, Jan 5, 2016
    #7
  8. dalchina New Member

    Windows Search and Indexing Broken

    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
     
    dalchina, Jan 6, 2016
    #8
  9. zdzdz Win User
    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.


    Windows Search and Indexing Broken [​IMG]



    Windows Search and Indexing Broken [​IMG]


    How can I add my drive C: and how to get these locations indexed?
     
    zdzdz, Jan 6, 2016
    #9
  10. dalchina New Member
    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:

    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]
     
    dalchina, Jan 6, 2016
    #10
  11. dalchina New Member
    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:
    C:\ProgramData\Microsoft
    Search folder, I assume

    Permissions for the Search folder (after I'd hit Continue to get access to it):

    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]
     
    dalchina, Jan 6, 2016
    #11
  12. zdzdz Win User
    These are my permissions on C:


    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]


    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]


    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]

    Windows Search and Indexing Broken [​IMG]


    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:

    Windows Search and Indexing Broken [​IMG]

    Red icon with cross.

    And the Owner was Unknown something, so I changed it to my Account.
     
    zdzdz, Jan 6, 2016
    #12
  13. dalchina New Member

    Windows Search and Indexing Broken

    Ok, I think you have some significant permissions issues to sort out.. hmm, could be tricky!
    Mine's a clean single user Win 10 install

    Suggest before changing anything you make a disk image so you can restore it if things get sticky.
    Aomei Backupper or Macrium reflect (free versions) + boot disk - don't forget to create it- plus external backup medium
     
    dalchina, Jan 6, 2016
    #13
  14. zdzdz Win User
    What do I have to do? Do I have to remove all Account Unknown users?
    When I try to apply the permissions for Administrator I get permission denied from Windows, Users, Program Files, Program Files (x86), pagefile.sys, Intel, $Recycle.bin, bootmgr, BOOTNXT, Config.msi etc.
    Is there a way to add Administrator and permissions in cmd from live boot while Windows is not running?

    Is it a good idea if I do a repair install of Windows? Would anything change?
     
    zdzdz, Jan 6, 2016
    #14
  15. dalchina New Member
    I'm afraid I can't advise further on that.. clearly you can do what you can to make permissions match a good system, and you need to remove extraneous groups and user names. However, you then have the question of inherited permissions, and whether all the changes you might need to make will leave you with a useful bootable system.

    Perhaps someone who has more experience of this might be able to help, but realistically, I'd think you'd need to do a clean install.

    There are articles which try to address this to some extent, but there's absolutely no guarantee any one of them will specifically or completely resolve what you have, so I can't direct you to one.

    Example only:
    How to restore Default Security Permissions - Microsoft Community

    - and bear in mind that's Win 7, so you will be further limited on what might be available or applicable to Win 10.

    Have you created a disk image before hacking it? ... beware...!

    Two tools come to mind:
    subinacl.exe (you'll need to research it)
    and Tweaking.com's repair tool, which does have some repairs related to permissions, but may not be adequate for your case.
     
    dalchina, Jan 6, 2016
    #15
Thema:

Windows Search and Indexing Broken

Loading...
  1. Windows Search and Indexing Broken - Similar Threads - Search Indexing Broken

  2. Windows Search Index

    in Windows 10 Network and Sharing
    Windows Search Index: Hi,When I search my computer, I can find files with the word I'm searching for. But what I want to find is the contents of office files that have the word I searched for. So I want to add the contents of office files to the search index.In the search index advanced settings...
  3. Windows Search Index

    in Windows 10 Gaming
    Windows Search Index: Hi,When I search my computer, I can find files with the word I'm searching for. But what I want to find is the contents of office files that have the word I searched for. So I want to add the contents of office files to the search index.In the search index advanced settings...
  4. Windows Search Index

    in Windows 10 Software and Apps
    Windows Search Index: Hi,When I search my computer, I can find files with the word I'm searching for. But what I want to find is the contents of office files that have the word I searched for. So I want to add the contents of office files to the search index.In the search index advanced settings...
  5. windows search and indexing

    in Cortana
    windows search and indexing: hello the search in taskbar stopped working for some reason it i think crashes when i type or click on something in it, i have tried running the trouble shooter multiple times nothing, did this thing with power shell still nothing, did the w + r and then command Still nothing...
  6. windows search and indexing

    in Cortana
    windows search and indexing: 1 my windows search does not search the d directory. 2 it happened at once that my index stopped working, when i go to the settings is crashes, i have tried all methods like run, command prompt, and at the end i restarted windows from iso, now i don't know what else i can...
  7. Window search and indexing

    in Cortana
    Window search and indexing: I can only fine file names if i type a word in search box but i want to find indexed file content and files which contain the word i type. I tried to solve in many ways such as rebuilding indexes and changing permissions but nothing got different. I don't have such problems...
  8. Nonfunctioning Explorer Search, broken permissions, indexing chaos..

    in Windows 10 Support
    Nonfunctioning Explorer Search, broken permissions, indexing chaos..: Hello! I rarely ever run into PC issues that make me desperate, but this might be just the case, specially since I'm completely and hopelessly lost about what to do.. I'd be immensely grateful if any help could be offered, or at least if I can be guided through this...
  9. Windows Search and Indexing

    in Windows 10 Network and Sharing
    Windows Search and Indexing: When I rebuild the index, I get the message "indexing complete" after a couple of hours, but only 4,000 files are indexed, which is only a small percentage of the total number of files in the directories I've listed for indexing. One directory contains over 10,000 files, a...
  10. Windows Search and/or Indexing Broken

    in Windows 10 Support
    Windows Search and/or Indexing Broken: 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 results and would prompt me...

Users found this page by searching for:

  1. subinacl windows search permission index lost