• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

File copy from DC to Client in system context

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.

  • 2
2 Solutions
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.
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"


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

jpasintAuthor Commented:
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.

jpasintAuthor Commented:
Thank you folks.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now