SharePoint Customization: Search SharePoint with MSN Desktop Search

Common Question:
Is it possible to search our intranet (SPS) using MSN Desktop Search?

Answer:

This tidbit from Mark Harrison:
Ive just come across a Registry hack to add a button to the UI (need to logoff/on).

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\DesktopSearch]
“PrimaryIntranetSearchScopeUrl”=”Intranet,http://msweb/search.aspx?k=$w”

Save the text in a file with a .REG suffix and then invoke it. Note replace the name in green with your SharePoint machine name.

See also:

Searching SPS using MSN Desktop Search by Mark Bower

MSN Desktop Search supports some basic extensibility using an aliasing syntax to create web shortcuts. You can use these shortcuts to enable you to search your intranet from the MSN DeskBand.

Let’s say your SPS site exists at http://my-portal/. SharePoint Portal Server allows you to initiate a search via an HTTP GET request. The syntax for this is defined in the SharePoint Products and Technologies SDK. If I wanted to search for the term Office on the portal the search URL would be: http://my-portal/search.aspx?k=Office. To perform this search from the DeskBand you need to create a shortcut to the portal search. Type the following command into the deskband and press Enter:

@sps,http://my-portal/search.aspx?k=$w

Hey Presto, you have some basic integration with SharePoint search! Now you can just type:
sps Office in the Deskbar to kick off SPS search for the word Office.

The SPS search syntax also enables you to further narrow down the search scope, specifying just people, just documents etc., so you could create other more specialist shortcuts. For instance for a people search you can use this shortcut:
@person,http://my-portal/search.aspx?k=$w&w=”DAV:contentclass”=’urn:content-class:SPSPeople’

And do a search from the DeskBand like this:
person Mark Bower

The full SPS HTTP-GET syntax is defined here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/SearchGET.asp

This entry was posted in SharePoint. Bookmark the permalink.

One Response to SharePoint Customization: Search SharePoint with MSN Desktop Search

  1. Sona says:

    I need to site to save my search results.Say i type the letter ‘S’ in the Search box it should show me all my past searches starting letter “s”(just like in google tool bar)

    How can this be achieved.

    Any help in this regard will be highly appreciated.

    Thanks

    Sona