Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Windows Desktop Search 2.x is an obsolete technology that was originally available as an add-in for Windows XP and Windows Server 2003. On later releases, use Windows Search instead.
Installing protocol handlers involves copying the DLL(s) to an appropriate location in the Program Files directory and registering them.
This section contains the following topics:
Protocol handlers should implement self-registration for installation and should follow these guidelines:
You need to make fourteen entries in the registry to register the protocol handler component, where:
Register the version independent ProgID with the following keys and values:
HKEY_CLASSES_ROOT\<Ver_Ind_ProgID>
(Default) = <Protocol Handler Class Description>
HKEY_CLASSES_ROOT\<Ver_Ind_ProgID>/CLSID
(Default) = {CLSID_1}
HKEY_CLASSES_ROOT\<Ver_Ind_ProgID>/CurVer
(Default) = <Ver_Dep_ProgID>
Register the version dependent ProgID with the following keys and values:
HKEY_CLASSES_ROOT\<Ver_Dep_ProgID>
(Default) = <Protocol Handler Class Description>
HKEY_CLASSES_ROOT\<Ver_Dep_ProgID>/CLSID
(Default) = {CLSID_1}
Register the protocol handler's CLSID with the following keys and values:
HKEY_CLASSES_ROOT\{CLSID_1}
(Default) = <Protocol Handler Class Description>
HKEY_CLASSES_ROOT\{CLSID_1}/InprocServer32
(Default) = <DLL Install Path>
Threading Model = Both
HKEY_CLASSES_ROOT\{CLSID_1}/ProgID
(Default) = <Ver_Dep_ProgID>
HKEY_CLASSES_ROOT\{CLSID_1}/ShellFolder
Attributes = dword:a0180000
HKEY_CLASSES_ROOT\{CLSID_1}/TypeLib
(Default) = {LIBID of PH Component}
HKEY_CLASSES_ROOT\{CLSID_1}/VersionIndependentProgID
(Default) = <Ver_Ind_ProgID>"
Register the protocol handler with Windows Desktop Search:
HKEY_LOCAL_MACHINE\Software\Microsoft\RSSearch\ProtocolHandlers
Protocol Name = <Ver_Dep_ProgID>
HKEY_CURRENT_USER\Software\Microsoft\RSSearch\ProtocolHandlers
Protocol Name = <Ver_Dep_ProgID>
HKEY_CURRENT_USER\Software\Microsoft\Windows Desktop Search\DS\Index\ProtocolHandlers\<Protocol Name>
HasRequirements = dword:00000000
HasStartPage = dword:00000000
You need to make two entries in the registry to register the protocol handler's Shell extension.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{CLSID of PH Implementation}
(Default) = <Shell Implementation Description>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Extensions\Approved
{CLSID of PH Implementation} = <Shell Implementation Description>
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today