If the executable signs correctly without parameters, but the process fails when using -pm or -pr, the most common cause is incorrect parameter configuration or syntax.
Please verify that the values provided for -pm and -pr are correct and that the parameters comply with the required syntax described in the documentation.
As described in the manual, when these parameters are used, the information they contain is visible only in the signature attributes, accessible through the advanced properties of the signed file.