Understanding Remote Search
In addition to being able to search content stored on the local computer, users of Windows 7 can also search content stored in shared folders on the network. To do this, the following prerequisites are required:
- The remote computer must be running Windows 7, Windows Vista, Windows Server 2008, Windows Server 2008 R2, or Windows XP or have Windows Server 2003 with WDS 4.0 installed.
- The Windows Search (WSearch) service must be running on the remote computer (on Windows Server 2008, you can enable the search service by installing the File Services role and then enabling the Windows Search role service within that role).
- The shared directory on the remote computer must be included in the indexed scope on the remote computer.
Note To provide an optimal experience for remote search, Microsoft recommends that computers running older installed versions of Windows with WDS 2.6.6 or WDS 3.01 be upgraded to WDS 4.0. For more information concerning support for WDS, see the section titled "Understanding the Windows Search Versions" earlier in this tutorial.
Remote search performed from the local computer uses the Windows Search service on the remote computer to perform the query against the index on the remote computer. Results of the user's search are security trimmed based on the permissions assigned to the files in the shared folder. For example, if a document in the share contains the text "Microsoft" but the document's permissions do not allow the user to read the document, the document will not be returned as part of the search results when the user searches the share for documents containing the text "Microsoft."
Note Windows Search 4.0 automatically indexes all share folder locations. WDS 3.01 and the Windows 7 (and Windows Server 2008 R2) Search feature do not index shared folders automatically. To disable automatic indexing of shared folder locations, enable the Prevent Automatically Adding Shared Folders To The Index setting in Group Policy.
The following example illustrates how you can use a computer running Windows 7 to search for text within documents stored in a shared folder on a file server running Windows Server 2008:
- Install the File Services role on the computer running Windows Server 2008, being sure to add the Windows Search Service role service.
- Add some documents to a folder named Data that is in the indexing scope for the computer running Windows Server 2008. These should include a text file named Findme.txt that contains the text "Hello world".
- Share the Data folder as DATA, granting Read permissions to Domain Users.
- Log on to a computer running Windows 7 using a domain user account and press the Windows Logo key+R.
- Type the Universal Naming Convention (UNC) path to the remote share (\\SERVERNAME\DATA) and press Enter.
- In the Windows Explorer window that opens, type Hello in the Search box. You should immediately see Findme.txt in the results set for your search.
Note If a yellow information bar appears saying "Network locations and connected devices are searched more slowly than indexed locations," the remote location is not being indexed and the slower grep method is being used to search the remote directory.
In this tutorial:
- Managing Search
- Search and Indexing Enhancements
- Search in Windows XP
- Search in Windows Vista
- Search in Windows 7
- Understanding the Windows Search Versions
- Search Versions Included in Windows 7 and Windows Vista
- Search Versions Included in Windows Server 2008
- Search Versions Available for Earlier Versions of Windows
- How Windows Search Works
- Understanding Search Engine Terminology
- Windows Search Engine Processes
- Enabling the Indexing Service
- Windows Search Engine Architecture
- Understanding the Catalog
- Default System Exclusion Rules
- Understanding the FANCI Attribute
- Default Indexing Scopes
- Initial Configuration
- Understanding the Indexing Process
- Modifying IFilter Behavior
- How Indexing Works
- Rebuilding the index
- Viewing Indexing Progress
- Understanding Remote Search
- Managing Indexin
- Configuring the Index
- Configuring the Index Location Using Group Policy
- Configuring Indexing Scopes and Exclusions Using Group Policy
- Configuring Offline Files Indexing
- Configuring Indexing of Encrypted Files
- Configuring Indexing of Encrypted Files Using Control Panel
- Configuring Indexing of Similar Words
- Configuring Indexing of Text in TIFF Image Documents
- Other Index Policy Settings
- Using Search
- Configuring Search Using Folder Options
- Configuring What to Search
- Configuring How To Search
- Using Start Menu Search
- Searching Libraries
- Advanced Query Syntax
- Using Federated Search
- Deploying Search Connectors
- Troubleshooting Search and Indexing Using the Built-in Troubleshooter