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. Anonymous
    2010-08-02T09:03:02+00:00

    This is INSANE!! 

    I can't comprehensively search without indexing? 

    Now I have to edit my registry before I can index correctly?

    What happened to making it easier for people to just use their computers to be productive?  Now I have to go and learn Windows 7 in infinite detail just to perform basic tasks.  Next I must search online for one site out of the hundreds of thousands with people trying to find answers just like me for just the right speck of information to help me find one file on a drive. 

    Bad news... this is only the first of what will be hundreds of searches for this type of material.

    Most of my workers aren't computer savvy - just computer users, there has to be a better solution to roll out to a large number of systems

    Sorry, frustrated and angry at MS.  Work for a company of >100,000 & gonna start a movement in IT to stay away from the Win7 upgrade path due to lost production. (small dent in their bottom line but I will feel better)

    Like many of you , I was also frustrated with the search. Nothing would come up even after adding the entire C drive to the index location. I think I finally resolved my problem and searches are now coming up.

    Do the following:

    1. Go to Indexing Options/add your drives as index location/rebuild index.
    2. When rebuild is complete, right click START /Properties/StartMenu tab/choose customize /Search other Files  Folders/select search with public folders.

    My stress level went down.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-07-31T02:44:43+00:00

    This is INSANE!! 

    I can't comprehensively search without indexing? 

    Now I have to edit my registry before I can index correctly?

    What happened to making it easier for people to just use their computers to be productive?  Now I have to go and learn Windows 7 in infinite detail just to perform basic tasks.  Next I must search online for one site out of the hundreds of thousands with people trying to find answers just like me for just the right speck of information to help me find one file on a drive. 

    Bad news... this is only the first of what will be hundreds of searches for this type of material.

    Most of my workers aren't computer savvy - just computer users, there has to be a better solution to roll out to a large number of systems

    Sorry, frustrated and angry at MS.  Work for a company of >100,000 & gonna start a movement in IT to stay away from the Win7 upgrade path due to lost production. (small dent in their bottom line but I will feel better)

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-07-27T08:04:07+00:00

    I find that it works reliably so long as you specify "Computer", or from there, a drive where you know the file to be.  It searches thru 600,000+ files fast enough for me without indexing (way faster than XP)   Indexing is fairly illogical because you are most likely to already know where things are in the indexed places!  And if you index everything, it is constantly running and using resources for those relatively few occasions you need to find something.

    The problem is that "Computer" is too many clicks away for my limited patience level /attention span.   Also, the last search should never be erased from the start menu input field --that is annoying because if you double click a potential candidate and it turns out to be the wrong file, the whole search evaporates and you are forced to start over.  

    Also I wish it didn't start searching on partial words that I type --that is very distracting.   If you run Office Outlook, it will begin to show you your spam before you can get to "Computer" to do a serious search.  

    Those are all UI problems, and I dont understand how a room full of alpha testers could miss these annoyances unless there was a problem with the randomness of the personnel selection --the only way you can not be annoyed is if you had never before sat in front of a keyboard and have no frame of reference.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-07-26T01:26:20+00:00

    OK this worked for me. Credit and huge thanks for the Regedit part to Samhrutha G S at Microsoft Support.

    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: IfSetupCompletedSuccessfully 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 thenumber 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.

    PS:

    It’s good to be aware that there is another place where Windows has search settings. In Control Panel > Folder Options > Search Tab. Make sure the box is clear for “Don’t Use The Index While Searching The File System”. Also choose other options you want there. I selected “Include Subfolders” and “Find Partial Matches”.

    Was this answer helpful?

    0 comments No comments