Windows 7: Search does not find files that it should, directory is indexed, and *.php included on the extension list

Anonymous
2009-11-27T05:51:54+00:00

Windows 7: Search does not find files that it should. I have the directory indexed, and *.php included on the extension list but search does not find files for searches for words that that I know there are files with those words in them.

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2009-11-27T14:10:58+00:00

If you're frustrated with Search (a.k.a. Desktop Search), you are not alone. Click the Start button and type in Search and click on the command "Change how Windows searches". Now click on the Advanced button and select File types tab. Scroll down and locate your file type (in your case **.php)**and make sure that the radio button "Index Properties and File Contents" is selected for the file type.

Come out of the form by clicking the OK button but do not yet close the form where you clicked the Advanced button.

Next, you may need to modify the indexing locations. If the folder wherein your files are located is not known to the search indexing, then search doesn't even bother to look there (a source of frustration for many users). Perhaps your files are on a different disk or partition unbeknown to the indexing engine. Using the expand icon and select/deselect options, make sure that at least the folders of interest are included to the Indexed Locations. Hope this helps.


samc1

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

162 additional answers

Sort by: Newest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Anonymous
    2010-09-01T21:11:52+00:00

    Brilliant, amuzeini, thank you. Agent Ransack works a treat. Looks like I have found a jewel. But WHY DO I HAVE TO? The search facility in 7 should work. I tried all the solutions proposed here but it still wouldn't find file names (quite randomly deciding whether to find something or not, even within the folder I was searching from). I should not be having to edit my registry. This is complete madness and I'm wondering why purchasers of 7 don't take out a class action against Microsoft for their money back.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-08-23T05:16:56+00:00

    As I posted above there is a fix for this. Here it is again in case you missed it.

    Important: The instructions below contain steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information view the article in the Microsoft Knowledge Base: How to back up and restore the registry in Windows

    1. Click Windows + R (Opens run window)
    2. Type regedit and press Enter.
    3. In registry editor, windows locate: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search
    4. In the right pane, right click on SetupCompletedSuccessfully and click on Modify.

                NOTE: If SetupCompletedSuccessfully is not there, then in the right pane, right click on a empty  area and click on ‘New’, select ‘DWORD (32 bit)’ Value and type SetupCompletedSuccessfully and press Enter.

    1. Type 0 and click on OK.

         NOTE: This is the number zero.

    1. Close Regedit
    2. Restart the computer.

    NOTE:

    Resetting the registry to 0 will also remove the drives you may have set previously from the list of “Included Locations” in Indexing Options. So you will need to add those back in through the “Modify” button. > Show All Locations > Check the drives you want indexed.

    Next in Indexing Options you can rebuild the index by clicking through > Modify > rebuild new index.

     I did one more stepjust to make sure before rebuilding the index. I went into Control Panel> Indexing Options > Advanced and selected a new location and new folder for the index. I then deleted the old index through explorer.  Then I hit the rebuild index button.

    I had a suspicion that simply rebuilding the index wasnot creating a whole new data set; for one thing, the index was being rebuilt too fast, like in under a half hour on a machine with 700 Gigs of files. Second, it wasn’t changing anything for the better.

    So out went the old index. I didn’t want Win 7 to keep “borrowing” the possibly corrupt data from the first file by using the data already compiled. But I have not tried this procedure without making a new index folder to see whether deleting the old one is necessary after resetting the SetupCompletedSuccessfully value.

    You might want to try this with the regedit alone without a new index folder and see if that's sufficient in your case.

    About 3 hours later, the index was rebuilt and indexed search for files and folder contents is working.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-08-23T03:14:41+00:00

    Indexed search DOES NOT WORK. When I added the directories I want to search to libraries, it appeared to work - at first. I rebuilt the index, and left the (control panel) Indexing Options window open. It said I had 12,000 items indexed, and it was done indexing. I went out for the afternoon. When I returned, the window - still open - said I had (only) 1200 items indexed (and it was done indexing). At this point it could no longer find the files I was testing with. I closed the window, installed another program, and rebooted. When I opened the Indexing Options window again, it said 94 items indexed, indexing complete. Even as I watched in astonishment, it changed to 84 items indexed (indexing complete). And, of course, it cannot find any of the files I search for, even those that appear in the Windows Explorer that I'm using to search!

    This is crazy. Microsoft, FIX THIS.

    Was this answer helpful?

    0 comments No comments