Adding a File Share as a Search Connector (Windows 2008 / 7 environment)

Posted on 2011-10-03
Last Modified: 2012-05-12
Dear All;

1 x Windows 2008 non-R2 32-bit Server
several Windows 7 clients all connected via a domain setup

Enable the contents of my fileserver share to be indexed and searchable by the clients

Per [1][2][3] I've:

*) Installed and Enabled the Windows Search Service
*) Defined my target drive on the Fileserver to be Indexed
*) via the Indexing Options confirmed that the indexing has been completed

Now I need to somehow create and deploy an .osdx file to my clients, so that they can in turn search the contents of the fileshare.

I've been browsing the Internet and have not been able to find an answer on how to create an osdx fiel for a file share... there are plenty of examples for a web search such as MSDN, or sharepoint server search, but nothing for file share.

If someone can please point me in the right direction I'd appreciate it!


P.S. References:

P.P.S: Disclaimer/Kind Request
I'm assigning 500 points to this question, and have done my best to provide as much details as possible to ensure I get an intelligible response, and avoid responses such as: "URL: KB article" or "RTFM". Thank you.

*) enable and install the Windows Search Service on my fileserver
Question by:ovprit
    LVL 21

    Expert Comment

    From my understanding if you enable to Windows Search Service on your server and add your Share to the index you will be able to search it natively using a Vista,W7 or 2008 client.

    I just did a test on my Server and searched from a client and it was instantaneous.

    I do not think you need to replicate the osdx file.

    I would test by sharing out a new folder and add a bunch of files and try to search the a text sequence in a file.  
    Then I would turn on the index on that folder and redo your search and compare the results.

    LVL 21

    Expert Comment

    To add:

    It seems that the directory needs to be in the Library for you to take advantage of indexing.
    I did a search via the UNC for a variable in a file "Scripting.Filesystem"  and it took some time.
    I added a new Library and included the UNC.  Did the same search and return results within 10 seconds.

    Try it.
    LVL 1

    Author Comment


    That is what I just discovered myself, and am experimenting with remote deploying the share location as a library. Do you have a script/cmdline method of doing this other than using shlib.exe ?
    LVL 21

    Expert Comment

    I did not push out custom libraries in my enviroment.
    For my test I created one.

    I do not have any script that would help push this out for you.
    That probably another question.
    LVL 21

    Accepted Solution

    Here is a Technet How To from MS explaining and giving examples on how to deploy custom libraries
    LVL 1

    Author Closing Comment

    thx yo_bee! :)
    LVL 21

    Expert Comment

    Glad I was able to help.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Suggested Solutions

    Synchronize a new Active Directory domain with an existing Office 365 tenant
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
    The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now