6 Replies Latest reply on Aug 14, 2015 7:16 AM by reneeatfdny

    Batch file not executing on win7 64-bit PC

    Rookie

      I have a very simple batch file called closemap.bat that closes an application:

       

      @echo on

      taskkill /im altarisv.exe

       

      When I push this out via batch package (LF v9.5), the batch file is cached locally but it does not execute and the task fails.  I am using the LocalSystem account to distribute the package.  And I have confirmed that our Mcafee settings do not block batch file execution.

       

      Can someone think of anything else that may be interfering?  Here is the LD log.  It's such a simple task and I can't think of why it is failing.

       

      Downloading file \\11mt04fdwin08ld\ldlogon\LDPackages\EMSCAD\closemap.bat (eiNkBOuIACB3j5x+jXiXzg==, 4)

      Thu, 13 Aug 2015 13:35:52 processing of package is complete, result 229392397 (0x0dac400d - code 16397)

       

       

      Thu, 13 Aug 2015 13:35:52 File (\\11mt04fdwin08ld\ldlogon\LDPackages\EMSCAD\closemap.bat) is cached locally

      Thu, 13 Aug 2015 13:35:52 Batch file Client Thread

      Thu, 13 Aug 2015 13:35:52 PackagePath: [\\11mt04fdwin08ld\ldlogon\LDPackages\EMSCAD\closemap.bat]

      Thu, 13 Aug 2015 13:35:55

      Thu, 13 Aug 2015 13:35:55 Bat file output : C:\Program Files (x86)\LANDesk\LDClient\sdmcache\ldlogon\LDPackages\EMSCAD>call "closemap.bat"  C:\Program Files (x86)\LANDesk\LDClient\sdmcache\ldlogon\LDPackages\EMSCAD>taskkill /im altarisv.exe C:\Program Files (x86)\LANDesk\LDClient\sdmcache\ldlogon\LDPackages\EMSCAD>"C:\Program Files (x86)\LANDesk\LDClient\sdistbat.exe" /setbatchstatus=1

      Thu, 13 Aug 2015 13:35:55 Installation result 8DB50001

      Thu, 13 Aug 2015 13:35:55 PostInstallInventoryScan: Getting post package install inventory delay setting.

      Thu, 13 Aug 2015 13:35:55 PostInstallInventoryScan: Not running post package install inventory scan, the inventory scan delay value is out of range, min is 5, max is 60, current value is '-1'

      Thu, 13 Aug 2015 13:35:55 The nostatus flag has NOT been set.

      Thu, 13 Aug 2015 13:35:55 PostInstallInventoryScan: Getting post package install inventory delay setting.

      Thu, 13 Aug 2015 13:35:55 PostInstallInventoryScan: Not running post package install inventory scan, the inventory scan delay value is out of range, min is 5, max is 60, current value is '-1'

      Thu, 13 Aug 2015 13:35:55 Sending task status, cmd line -coreandip=11MT04FDWIN08LD:10.236.83.171 -taskid=3051 -retcode=-1917517823 -complete -pkgid=235

      Thu, 13 Aug 2015 13:35:56 processing of package is complete, result -1917517823 (0x8db50001 - code 1)