Hi KMariusz,
We try to reproduce your issue on ITMS 7.1 SP2. What version of ITMS is installed on your environment?(or define your Software Management Solution version)
We able to reproduce your issue only if we put in registry value %Sapini_copy% but in rule we use %sapini_copy%. Do you have both values in same case or you have some difference between registry and rule values.
all next nuances should be met:
1. Detection rule value is case sensitive
2. "Run As" MD policy advanced option setting should be set to "Current logged-on user" (if not Detection rule will try to find this value in another registry hive)
Regards,
Dmitri