Skip navigation
525 Views 5 Replies Latest reply: Apr 5, 2012 2:28 PM by EMiranda RSS
Rookie 5 posts since
Dec 2, 2011

Has received 1 of 9 achievements.
Currently Being Moderated

Apr 5, 2012 12:34 PM

Trouble distributing a reg change in a batch file

I'm not sure why I'm having so much trouble here.  The short of it is I have a registry change that is called up by a simple batch file.  I've verified it works when manually merged but as a scheduled package it is not executing the bat.  I've tried t0 push and multicast it, both result in errors.  Here is the result from an attempted multicast (sdclient log):

 

Thu, 05 Apr 2012 14:15:15 Failed to get the response for the request from NLWS0098 (3)
Thu, 05 Apr 2012 14:15:15 Web request to core server failed, result 1803, http status 0
Thu, 05 Apr 2012 14:15:16 Cannot get preferred server list from core
Thu, 05 Apr 2012 14:15:16 File (http://nlws0098/ldpackages/NSElite/NSTransferUpload/NSTransferUploadNO_test.bat) is cached locally
Thu, 05 Apr 2012 14:15:16 processing of package is complete, result -2147467259 (0x80004005 - code 16389)

 

The files are being created under C:\Program Files\LANDesk\LDClient\sdmcache\ldpackages\, so it makes it to the client but the batch will not run.  What am I doing wrong here?

 

Contents of batch:

@ECHO OFF
regedit /s "%Programfiles%\Landesk\ldclient\sdmcache\ldpackages\NSElite\NSTransferUpload\NSTransferUploadNO.reg"
exit /b 0

 

Thanks.

 

-=john

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 20 points
  • Helpful Answers - 10 points
LANDESK Community powered by Jive SBS® 4.5.7.1  |  Legal Notices  |  Privacy Policy  |  Icon 

TweeterOn Twitter  |  Icon FacebookOn Facebook © 2007 LANDESK Software