Copying the files from one server to another server getting NTFS error

0

I am using one batch file to copy files from one server to another server. That batch file run fine when I run it manually, but I run the same batch file using task scheduler am getting below error.

ERROR 5 (0x00000005) Getting File System Type of Source
 \\Server ame\c$\ProgramData\DStt\
Access is denied.

But same script run fines when I run it manually. Script has been scheduled with admin user & admin user have access to both server.

robocopy /XC /E /R:2 /W:2 /copy:DATS /NDL /NP \\Server\c$\ProgramData\DStt C:\ProgramData\DStt > "D:\Apps\DStt\syncDStt_AppData_Server.log"
batch-file
robocopy
asked on Stack Overflow Jun 6, 2019 by Keshav Kalra • edited Jun 6, 2019 by aschipfl

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0