J
jgfa9
Hi,
I've already saw messages related to this problem but none solved mine
:
I have a batch file which source code is :
xcopy /Y /S C:\source.txt \\my_server\dest.txt
If I run this script manually (double-click), it works : the file is
copied.
If I try to make it run with the Windows Scheduled Task, it fails the
both ways I tried :
- if I specifY "System" in the "run as" field in the task property
window ("NT AUTHORITY\SYSTEM" is then written automatically), the task
seems to run but the "last result" indicates "0x4" and the file is not
copied.
- if I specify "Administrator" ("INTRANET\ADMINISTRATOR" put
automatically) (Administrator has full rights, I am logged as
Administrator on the local machine AND on the remote one), I have the
"could not start" status and obviously the file is not copied.
What am I missing ? Can somebody help me ?
Thanks in advance.
I've already saw messages related to this problem but none solved mine
:
I have a batch file which source code is :
xcopy /Y /S C:\source.txt \\my_server\dest.txt
If I run this script manually (double-click), it works : the file is
copied.
If I try to make it run with the Windows Scheduled Task, it fails the
both ways I tried :
- if I specifY "System" in the "run as" field in the task property
window ("NT AUTHORITY\SYSTEM" is then written automatically), the task
seems to run but the "last result" indicates "0x4" and the file is not
copied.
- if I specify "Administrator" ("INTRANET\ADMINISTRATOR" put
automatically) (Administrator has full rights, I am logged as
Administrator on the local machine AND on the remote one), I have the
"could not start" status and obviously the file is not copied.
What am I missing ? Can somebody help me ?
Thanks in advance.