0
What is the precise behavior of Windows Search? Is it searching for only files it considers documents? Or only in some directories, no matter what root directory was specified by the user?
Example: I'm searching for "msbuild" from "C:\". Windows Search finds:
a bunch of "MSBuild.exe.log" in the local settings from the previous Windows installation ("C:\Windows.old\Users\…").
a bunch of "MSBuild.exe.log" in a directory it's unwilling to show the name; I haven't verified all of them, but I checked some, and the directory points again to the local settings of the previous Windows installation, just a different user.
The following directories or files are missing from the search results, while being in C:\ and having sufficient permissions to be read:
- C:\Program Files\MSBuild
- C:\Program Files (x86)\MSBuild
- C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild
- C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
- C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe.config
Why Windows Search is unwilling to show those files? What is the criteria? Is there a way to show all the matches in search results?
Note: when Windows Search receives some help from the user, it works as expected. For example searching "msbuild" from "C:\Windows\Microsoft.NET\Framework" shows the results. Weird.
When I look at Indexed Locations, "C:\Windows.old" is not marked as indexed. However, the results from this directory appear in search. So there should be an additional criteria involved. – Arseni Mourzenko – 2013-04-27T08:39:58.203
The results are in
C:\Windows.old\Users...
. The Users folder is indexed by default. As the Windows.old folder refers to an older installation of Windows, its Users subfolder might still be marked as an indexed folder somehow. – Pincopallino – 2013-04-27T11:30:22.060I checked. The folder is not marked as indexed. If I remember well, the list of directories to index is stored in a central location, and not in the attributes of a directory, so it would be strange for new Windows to go and index something from the old installation. – Arseni Mourzenko – 2013-04-27T13:35:15.957
@MainMa: In Folder Options / Search tab, is the Include system directories option selected?
– Karan – 2013-04-27T15:08:13.053@Karan: yep, it's already checked. – Arseni Mourzenko – 2013-04-27T15:27:05.597
@MainMa I've made the same search on my desktop and all the results appear, including the ones that you are reporting as missing. My Windows search has the default options, but I don't have any Windows folder. Notice that the results from non-indexed paths appear after some time, depending on the speed of your computer and the amount of data on the hard disk. So if you don't get those results, then there is something wrong with your configuration. Forcing an index rebuild might help – Pincopallino – 2013-04-28T08:19:06.013