Compartir a través de


IRM Client Registry keys

I had very interesting case where the customer was unable to open his protected IRM documents and we are getting the following error in the ULS logs.

SharePoint Foundation Information Rights Management 5042 Critical Information Rights Management (IRM): There is a protector for file type docx, but the protector failed to initialize.

Information Rights Management (IRM): The IRM status of the document [RMS Test 1/RMS Test 1.docx] is: cantencrypt (4), the return values is: 0x80004005.

After some investigations I found that there are missing registry keys for the IRM client installed on the SharePoint Servers which caused this issue.

 

Thanks to this Russian Article I was able to restore all the missing registry keys. Please keep a copy for them It may save your IRM one day .

 

  • HKEY_CLASSES_ROOT\CLSID\{0D231213-1E3B-4940-82C6-2BC8B93EE8E3}] @="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\BIN\\Microsoft.Office.Irm.OfcProtector.dll" @="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\BIN\\Microsoft.Office.Irm.OfcProtector.dll" @="OfcIrmProtector.Protector.15"[HKEY_CLASSES_ROOT\CLSID\{0D231213-1E3B-4940-82C6-2BC8B93EE8E3}\TypeLib] @="OfcIrmProtector.Protector"[HKEY_CLASSES_ROOT\CLSID\{78E40D5F-0C51-45B6-AC87-72119EC6669A}] @="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\BIN\\Microsoft.Office.Irm.MsoProtector.dll" @="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\BIN\\Microsoft.Office.Irm.MsoProtector.dll" @="MsoIrmProtector.Protector.15"[HKEY_CLASSES_ROOT\CLSID\{78E40D5F-0C51-45B6-AC87-72119EC6669A}\TypeLib] @="MsoIrmProtector.Protector"  @="PdfIrmProtector Class"[HKEY_CLASSES_ROOT\CLSID\{FC93F6CC-D367-4FC9-B3F6-E0933A24A8C8}\InprocServer]"ThreadingModel"="Both"[HKEY_CLASSES_ROOT\CLSID\{FC93F6CC-D367-4FC9-B3F6-E0933A24A8C8}\InprocServer32]"ThreadingModel"="Both"[HKEY_CLASSES_ROOT\CLSID\{FC93F6CC-D367-4FC9-B3F6-E0933A24A8C8}\ProgID]  @="{54F5266E-EF9C-43A2-B273-CB3BA70EAD5A}"[HKEY_CLASSES_ROOT\CLSID\{FC93F6CC-D367-4FC9-B3F6-E0933A24A8C8}\VersionIndependentProgID] @="FormIrmProtector Class"[HKEY_CLASSES_ROOT\CLSID\{338BA1B8-ABB2-480A-AACA-DB0A456D74D2}\InprocServer]"ThreadingModel"="Both"[HKEY_CLASSES_ROOT\CLSID\{338BA1B8-ABB2-480A-AACA-DB0A456D74D2}\InprocServer32]"ThreadingModel"="Both"[HKEY_CLASSES_ROOT\CLSID\{338BA1B8-ABB2-480A-AACA-DB0A456D74D2}\ProgID]  @="{FDD24AD4-DADE-44EE-95C9-AA1E49B3A8D1}"[HKEY_CLASSES_ROOT\CLSID\{338BA1B8-ABB2-480A-AACA-DB0A456D74D2}\VersionIndependentProgID] "{338BA1B8-ABB2-480A-AACA-DB0A456D74D2}"="Microsoft.Office.Irm.FormIrmProtector""{78E40D5F-0C51-45B6-AC87-72119EC6669A}"="Microsoft.Office.Irm.MsoIrmProtector" "Extensions"="XML""Version"="15"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\IrmProtectors\MsoIrmProtector]"Product"="MsoIrmProtector" "Extensions"="xps,docx,docm,dotx,dotm,xlsx,xlsm,xlsb,xltx,xltm,xlam,pptx,pptm,potx,potm,thmx,ppsx,ppsm""Version"="15"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\IrmProtectors\PdfIrmProtector]"Product"="PdfIrmProtector"

  • "Version"="15"

  • "Extensions"="PDF"

  • "Product"="OfcIrmProtector"

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\IrmProtectors\OfcIrmProtector]

  • "Version"="15"

  • "Extensions"="doc,dot,xls,xlt,xla,ppt,pot,pps"

  • "Product"="FormIrmProtector"

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\IrmProtectors\FormIrmProtector]

  • "{FC93F6CC-D367-4FC9-B3F6-E0933A24A8C8}"="Microsoft.Office.Irm.PdfIrmProtector"

  • "{0D231213-1E3B-4940-82C6-2BC8B93EE8E3}"="Microsoft.Office.Irm.OfcIrmProtector"

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\IrmProtectors]

  • @="FormIrmProtector.Protector"

  • [HKEY_CLASSES_ROOT\CLSID\{338BA1B8-ABB2-480A-AACA-DB0A456D74D2}\TypeLib]

  • [HKEY_CLASSES_ROOT\CLSID\{338BA1B8-ABB2-480A-AACA-DB0A456D74D2}\Programmable]

  • @="FormIrmProtector.Protector.15"

  • @="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\BIN\\Microsoft.Office.Irm.FormProtector.dll"

  • @="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\BIN\\Microsoft.Office.Irm.FormProtector.dll"

  • [HKEY_CLASSES_ROOT\CLSID\{338BA1B8-ABB2-480A-AACA-DB0A456D74D2}]

  • @="PdfIrmProtector.Protector"

  • [HKEY_CLASSES_ROOT\CLSID\{FC93F6CC-D367-4FC9-B3F6-E0933A24A8C8}\TypeLib]

  • [HKEY_CLASSES_ROOT\CLSID\{FC93F6CC-D367-4FC9-B3F6-E0933A24A8C8}\Programmable]

  • @="PdfIrmProtector.Protector.15"

  • @="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\BIN\\Microsoft.Office.Irm.PdfProtector.dll"

  • @="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\BIN\\Microsoft.Office.Irm.PdfProtector.dll"

  • [HKEY_CLASSES_ROOT\CLSID\{FC93F6CC-D367-4FC9-B3F6-E0933A24A8C8}]

  • [HKEY_CLASSES_ROOT\CLSID\{78E40D5F-0C51-45B6-AC87-72119EC6669A}\VersionIndependentProgID]

  • @="{78E40D5F-0C51-45B6-AC87-72119EC6669A}"

  • [HKEY_CLASSES_ROOT\CLSID\{78E40D5F-0C51-45B6-AC87-72119EC6669A}\ProgID]

  • "ThreadingModel"="Both"

  • [HKEY_CLASSES_ROOT\CLSID\{78E40D5F-0C51-45B6-AC87-72119EC6669A}\InprocServer32]

  • "ThreadingModel"="Both"

  • [HKEY_CLASSES_ROOT\CLSID\{78E40D5F-0C51-45B6-AC87-72119EC6669A}\InprocServer]

  • @="MsoIrmProtector Class"

  • [HKEY_CLASSES_ROOT\CLSID\{0D231213-1E3B-4940-82C6-2BC8B93EE8E3}\VersionIndependentProgID]

  • @="{8794889A-B3A4-4246-8E86-E10CB8EA4DC1}"

  • [HKEY_CLASSES_ROOT\CLSID\{0D231213-1E3B-4940-82C6-2BC8B93EE8E3}\ProgID]

  • "ThreadingModel"="Both"

  • [HKEY_CLASSES_ROOT\CLSID\{0D231213-1E3B-4940-82C6-2BC8B93EE8E3}\InprocServer32]

  • "ThreadingModel"="Both"

  • [HKEY_CLASSES_ROOT\CLSID\{0D231213-1E3B-4940-82C6-2BC8B93EE8E3}\InprocServer]

  • @="OfcIrmProtector Class"