I created a simple 4 line batch file to copy 4 files from a file server to a location on the C: drive of each user in my network. I placed the batch file into the profile tab of each users properties window within ADUC.
The batch file is running properly at startup however only one of the 4 files is copied when it is run. The rest of the copy commands receive a Access Denied message. I checked the permissions of the folder where I am pulling the 4 files and everyone is set to read access so they should be able to access this folder.
If I attempt to run the batch file manually while the user is logged in under their account it only copies one file, however if I log in as myself with domain admin priveledge all 4 files copy. Attached is the code I am using in the batch. Please note, pause command was added simply for troubleshooting purposes. I understand that this may not be the best way to migrate files to multiple users, however it was the only way I knew of. If there is another way (through a group policy or whatnot) to do this, I am open to suggestions. Any help would be appreciated. Thank you.
copy "\\stmedstore\store\user\information technology\it\ics icons\prod\client.pf" "C:\WorkQ91c\Prod" /y
copy "\\stmedstore\store\user\information technology\it\ics icons\train\client.pf" "C:\WorkQ91c\train" /y
copy "\\stmedstore\store\user\information technology\it\ics icons\newtest\client.pf" "C:\WorkQ91c\newtest" /y
copy "\\stmedstore\store\user\information technology\it\ics icons\oldtest\client.pf" "C:\WorkQ91c\oldtest" /y