How to Search File Contents in Windows Server 2008 R2
By default, windows search only search by File name. To configure windows search to search by contents you need configure the following:
You need to make sure Windows Search Services feature is activated.(Check this article for details)
Then, configure Windows Search by Open file explorer: Press Alt button –> go to tools –> Folder options –> search tab –> Here select, “Always search file names and content(this might take several minutes)”
Press okay. Now your searches will work for file content like the good old days of XP.
Another way to search the contents in file without Search configuration is to Type “contents:” in the Windows Explorer search box followed by the word, searches text files. This is a search filter which seems to be undocumented?