todarsey Posted December 7, 2009 Posted December 7, 2009 I didn't know if this went here or in the Win7 section (I guessed here).Here is my problem. I have some Robocopy batch files that I was running in a schedualed task on a Win XP machine. They ran fine on that machine. I am now tring to get them to run on a Win7 box. The batch files will run fine on their own, but when I try to run them from a schedualed task I get errors. I get this error - "ERROR 1326 (0x0000052E) Accessing Source Directory \\computer1\share\folder\Logon failure: unknown user name or bad password" if I try to use UNC paths with this command robocopy "\\computer1\share\folder" "\\computer2\share\folder".If I try using a mapped drive I get this - ERROR 3 (0x00000003) Accessing Source Directory v:\folder\The system cannot find the path specified when usin this command robocopy "v:\folder" "\computer2\folder".I am on a Windows domain trying to copy files from a Linux box in another office.I had no problems running this on a XP machine but I can't get it to run on a Win7 machine.
gosh Posted December 9, 2009 Posted December 9, 2009 (edited) error 1326 means invalid username or password, so obviously retype your credentials in windows task scheduler. Edited December 9, 2009 by gosh
todarsey Posted December 9, 2009 Author Posted December 9, 2009 error 1326 means invalid username or password, so obviously retype your credentials in windows task scheduler.My credentials are fine, I don't get the error if I run the batch file on its own, only when I run it from task scheduler. Here is the exact log file when I run it from task scheduler------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows ------------------------------------------------------------------------------- Started : Wed Dec 09 13:58:51 20092009/12/09 13:58:51 ERROR 3 (0x00000003) Getting File System Type of Source v:\1-Ready Sections\The system cannot find the path specified. Source - v:\1-Ready Sections\ Dest : \\server\1-Ready Sections\ Files : *.* Options : *.* /NDL /S /COPY:DAT /NP /ETA /XX /XO /MAX:999999999 /RH:1930-0900 /PF /R:1 /W:60 ------------------------------------------------------------------------------2009/12/09 13:58:51 ERROR 3 (0x00000003) Accessing Source Directory v:\1-Ready Sections\The system cannot find the path specified.Here is what I get when I run the batch file on its own.------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows ------------------------------------------------------------------------------- Started : Wed Dec 09 14:26:36 2009 Source : v:\1-Ready Sections\ Dest : \\server\1-Ready Sections\ Files : *.* Options : *.* /NDL /S /COPY:DAT /NP /ETA /XX /XO /MAX:999999999 /PF /R:1 /W:60 ------------------------------------------------------------------------------ New File 205 v:\1-Ready Sections\Columbia\USRR Columbia 29000000\100info.txt New File 3435 v:\1-Ready Sections\Columbia\USRR Columbia 29000000\100left.rat 14:26 -> 14:27 New File 18.5 m v:\1-Ready Sections\Columbia\USRR Columbia 29000000\100left.tif 14:26 -> 19:26
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now