A common question I see on Twitter and on some forums is that out of the box users are not able to search for files very easily on Server 2008 because the indexing service is disabled by default. I am going to walk you through enabling the search features for files on the server. To do this you need to enable Windows Search Service which permits fast file searches on the server from clients that are compatible. Windows Search Service is intended for desktop search or small file services and is NOT a enterprise solution.
The main thrust of this is that if you want an enterprise solution there are more robust options from Microsoft. The discussion is a bit out of scope for this writeup but you can see some comparisons of products at http://www.microsoft.com/EnterpriseSearch/products.aspx
If you just need to search a single file server or even are going to be using Server 2008 as a desktop OS for yourself, the Windows Search Service will be more than enough for your needs.
Let’s go ahead and install Windows Search Service
- Open Server Manager and select Roles in the left pane. Then in the center pane click on Add Roles.
- If you get the Before You Begin page just click Next, depending on if you have installed a role before and chose to skip this page in the future you might not see it.
- Select Server Roles window go ahead and select File Services and then click Next.
- The next page will discuss the File Services Role and what you can do with it. After reading go ahead and click Next.
- In the Select Role Services page place a check next to Windows Search Service and then click Next.
- The next page will ask you to select the volumes you want to index. Place a check next to the volumes you want indexed and then click Next. As a note this is a test server so I don’t have separate data drives, be careful indexing your system drive as it can cause performance issues.
- Confirm your selections by reviewing the information and then click on Install.
- Hopefully you see a Installation Succeeded message and you can click Close.
That’s it! You will now be able to execute searches on the Windows server through Windows Search Services.