1 Reply Latest reply on May 16, 2009 7:32 AM by zman

    LaunchPad Refresh

    Apprentice

      I have some confusion about LaunchPad refresh...

       

      1)  Shouldn't it invoke the same as does the Software Deployment Portal upon execution?  (maybe it does but policy.sync is not an instantaneous action)

       

      2)  Should we create the shortcut icon for: "C:\Program Files\LANDesk\Shared Files\httpclient.exe" http://localhost:9595/policy.cgi.exe?action=start

       

      OR C:\Program Files\LANDesk\LDClient\localsch.exe  /exe=policy.sync.exe" ??

       

      I wrote my own.  I dont like flasking DOS windows for the customers.

       

      On Error Resume Next

      Const wshOkOnly = 0

      Set objWshShell = WScript.CreateObject("WScript.Shell")   

      runStr = Chr(34) & "C:\Program Files\LANDesk\Shared Files\httpclient.exe" _   

      & Chr(34) & " http://localhost:9595/policy.cgi.exe?action=start"   

      objWshShell.run runStr, 0, False strMessage = "Please allow about 15 seconds for the window to refresh." & vbCrLf & vbCrlf & _

      "(or wait for this message box to self dismiss)"

      intReturn = objwshShell.Popup(strMessage, 10, "Launchpad Policy Refresh", wshOkOnly)

           runStr = Chr(34) & "C:\Program Files\LANDesk\LDClient\localsch.exe" _   

      & Chr(34) & " /exe=policy.sync.exe"   

      objWshShell.run runStr, 0, False 

      wscript.quit

        • 1. Re: LaunchPad Refresh
          zman Master

          Rich,

           

          The ability to have a baked in refresh has been brought up to LANDesk - it is an inherent weakness in  the product. I'm assuming the new 9.x version will not have this issue.

           

          So you will have to stick with your script if you have users that are not local admins.  %programfiles%\LANDesk\ldclient\policy.sync.exe will fail on users that are not local admins.