mahmoud_2008
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\Filename 1 c:\windows\system32
copy \\DC(IP)\netlogon\Filename 2 c:\windows\system32
copy \\DC(IP)\netlogon\Filename 3 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.
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\Filename
copy \\DC(IP)\netlogon\Filename
copy \\DC(IP)\netlogon\Filename
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for all you experts
Do you want to overwrite files in the system32 folder?