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

Posted on 2007-08-03
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
    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

    Hi rjkc17

    Theres many ways to do this, .bat, .cmd, .vbs etc.. Normally I use something like innosetup -, or AutoIT -

    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

    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

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now