Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Win 7 Robocopy


  • Please log in to reply
3 replies to this topic

#1
todarsey

todarsey

    Member

  • Member
  • PipPip
  • 109 posts
  • Joined 08-November 07
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.
Windows Server 08 R2 x64
AMD Athlon II X2 3.0GHz
8GB RAM
4.5TB storage
CentOS x64 Web Server (Virtual)
CentOS x86 Web Server (Virtual)
Windows Home Server (Virtual)


How to remove advertisement from MSFN

#2
todarsey

todarsey

    Member

  • Member
  • PipPip
  • 109 posts
  • Joined 08-November 07
Anyone?
Windows Server 08 R2 x64
AMD Athlon II X2 3.0GHz
8GB RAM
4.5TB storage
CentOS x64 Web Server (Virtual)
CentOS x86 Web Server (Virtual)
Windows Home Server (Virtual)

#3
gosh

gosh

    gosh 2.0

  • Patrons
  • 2,347 posts
  • Joined 03-October 03
  • OS:none specified
  • Country: Country Flag
error 1326 means invalid username or password, so obviously retype your credentials in windows task scheduler.

Edited by gosh, 09 December 2009 - 01:12 PM.


#4
todarsey

todarsey

    Member

  • Member
  • PipPip
  • 109 posts
  • Joined 08-November 07

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 2009

2009/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

Windows Server 08 R2 x64
AMD Athlon II X2 3.0GHz
8GB RAM
4.5TB storage
CentOS x64 Web Server (Virtual)
CentOS x86 Web Server (Virtual)
Windows Home Server (Virtual)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users