locked
SyncToyCmd Can't Find Target Directory RRS feed

  • Question

  • I'm running Windows 7 Ultimate 32-bit on a Dell Latitude XT with 3 GB RAM and SyncToy 2.0.  I've got a problem where my scheduled syncs keep failing with a "Could locate folder H:\xxxxxxxx" message in the log file.  If I sync all pairs through the GUI, there's no problem.  I'm syncing Documents (9.22GB, 24,441 Files, 1,731 directories) daily, 15 minutes after login, Downloads (14.3GB, 3,098 files, 387 directories) at 14:00 on Tuesdays, Music (12.5GB, 3,134 Files, 1,116 directories) at 14:00 on Fridays and Pictures (1.02GB, 1,583 files, 191 directories) at 14:00 on Thursdays.  The source is local (C:\Users\) and the target is a mapped network drive (H:\).  Any idea why the scheduled syncs can't see the network drive but the GUI can?

    Log file excerpt (file access error in Downloads caused by AV blocking access to a PUA; not a problem):

    SYNC: 02/16/2010 14:00:07:272: -------------------------------------------------------------------------
    SYNC: 02/16/2010 14:00:07:417: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/16/2010 14:00:07:883: *** Failed to execute folder pair My Downloads Sync. Could not locate folder H:\My Download Files\.
    SYNC: 02/17/2010 11:15:30:843: -------------------------------------------------------------------------
    SYNC: 02/17/2010 11:15:30:952: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/17/2010 11:15:32:091: *** Failed to execute folder pair My Documents Sync. Could not locate folder H:\My Documents\.
    SYNC: 02/17/2010 11:58:40:840: -------------------------------------------------------------------------
    SYNC: 02/17/2010 11:58:40:872: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/17/2010 11:58:41:277: *** Failed to execute folder pair My Documents Sync. Could not locate folder H:\My Documents\.
    SYNC: 02/18/2010 11:28:04:169: -------------------------------------------------------------------------
    SYNC: 02/18/2010 11:28:04:216: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/18/2010 11:28:04:544: *** Failed to execute folder pair My Documents Sync. Could not locate folder H:\My Documents\.
    SYNC: 02/18/2010 14:00:08:056: -------------------------------------------------------------------------
    SYNC: 02/18/2010 14:00:08:181: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/18/2010 14:00:08:914: *** Failed to execute folder pair My Pictures Sync. Could not locate folder H:\My Pictures\.
    SYNC: 02/19/2010 10:58:27:067: -------------------------------------------------------------------------
    SYNC: 02/19/2010 10:58:27:114: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/19/2010 10:58:27:644: *** Failed to execute folder pair My Documents Sync. Could not locate folder H:\My Documents\.
    SYNC: 02/19/2010 14:00:07:801: -------------------------------------------------------------------------
    SYNC: 02/19/2010 14:00:07:941: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/19/2010 14:00:08:768: *** Failed to execute folder pair My Music Sync. Could not locate folder H:\My Music\.
    SYNC: 02/22/2010 10:27:50:144: -------------------------------------------------------------------------
    SYNC: 02/22/2010 10:27:50:191: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/22/2010 10:27:50:425: *** Failed to execute folder pair My Documents Sync. Could not locate folder H:\My Documents\.
    SYNC: 02/23/2010 10:27:18:834: -------------------------------------------------------------------------
    SYNC: 02/23/2010 10:27:18:990: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/23/2010 10:27:19:364: *** Failed to execute folder pair My Documents Sync. Could not locate folder H:\My Documents\.
    SYNC: 02/23/2010 11:57:43:915: -------------------------------------------------------------------------
    SYNC: 02/23/2010 11:57:43:946: Starting SyncToy, version 2.0.100.0, built 8/12/2008 15:07:12.
    SYNC: 02/23/2010 11:58:58:341: Started scanning directory : C:\Users\M.Schulman\Documents\
    SYNC: 02/23/2010 11:58:58:341: Started scanning directory : H:\My Documents\
    SYNC: 02/23/2010 11:59:54:393: Stopped scanning directory : H:\My Documents\
    SYNC: 02/23/2010 12:00:01:335: Stopped scanning directory : C:\Users\M.Schulman\Documents\
    SYNC: 02/23/2010 12:00:03:160: Preview of My Documents Sync (C:\Users\M.Schulman\Documents\, H:\My Documents\) in time 00:01:04:803.
    SyncToy action was 'Synchronize'
    Found 74 actions to perform.
    Found 48,763 files that did not require action.
    Analyzed 752.5 files per second.
    Avoided copying 19,770,614,650 bytes in 48,763 files.
    Saved approximately 10:59:01:00 by not copying any files.

    SYNC: 02/23/2010 12:00:03:301: Started scanning directory : C:\Users\M.Schulman\Downloads\
    SYNC: 02/23/2010 12:00:03:301: Started scanning directory : H:\My Download Files\
    SYNC: 02/23/2010 12:00:11:616: Stopped scanning directory : C:\Users\M.Schulman\Downloads\
    SYNC: 02/23/2010 12:00:12:411: Stopped scanning directory : H:\My Download Files\
    SYNC: 02/23/2010 12:00:13:768: Preview of My Downloads Sync (C:\Users\M.Schulman\Downloads\, H:\My Download Files\) in time 00:00:10:467.
    SyncToy action was 'Synchronize'
    Found 295 actions to perform.
    Found 5,631 files that did not require action.
    Analyzed 537.9 files per second.
    Avoided copying 30,544,189,456 bytes in 5,631 files.
    Saved approximately 16:58:08:00 by not copying any files.

    SYNC: 02/23/2010 12:00:13:893: Started scanning directory : C:\Users\M.Schulman\Pictures\
    SYNC: 02/23/2010 12:00:13:893: Started scanning directory : H:\My Pictures\
    SYNC: 02/23/2010 12:00:16:748: Stopped scanning directory : H:\My Pictures\
    SYNC: 02/23/2010 12:00:17:544: Stopped scanning directory : C:\Users\M.Schulman\Pictures\
    SYNC: 02/23/2010 12:00:18:994: Preview of My Pictures Sync (C:\Users\M.Schulman\Pictures\, H:\My Pictures\) in time 00:00:05:101.
    SyncToy action was 'Synchronize'
    Found 474 actions to perform.
    Found 2,454 files that did not require action.
    Analyzed 481.1 files per second.
    Avoided copying 1,738,546,343 bytes in 2,454 files.
    Saved approximately 00:57:57:00 by not copying any files.

    SYNC: 02/23/2010 12:00:19:135: Started scanning directory : C:\Users\M.Schulman\Music\
    SYNC: 02/23/2010 12:00:19:135: Started scanning directory : H:\My Music\
    SYNC: 02/23/2010 12:00:28:573: Stopped scanning directory : C:\Users\M.Schulman\Music\
    SYNC: 02/23/2010 12:00:31:365: Stopped scanning directory : H:\My Music\
    SYNC: 02/23/2010 12:00:32:520: Preview of My Music Sync (C:\Users\M.Schulman\Music\, H:\My Music\) in time 00:00:13:384.
    SyncToy action was 'Synchronize'
    Found 73 actions to perform.
    Found 6,194 files that did not require action.
    Analyzed 462.8 files per second.
    Avoided copying 26,847,238,996 bytes in 6,194 files.
    Saved approximately 14:54:54:00 by not copying any files.

    SYNC: 02/23/2010 12:00:46:295: SyncToy run of My Documents Sync (C:\Users\M.Schulman\Documents\, H:\My Documents\) completed at 2/23/2010 12:00:46.
    SyncToy action was 'Synchronize'.
    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:13:728.
    Copied 18,345,912 bytes in 61 files in 00:00:13:728.
    Bytes per second 1,336,369.2, files per second 4.4.
    Avoided copying 19,770,614,650 bytes in 48,763 files that did not require action.
    Saved approximately 04:06:34:276 by not copying all files.

    SYNC: 02/23/2010 12:02:04:577: SyncToy run of My Downloads Sync (C:\Users\M.Schulman\Downloads\, H:\My Download Files\) completed at 2/23/2010 12:02:04.
    SyncToy action was 'Synchronize'.
    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:01:18:188.
    Copied 86,171,383 bytes in 283 files in 00:01:18:188.
    Bytes per second 1,102,102.1, files per second 3.6.
    Avoided copying 30,544,189,456 bytes in 5,631 files that did not require action.
    Saved approximately 07:41:54:482 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: 02/23/2010 12:02:04:577: *** Error: Cannot read from the source file H:\My Download Files\Password Utilities\Serials 2000\S2K 7.1 Plus\setup.exe. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Copying H:\My Download Files\Password Utilities\Serials 2000\S2K 7.1 Plus\setup.exe to C:\Users\M.Schulman\Downloads\Password Utilities\Serials 2000\S2K 7.1 Plus\setup.exe


    SYNC: 02/23/2010 12:02:41:284: SyncToy run of My Pictures Sync (C:\Users\M.Schulman\Pictures\, H:\My Pictures\) completed at 2/23/2010 12:02:41.
    SyncToy action was 'Synchronize'.
    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:36:660.
    Copied 228,012,932 bytes in 341 files in 00:00:36:660.
    Bytes per second 6,219,621.2, files per second 9.3.
    Avoided copying 1,738,546,343 bytes in 2,454 files that did not require action.
    Saved approximately 00:04:39:526 by not copying all files.

    SYNC: 02/23/2010 12:02:55:417: SyncToy run of My Music Sync (C:\Users\M.Schulman\Music\, H:\My Music\) completed at 2/23/2010 12:02:55.
    SyncToy action was 'Synchronize'.
    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:14:071.
    Copied 94,579,386 bytes in 47 files in 00:00:14:71.
    Bytes per second 6,721,443.8, files per second 3.3.
    Avoided copying 26,847,238,996 bytes in 6,194 files that did not require action.
    Saved approximately 01:06:34:267 by not copying all files.

     

    Tuesday, February 23, 2010 5:43 PM

All replies

  • Hi - Look at the permissions under which you are running the scheduled sync. To debug - first run the SyncToyCmd.exe from a command line prompt. Assuming that works and this only fails as a scheduled sync - it means you should check those permissions.

    Thanks
    Deepa
    Deepa ( Microsoft Sync Framework)
    Friday, February 26, 2010 6:15 PM