I am attempting to deploy a script on a customer's computer. When I run the file directly on the customer's computer, it works fine. But when I deploy it through LMIR, it is stuck as cmd.exe in the customer's Task Manager, and does not show up anywhere. Here's the script:
@ECHO OFF
REG QUERY HKLM\SOFTWARE\Apteryx\ApplicationLocations /s
REG QUERY HKLM\SOFTWARE\Wow6432Node\Apteryx\ApplicationLocations /s
pause
exit