Windows 11 Robocopy error through Task scheduler

  • Thread starter Thread starter Mayur Rastogi
  • Start date Start date
M

Mayur Rastogi

When I run the robocopy command through Powershell, it runs successfully but if submitted through task scheduler, it flashes error 'The directory name is invalid', It also does not create the log. Below is the command 'robocopy \\msXXXXXXXX\Y$\AXXXXXX M:\AXXXXXXX SAV21_0.* /E /Z /ZB /MT:16 /COPY:DATSOU /SECFIX /R:3 /Log:N:\ROBOCOPY\RBOCPY.log. I have masked the server name here for security reasonsRunning this on Win 2016 server

Continue reading...
 

Similar threads

E
Replies
0
Views
31
EnglishmanInJapan
E
M
Replies
0
Views
16
Mary Martin (mmartin)
M
M
Replies
0
Views
18
Malte Christensen
M
G
Replies
0
Views
14
ghostanime2001
G
Back
Top