none
SyncToyCmd Can't See Network Drive -- Sometimes RRS feed

  • Question

  • I've been using SyncToy for quite a while with no problems.  I have SyncToy scheduled in Task Scheduler to run at 11:00 or as soon as possible after login if login is after 11:00.  It syncs my Documents folder with a network drive, O:\SyncToy\Documents.  Since I moved to Windows 7 x64, I'm coming up with a strange issue.  SyncToyCmd can't find the network folder for documents, yet nanoseconds later (literally; see the timestamps in the attached log), it sees another folder in the same network drive and syncs my desktop.  I assumed I screwed up the folder pair, but if I run the pair manually in SyncToy, it works perfectly.  I'm pasting the pertinent parts of the SyncToy log below, because this is making no sense to me.  I've been in IT for over 25 years, and one thing I've learned is either something works or it doesn't.  This works on two levels (SyncToyCmd works on another pair, and SyncToy works on this pair), so I'm at a complete loss  Any help will be greatly appreciated.

    (Job run from Task Scheduler)
    SYNC: 08/29/2011 12:08:43:652: -------------------------------------------------------------------------
    SYNC: 08/29/2011 12:08:43:729: Starting SyncToyCmd, version 2.1.0.0, built 10/19/2009 03:04:38.
    SYNC: 08/29/2011 12:08:43:946: *** Failed to execute folder pair O Docs Echo. Could not locate folder O:\SyncToy\Documents\.
    SYNC: 08/29/2011 12:08:44:272: -------------------------------------------------------------------------
    SYNC: 08/29/2011 12:08:44:272: Starting SyncToyCmd, version 2.1.0.0, built 10/19/2009 03:04:38.
    SYNC: 08/29/2011 12:08:45:295: Started scanning directory : C:\Users\217216x711964\Desktop\
    SYNC: 08/29/2011 12:08:45:295: Started scanning directory : O:\SyncToy\Desktop\
    SYNC: 08/29/2011 12:08:45:807: Stopped scanning directory : C:\Users\217216x711964\Desktop\
    SYNC: 08/29/2011 12:08:46:318: Stopped scanning directory : O:\SyncToy\Desktop\
    SYNC: 08/29/2011 12:08:46:846: Preview of O Desktop Echo (C:\Users\217216x711964\Desktop\, O:\SyncToy\Desktop\) in time 00:00:01:534.
    SyncToy action was 'Echo'
    Found 3 actions to perform.
    Found 447 files that did not require action.
    Analyzed 291.2 files per second.
    Avoided copying 216,568,030 bytes in 447 files.
    Saved approximately 00:07:13:00 by not copying any files.

    SYNC: 08/29/2011 12:08:47:977: SyncToy run of O Desktop Echo (C:\Users\217216x711964\Desktop\, O:\SyncToy\Desktop\) completed at 8/29/2011 12:08:47.
    SyncToy action was 'Echo'.
    SyncToy options were:
     Active for run all
     All files included
     No files excluded
     Do not check file contents
     Include read-only files
     Include hidden files
     Include system files
     Backup older files (send to Recycle Bin)
     All subfolders included
    SyncToy run took 00:00:01:131.
    Copied 1,287 bytes in 1 files in 00:00:01:131.
    Bytes per second 1,137.1, files per second 0.9.
    Avoided copying 216,568,030 bytes in 447 files that did not require action.
    Saved approximately 04:54:14:318 by not copying all files.

    (Job started manually from SyncToy)
    SYNC: 08/29/2011 16:30:59:191: -------------------------------------------------------------------------
    SYNC: 08/29/2011 16:30:59:253: Starting SyncToy, version 2.1.0.0, built 10/19/2009 03:04:38.
    SYNC: 08/29/2011 16:31:56:818: Started scanning directory : O:\SyncToy\Documents\
    SYNC: 08/29/2011 16:31:56:818: Started scanning directory : C:\Users\217216x711964\Documents\
    SYNC: 08/29/2011 16:32:31:310: Stopped scanning directory : C:\Users\217216x711964\Documents\
    SYNC: 08/29/2011 16:32:41:621: Stopped scanning directory : O:\SyncToy\Documents\
    SYNC: 08/29/2011 16:32:42:573: Preview of O Docs Echo (C:\Users\217216x711964\Documents\, O:\SyncToy\Documents\) in time 00:00:45:739.
    SyncToy action was 'Echo'
    Found 4 actions to perform.
    Found 52,591 files that did not require action.
    Analyzed 1,149.8 files per second.
    Avoided copying 32,520,914,827 bytes in 52,591 files.
    Saved approximately 18:04:01:00 by not copying any files.

    SYNC: 08/29/2011 16:32:44:242: SyncToy run of O Docs Echo (C:\Users\217216x711964\Documents\, O:\SyncToy\Documents\) completed at 8/29/2011 16:32:44.
    SyncToy action was 'Echo'.
    SyncToy options were:
     Active for run all
     All files included
     No files excluded
     Do not check file contents
     Include read-only files
     Include hidden files
     Include system files
     Backup older files (send to Recycle Bin)
     All subfolders included
    SyncToy run took 00:00:01:622.
    Copied 5,924,984 bytes in 4 files in 00:00:01:622.
    Bytes per second 3,651,963.8, files per second 2.5.
    Avoided copying 32,520,914,827 bytes in 52,591 files that did not require action.
    Saved approximately 02:28:25:49 by not copying all files.
    Warning: 1 failures occured.
    You can retry by selecting "Run" again or select "Preview" to see
    the operations that remain to be performed.

    SYNC: 08/29/2011 16:32:44:242: *** Error: Cannot read from the source file C:\Users\217216x711964\Documents\Add-in Express\adxloader.log. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) Copying C:\Users\217216x711964\Documents\Add-in Express\adxloader.log to O:\SyncToy\Documents\Add-in Express\adxloader.log

     

    Monday, August 29, 2011 9:03 PM

