3 Replies Latest reply on Aug 22, 2012 3:07 AM by Arvid

    Unable to run batch files using current user's account in LDMS 9 SP2

    csteveson Rookie

      Ever since upgrading to LDMS 9 SP2 any batch file that is using the "current user's account setting" in the distribution package setup is failing with a return code of  16386. The batch file does run and complete the task but it is reporting as failed which causes problems with policy based distrubutions. I have added that code to the return code template but it still is reporting as failed. This did not happen with SP1... What changed?

        • 1. Re: Unable to run batch files using current user's account in LDMS 9 SP2
          Specialist

          We're having the exact same problem! All batch files are giving us these results:

           

          SDIST.BAT

          Wed, 23 Mar 2011 14:45:15 Setting status for batch file to -1918091262 using event SetBatchFileStatusEvent
          Wed, 23 Mar 2011 14:45:15 Error, failed to open the batch file status event 2 (0x00000002)
          Wed, 23 Mar 2011 14:45:15 Started command prompt for processing batch file (process id 1012)
          Wed, 23 Mar 2011 14:45:56 Setting status for batch file to 0 using event SetBatchFileStatusEvent
          Wed, 23 Mar 2011 14:45:56 Batch file process has exited.
          Wed, 23 Mar 2011 14:45:56 Waiting for the batch file event returned 0
          Wed, 23 Mar 2011 14:45:56 Batch file status of -1918091262 obtained from shared memory

           

          sdclient_task11111

          Wed, 23 Mar 2011 14:40:36 File (\\domain.nl\dfsroot01\lad\APPS-ADOBE-ACROBAT-READER-V9-R01\uitrol.bat) is not in cache
          Wed, 23 Mar 2011 14:40:36 processing of package is complete, result 229392397 (0x0dac400d - code 16397)

          Wed, 23 Mar 2011 14:40:36 File (\\domain.nl\dfsroot01\lad\APPS-ADOBE-ACROBAT-READER-V9-R01\uitrol.bat) is not in cache
          Wed, 23 Mar 2011 14:40:36 Batch file Client Thread
          Wed, 23 Mar 2011 14:40:36 PackagePath:     [\\domain.nl\dfsroot01\lad\APPS-ADOBE-ACROBAT-READER-V9-R01\uitrol.bat]
          Wed, 23 Mar 2011 14:40:36 Adding '\\domain.nl\dfsroot01\lad\APPS-ADOBE-ACROBAT-READER-V9-R01' to the path
          Wed, 23 Mar 2011 14:41:24
          Wed, 23 Mar 2011 14:41:26 Installation result 8DAC4002
          Wed, 23 Mar 2011 14:41:26 processing of package is complete, result -1918091262 (0x8dac4002 - code 16386)

           

          The packages succeeds when setting the package to "Local System".

           

          Can anyone tell me if this is resolved?

          • 2. Re: Unable to run batch files using current user's account in LDMS 9 SP2
            Rookie

            We have the same problem with batch scripts when run with current user account. Could someone please update a fix here?

            • 3. Re: Unable to run batch files using current user's account in LDMS 9 SP2
              Rookie

              If no user is logged in, and you try installing with current user account, you will get error 16386.