I would like to create a login script which copies file onto c:\Program Files folder and this is the script:
xcopy /s /r /y /q "\\servername\Test\*.*" "C:\Program Files\xxx\bbb_folder"
The script runs successfully if it is run locally as administrator but not from the login script. Can anyone help me with the good login script? Thank you.