Issue with Infopath forms in SharePoint 2013

Published by Shubham Bansal on

Recently we started facing an issue with opening Infopath forms in SharePoint 2013. When you click on customized form in any list, it opens infopath and gives below error:

This error is because of the office updates which is modifying some registry keys which are required for MS Infopath to open.
As a workaround, you can run below command on the machine where you are trying to open Infopath form. These commands will modify the registry values as they should be.

Open powershell and run below commands with elevated privileges

New-PSDrive -PSProvider registry -Root HKEY_CLASSES_ROOT -Name HKCR
$Value = 'C:\PROGRA~1\MIF5BA~1\Office15\PROTOC~1.EXE "%1"'
Set-ItemProperty "HKCR:\ms-infopath\shell\open\command" -Name "(Default)" -value $Value

 9,278 total views,  2 views today

Care to Share?

0 Comments

Leave a Reply