All replies

  • I have a similar problem with synctoy 2.1.

    It can't find mapped network drives when run via Task Scheduler running the following command:

    "C:\Program Files\SyncToy 2.1\SyncToyCmd.exe" with aruments "-R"

    This is Win 7 enterprise 64bit.

    It works fine when I run it manually from the synctoy GUI.

    The command also works fine when I execute the command above via the command line.

     

    Pertinient part of synctoy logfile:

    SYNC: 11/16/2011 18:01:00:086: -------------------------------------------------------------------------
    SYNC: 11/16/2011 18:01:00:091: Starting SyncToyCmd, version 2.1.0.0, built 19/10/2009 04:04:38.
    SYNC: 11/16/2011 18:01:00:119: *** Failed to execute folder pair EchoExecass. Could not locate folder Y:\.
    SYNC: 11/16/2011 18:01:00:119: *** Failed to execute folder pair EchoMemasters. Could not locate folder W:\.

     

    Any suggestions?

     

    (By the way I have been in Engineering for a similar length of time and I completely disagree, if you have managed to get through life where somehting either works or does not you are a very lucky person.... The difficulty arises when it is somewhere in between)

    Thursday, November 17, 2011 12:17 PM
  • You need to setup synctoy using the UNC path instead of the mapped drive letter. To determine the UNC path open up the cmd prompt and type "net use". This will list the UNC paths of the mapped drives. Type this path into synctoy instead of browsing for the mapped directory. Example: my left folder is called "c:\testFolder" and my right Folder is called "\\dimension9200\testFolder"instead of "z:\testFolder.
    Thursday, December 15, 2011 6:27 PM
  • Jamesp55,

    Thank you, this helped me tremendously!

     It is frustrating that I (and Synctoy) can access my mapped shares just fine when I log in to my (admin) account manually, but, when "Sheduled Tasks" logs in to my account to run Synctoy; Synctoy can't "see" my mapped drives...  I guess it just begs the question: Why would they design it this way?

    thanks again,

    Jim

    Thursday, April 5, 2012 8:46 PM
  • I have been having this problem on Windows 7 even though I was always using the network path and never used mapped drive letters.  It is intermittant, ie, the worst kind of problem to solve.  So it works one night, fails the next night, and this is happening on multiple computers.  Then I found some information that if the error message is "Cannot find the network folder ...", the settings for that task in the Task Scheduler itself might be causing the problem (when running SyncToyCmd).  It said to change the following in the Task Scheduler:

    1.  Be sure the task author is the same one that installed synctoy, created the pair, and logged in for running.

    2.  DO NOT select "Run with highest privileges".  This is contrary to what many web pages say for running SyncToy in batch.

    3.  Leave the application compatility at its default.  In my case, this was "Windows Vista, Windows Server 2008".  Silly me, I had been a "good scout" and changed it to what I was actually running, namely Windows 7.

    I have just started implementing these changes one PC at a time whenever I see a failure from my previous night's scheduled backup.  So far, there have been no failures with these changes made, but since this is an intermittant problem, it's too soon to tell.

    Because of this and many other problems that SyncToy has caused me, I am actively researching FreeFileSync as a replacement.  I am concerned that SyncToy won't be evolving any further now that MS is pushing SkyDrive so hard.  In my early testing with FreeFileSync, I already discovered that SyncToy hasn't been backing up quite a number of my Favorites that have very long URL's.  Apparently, SyncToy has some limit on the number of characters in the full path.  Who knew?

    Tuesday, May 7, 2013 1:14 PM
  • Thanks jamesp55. That worked a treat.
    Saturday, June 22, 2013 2:27 AM
  • Thanks jamesp55.

    It worked well as a path!, because accessed the required folder in the Network PC and accepted the sync options ordered by my laptop.

    However, SyncToy wants to write all the PC's folder existent files (5437) and create folders (357) as new when they are already existent in the laptop.

    Please help

    Sunday, December 30, 2018 4:24 PM