Link to home
Start Free TrialLog in
Avatar of mahmoud_2008
mahmoud_2008Flag for Jordan

asked on

Copy files through group policy

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.
Avatar of JBlond
JBlond
Flag of Germany image

Do you used a computer start script or a user logon script?
Do you want to overwrite files in the system32 folder?
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?
SOLUTION
Avatar of halejr1
halejr1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mahmoud_2008

ASKER

Thanks for all you experts