I have a batch file that when run manually works perfectly but when pushed using Altiris does not run the last line with start .
Batch file:
msiexec.exe /i "%~dp0rightfax\setup\RightFax Print Processor x64.msi" /qn RUNFROMSETUP=2 ALLUSERS=TRUE INSTALLDIR="C:\Program Files (x86)\RightFax\"
"%~dp0prereqs\VS2012_vcredist_x86.exe" /s /norestart
msiexec.exe /i "%~dp0RightFax Product Suite - Client.msi" /qn REBOOT=reallySuppress RUNBYRIGHTFAXSETUP=2 NETID=1 CONFIGUREFAXUTIL=1 CONFIGUREFAXCTRL=1 ADDLOCAL="FaxUtil,FaxCtrl" INSTALLDIR="c:\Program Files (x86)\RightFax\" RFSERVERNAME=DALFAX /log "%temp%\rfinstall.log"
c:\windows\system32\taskkill.exe /f /im faxctrl.exe
start /B "RightFax""C:\Program Files (x86)\RightFax\Client\FAXCTRL.exe"
Our issue is that faxcrtl.exe loads using the workstation name and not the username, and we found that if we unloaded and loaded it again it works correctly. The {start /B "RightFax""C:\Program Files (x86)\RightFax\Client\FAXCTRL.exe"} line works if we run this batch file manually but Altiris does not seem to know what to do with this command. Does anyone have a suggestion on how to make this work in Altiris.