Re: Pushing a file

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



Hi Stevie,

To copy a file to your computers using SMS you will need to write some sort
of script to accomplish this. The script can be written in just about
anything, a few of the more comon methods are: VBScript, SMS Installer, DOS
Batch file.

The script would then need to have the functionality that you desire like
overwriting an existing file. Then to send this out via SMS you would put
the script and the file to distribute in a directory and set that directory
as the Source directory in the SMS package (note the script can be in the
source directory and the file to update on a Share). Then in the SMS
Program you would specify the script on the command line. Then you would
Advertise that program to the Collection of Users/Machines that you want to
recieve the updated file. This will send out an update for that file.

For subsequent updates to the file you would need to update the file in the
source directory and then Update the Source on your DP's. This can be an
automated process too using the SMS SDK to update the DP's with a new
version of the content.

Here is a good place to get started, it has links to online help and a
download of the SDK.
http://www.microsoft.com/technet/scriptcenter/hubs/sms.mspx

When you put it all together you will have a Package/Program that knows how
to copy the file to the computer. An advertisement that is likely scheduled
to run once a day. And a script that gets run to update the source files
and trigger the DP's to get a new copy of the source files. Note this
second script could be run as an SMS Package targeted to your Site Server.

--
Thanks

Scott Brimley [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.

Additional Resources:
SMS 2.0 Resource Page:
http://www.microsoft.com/technet/prodtechnol/sms/sms2/default.mspx
SMS 2003 Resource Page:
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/default.mspx
SMS 2003 Technical FAQ:
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/techfaq/default.mspx
SMS 2003 Flow Charts:
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/maintain/flowcharts/default.mspx#EEAA
Scripts: http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx
"Stevie" <Stevie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4FA024DB-730D-40E1-9236-2652546D53E6@xxxxxxxxxxxxxxxx
> Can anyone tell me how to push a file. (ini or dll) this file in some
> cases
> needs to be able to overwrite existing. we have a couple specialized
> applications that need files updated on every client machine. I have a
> script that will copy a file but not clear on how to make this work.


.



Relevant Pages

  • Re: Problems with Computers discovered
    ... MVP Windows Server System - SMS ... I saw something very weird today with my SMS, I have almost 2500 computers ... the client of sms i'm using a script, but, i only assigned this script to a ... advanced client. ...
    (microsoft.public.sms.admin)
  • Re: Pushing a file
    ... I created the script. ... When the client gets my package this is the error I get. ... > To copy a file to your computers using SMS you will need to write some sort ... > source directory and the file to update on a Share). ...
    (microsoft.public.sms.swdist)
  • Re: Making sure Office apps are closed
    ... you need to make sure that for dependent programs SMS doesn't ... package that had two programs in it. ... Popup-n-kill-Office script and the second one would be the actual Office ... and the actual Office 2003 install script to run whether logged on or not. ...
    (microsoft.public.sms.swdist)
  • Re: Distributing Software "Quickly" to Bare Metal Installs
    ... >> Nope, never seen any script like it, I just tought it would be a feasible ... >> ' Script By Kim Oppalfens - MVP SMS ... >> Dim objSWbemServices ... Set objCollection = objSWbemServices.ExecQuery _ ...
    (microsoft.public.sms.swdist)
  • Re: OSD: get mac address of network cards
    ... Windows Server System MVP - SMS ... think) the ZTIGather script. ... 2004/2005 build that includes WMI support. ... > I have a problem automating the installation process with OSD. ...
    (microsoft.public.sms.tools)