Indexing XPS documents with MOSS 2007

With the XML Paper Specification (XPS) document format gaining popularity, many are wondering how to integrate MOSS 2007 to index and search XPS documents. Here's a quick recipe to configure your index server to crawl and catalog tokens in XPS documents:

     1.       Install the XPS Essentials pack from :


2.       Add the filter-extension to the File types crawled:

Start -> Program -> Microsoft Office Server -> SharePoint 3.0 Central Administration  -> <Name of SharedService Provider> -> Search Settings -> File Types -> New File Type (Add extension  xps here)


3.       Verify that the xps entry  is added to the  extensions list under:


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office    Server\12.0 \Search\Applications\<Site>\Gather\Portal_Content\Extensions\ExtensionList


4.       Add the following registry key:

 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\Filters\ .xps]
        Default = (value not set)
        Extension = xps
        FileTypeBucket REG_DWORD = 0x00000001 (1)
        MimeTypes = application/xps     

5.       Identify the xps filter to MOSS by adding the following registry key:


             Set the "Default" value to the CLSID of XPS IFilter.

             Default REG _SZ = {1E4CEC13-76BD-4ce2-8372-711CB6F10FD1}         

6.      Finally, recycle the Search Service by executing the following command from the command window:

   D:\> net stop osearch

   D:\> net start osearch


7.   Add the xps documents in the content source and initiate the crawl.


Notes: 1. Tested on Win2K3 and MOSS 2007

           2. More Info on XPS:

           3. Document with screenshot of configuration procedure attached. 

Indexing XPS documents with MOSS 2007.xps

Comments (15)
  1. Romeo Pruno says:

    Directly VIA Ifilter team blog on MSDN 😉

  2. Hi all, Today I´ll write about IFilter´s and it´s importance in SharePoint Search Architecture context.

  3. MikeH says:

    Is it possible to add XPS search capabilities in WSS 3.0?

    I already tried adding the mentioned registry keys under HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsWeb Server Extensions

    and rebootet, but without luck.

    Maybe you can help?

    If it is not possible on W2K03 will it be possible on W2K08?

  4. Deb Haldar says:

    Mike, the problem of manually adding new file types to WSS in on our radar. We’re looking into it right now.

  5. Maintenant que le search fonctionne bien, il faut savoir s’outiller pour bien l’exploiter, n’est il pas

  6. Victor Shamanovsky says:

    Deb, any updates on WSS issue?


  7. Deb Haldar says:

    Victor, the issue with WSS filter registration is on our radar and we’re actively looking into it. I’ll post an update once we have some developments.


  8. MikeH says:

    3 months now on radar, seems to me XPS has lots of trouble or microsoft is not serious with support of their own formats.

    I always thought XPS is the PDF killer, but there is not much movement anymore. There is a lack of native XPS printers, there is the missing support for XPS on windows mobile, by default XPS documents are opened in the browser instead in a fast standalone viewer, then the problem with the sharepoint integration…

  9. Troy says:

    On Windows 2008 with Search Server 2008 x64, the following works:



                Set the "Default" value to the CLSID of XPS IFilter.

                Default REG _SZ = {0B8732A6-AF74-498C-A251-9DC86B0538B0}

  10. Moss Team says:

    Does this search the content in the XPS file. if yes , could you tell us the steps.

  11. Aunque cada vez es más difícil ponerse al día, sobre todo por la falta de tiempo, de vez en cuando consigo

  12. Ahmed Shawky says:

    very useful article but i have a problem when indexing an arabic xps file the english works just fine but the arabic docs is indexed backward all the words are spelled in reverse anyone know a solution for that

  13. Allison says:

    This should be updated to include the correct GUID to use on Server 2008……

    Add a new .xps key at HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice

    Server12.0SearchSetupContentIndexCommonFiltersExtension with the default value set to {0B8732A6-AF74-498C-A251-9DC86B0538B0}

  14. Stef says:

    I added to 2008 value as mentioned by Troy and Allison, but still no luck. We use Sharepoint 2010! Did anyone have any luck with SharePoint2010 and XPS Indexing?

Comments are closed.

Skip to main content