Re: Trying to run a vbscript using software distribution

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: LasvegasOps (LasvegasOps_at_discussions.microsoft.com)
Date: 09/09/04

  • Next message: Brian Nielsen: "OSD Problems with DP"
    Date: Thu, 9 Sep 2004 12:17:09 -0700
    
    

    Hi guys, I am having the same issue..

    Should the script be calling WSCRIPT or CSCRIPT in the package or
    not.. tried both ways and nothing gets rolled out as a VBS. When I do the
    script
    manually on the 20 test machines that were targeted for deployment it works,
    just does not work via SMS. We also have a LANDesk test environment and the
    package for this did work .. with any vbs..
    any ideas. Can I get the steps posted if you did 6000 machines It should work
    for 5000 or less.. what could I be missing ? I don't get any erros and log
    entries
    thanks so much..

    "Frank Buzin" wrote:

    > I upped the cache size via this same method on 6000 clients with no issue...
    > As long as .vbs is associated with WScript.exe or CScript.exe, which if you
    > double clicked it and it ran than it is, it should work. Have you
    > successfully deployed anything yet?
    >
    > "bkogami" <bkogami@discussions.microsoft.com> wrote in message
    > news:E45A2E95-DDDA-4A65-AE2C-92F6CDA103F1@microsoft.com...
    > > I've created a vbscript that will change the cache size of the client.
    > > I created a package/program and advertised it.
    > >
    > > When I check the advertisement status, I get this for all my test clients:
    > > Advertisement "A0120016" was received from site "A02". The client
    > passes
    > > any supported platform requirements and the SMS will add the advertisement
    > 's
    > > program to the list that will be displayed to users and/or run via
    > > assignment. If an advertisement is received but not displayed on a client,
    > > verify that the current time on the client is between the advertisement
    > start
    > > and expiration times, and that the program specified in the advertisement
    > is
    > > enabled.
    > >
    > > If I run the vbscript manually, by double clicking on it from IE, it runs
    > > fine.
    > > I've confirmed that the vbscript is copied to the DP but when I advertise
    > > the package and I select download to client, the script never arrives on
    > the
    > > clients cache directory.
    > >
    > > Is there some syntax I need to use along with the vbscript? I've called
    > the
    > > script cache_size.vbs and that's all I have in the Program command line.
    > >
    > > Thanks,
    > > Bruce
    >
    >
    >


  • Next message: Brian Nielsen: "OSD Problems with DP"

    Relevant Pages

    • RE: How does an SMS client know whether it should run a particular pck
      ... previously successfully run advertisement. ... If you expand the System key, you'll see a key folder for each package ... > If an SMS Client receives a new mandatory advertisement for a package it has ... For example, say an SMS Client ...
      (microsoft.public.sms.swdist)
    • RE: Failed software distribution
      ... Could put all you program and advertisement information here. ... I've created a package and program that should run a VB script to ... client would received the notification ...
      (microsoft.public.sms.admin)
    • The content for the package could not be located.
      ... the program will not run unless I set the advertisement’s Advanced Client ... properties to “download program from distribution point” (advertisement> ... Advertisement "BDD20008" was received from site "BDD". ... The content for the package "BDD00006" - "1" could not be located. ...
      (microsoft.public.sms.swdist)
    • RE: Package Cannot Be Located
      ... cas.log (Content Access Service log file) shows an advanced client accessing ... package content or advertised programs from a Distribution Point. ... and the machines are getting the advertisement. ...
      (microsoft.public.sms.misc)
    • Re: dip Notions 2 Major Errors
      ... Again though, if the interfaces are in their own package, you can alter ... client, add new client, alter implementation, add implementation (though you ... instantiation behaviour, which we must keep. ... not available it wont work. ...
      (comp.object)