File copy from DC to Client in system context

Posted on 2004-11-22
Last Modified: 2008-03-10
I need to know the best way to copy files to a client PC at logon time. I want to do this under the system context, (for admin like privileges) so there will not be any access to network shares to copy the files from so they must reside local on the domain controller. I can use a product called Policy Maker but the files must be entered into a policy one at time. So I would rather just execute a batch file (again, as the user system). Where does one store the files on the DC so they can be copied to the client without the need to access a network resource?

Thanks in advance.

Question by:jpasint
    LVL 4

    Assisted Solution

    you could make a hidden share (use a dollar sign after the share name.  This makes the share hidden) on the DC & make sure everybody doesn't have access to it.  put the files there.
    In your batch file do your copy \\server\share$  to where ever you want on the machine.  Then save your batch file to c:\winnt\sysvol\FQDN\scripts

    Now in each user's properties, add that script to login script box under the profile tab.
    LVL 5

    Accepted Solution

    Any copy across the network from Client to Server will involve using a network share, unless you do it using FTP/HTTP or TFTP.

    You can then create a login script (batch file) and use a new Group Policy to install the script to whichever Users or Computers you wish. Simply create a new Active Directory user group and add each user to it that you want to use the script.

    Then in Active Directory Users and Computers, <domain-name> Properties>Group Policy tab, choose the new policy with the script in and set its security permissions so the new A.D. group has "Apply Group Policy permissions and Everyone is set to Deny for that security right.

    Take a look at this article "Solution Title: Group Policy Logon script"

    See "How to Run a Domain Logon Script in the Foreground with the Start.exe Command-Line Tool";en-us;265016

    To do this locally only, see "How To Assign a Logon Script to a Profile for a Local User in Windows 2000";en-us;258286

    Author Comment

    Sorry folks but I am out of the office for a few more days. Did not intend to start a post here and then leave but that is the way in went down. I will look into each response as soon as I get back.

    Thank you.


    Author Comment

    Thank you folks.


    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

    Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
    I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    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

    16 Experts available now in Live!

    Get 1:1 Help Now