SMS 2003: Copy a File from a share to every desktop in the company.

Posted on 2007-08-03
Medium Priority
Last Modified: 2013-11-21
I want to use SMS 2003 to copy a file from a share to every pc in my corporation. I understand how ot create packages out of MSI's and those types, I have no idea even where to start in something like this. Can anyone help me?

I was thinking about just doing this with Group Policy, but I want to start doing all of these sorts of things in SMS.
Question by:rjkc17
LVL 23

Expert Comment

by:Erik Bjers
ID: 19626566
I don't know how to do this with SMS but what you need to do is but the file in c:\documents and settings\all users\desktop

if you don't have a lot of computers you can do this manulay, if you have lots of computers you can do this with a logon script applied via group policy
LVL 29

Accepted Solution

matrixnz earned 500 total points
ID: 19626590
Hi rjkc17

Theres many ways to do this, .bat, .cmd, .vbs etc.. Normally I use something like innosetup - http://www.jrsoftware.org, or AutoIT - http://www.autoitscript.com/autoit3.

If you're going to do this often, 100% recommend InnoSetup its free and is a remarkable tool, I use this tool for all my packaging including MSI, the reason why is, it gives you the ability to place conditions on your installers for e.g. for MSI I have two commands one for a repair the other to install, using the code section of the installer I can simply check to see if a program is installed or not which will then determine the line to run.  Every variable that you can think of is available with this tool for e.g. {src} = the folder that you run setup from, {pf} - Program Files, {sys} - System32 Directory. Their are also a number of Setup Switches available to run the executables silently /silent - progressbar, /verysilent - no progressbar, etc...  Anyway I could rave on about the software for hours.

Hope that helps.


Expert Comment

ID: 24925137
How do I script a file copy and then register the dll's...

Is it

copy *.* c:\windows\system32
regserv32 xxx.dll  ????  etc etc.

I have about 12 files that need copied to each machines in the windows system32 directory. and then i need to register 4 of the dll's.  

Not sure how to script this and then how to use sms to deploy it?

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question