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
    2014-11-28T21:43:13+00:00

    Your answer helps, but my (copy; version; build [???] of) Windows 7 has no "expand icon and select/deselect options" under "Indexing Options". It does have a "Modify" button that opens an "Indexed Locations" box in which one may include or exclude some indexed locations, however. Windows 7 is not well-thought-out in regards to how an everyday user might want to use searches on one's own computer hard disc. Windows XP was much more easy, even effortless to use in this regard.

    Windows 7 brings to mind an automobile that has door handles flushed to the surface and camouflaged by excess door trim such that only people with acute eyesight and mechanical instincts can spot their location and operate them right away.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-09-23T09:45:34+00:00

    Omg, I finally solved it for myself!!

    Background: Windows search didn't find all files that were there so I rebuilt the index numerous times and tried bunch of other tips in this discussion. Nothing worked. I reduced the problem to just indexing one folder with 2 files, one that could be found and one that couldn't. I inspected the files and noticed that the one that couldn't be indexed had Attribute: AT, while the other one had just A.

    Apparently T stand for temporary, no idea how my file got that since I created that wave file myself.

    Anyway, the solution is (taken from http://blogs.technet.com/b/askds/archive/2008/11/11/dfsr-does-not-replicate-temporary-files.aspx):

    Bring up a Powershell prompt (Start, Run, Powershell or from the Programs menu) and run this command to remove the temporary attribute from all files in the specified directory, including subdirectories (in this example, D:\Data):

    Get-childitem D:\Data -recurse | ForEach-Object -process {if (($_.attributes -band 0x100) -eq 0x100) {$_.attributes = ($_.attributes -band 0xFEFF)}}

    If you don’t want it to work against subdirectories just remove the -recurse parameter.

    And BAM!! Windows Search indexed the file right away!!

    You can't imagine how much I've cursed and slammed the table over this before.

    I'm so happy that I registered here just to share this info with you! Hope it helps!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-01-16T12:01:44+00:00

    This was pretty impressive m_south_a! imagine that, remove indexing and get a better search result (actually, GET a search result). who would have thought.

    thanks a lot!

    Avraham

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2013-12-22T21:28:35+00:00

    Try this.

    I had this same problem, and over a couple of attempts to remedy this I had tried pretty much everything posted online, but nothing fixed it.  I then decided to turn my attention away from the Search feature and turn it to the Start Menu customization state.  It is there that I found this solution  

    • Right click on the Start button (or on your taskbar where they are no task icons present)
    • Click Properties
    • Click on the Start Menu tab
    • Click the Customize button
    • Scroll down (almost to the bottom of) the customization items and you will find an item Search other files and libraries
    • If your setting is currently Don't Search, then change it to Search with (or without) public folders
    • Click OK to close the Customize Start Menu dialog
    • Click OK to close the Taskbar and Start Menu Propertiesdialog

    My system had somehow been set to Don't search here, and as soon as I changed it to Search with public folders the problem was resolved.  Now for an extra measure, I performed a re-index after changing this setting through the Control Panel->Indexing Options->Advanced->Rebuild button, but that may not have been necessary.


    Key phrases: Windows Search not working, Windows Search finds no files

    Was this answer helpful?

    0 comments No comments