Solved

Copy files through group policy

Posted on 2009-03-31
5
1,108 Views
Last Modified: 2012-08-14
Dear All,
I am trying to copy 5 small files from the domain controller to 200 windows xp users through a group policy, I did the following:
Write a batch file as follows:
copy \\DC(IP)\netlogon\Filename1   c:\windows\system32
copy \\DC(IP)\netlogon\Filename2   c:\windows\system32
copy \\DC(IP)\netlogon\Filename3   c:\windows\system32
Apply a group policy when the user logon to his machine. Unfortuately it didn't apply.
But I I change the folder from c:\windows\system32  to  c:\folder1  the files are copied successfully, please advice.
0
Comment
Question by:mahmoud_2008
5 Comments
 
LVL 21

Expert Comment

by:JBlond
ID: 24036965
Do you used a computer start script or a user logon script?
Do you want to overwrite files in the system32 folder?
0
 
LVL 19

Expert Comment

by:PeteJThomas
ID: 24036970
If you add a pause to the end of the script, and just run it manually on your laptop, what does it say when it tries to copy the files to the C:\windows\system32 folder? I imagine it's erroring? What is the error?
0
 
LVL 8

Assisted Solution

by:halejr1
halejr1 earned 150 total points
ID: 24036981
I think you are experiencing windows file protection for the system32 folder.  have you checked your event viewer on any of the machines being copied to?

There is a way to disable file protection, however it may be more complicated than it's worth.  Why and what types of files are you copying to system32?
0
 
LVL 14

Accepted Solution

by:
igor-1965 earned 350 total points
ID: 24036992
Your script runs upon the user login and the copy process runs under their accounts. Apparently they are Users and have no access rights to the system folders. Either have them to be Power Users or arrange copy by other means (Window startup scheduled task for example).
Hope it helps.
0
 
LVL 1

Author Closing Comment

by:mahmoud_2008
ID: 31565199
Thanks for all you experts
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
search on network drive not working 4 66
ESEUTIL Stopped Working Need a new copy for 2003 Exchange. 11 57
DHCP lease duration / Migration 8 72
MS Endpoint Protection 2 43
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

789 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