none
Problem SyncToyCMD RRS feed

  • Question

  • Hello all

    I have it working perfectly using the program, but when I setup in Schendule Task in RUN box "C:\Program Files\SyncToy 2.0\SyncToyCmd.exe" –R , the task is running but is not synchronize the folder and I dont have any messages or error in CMD window.

    Can somebody help me ?

     

    Thanks

    Thursday, November 13, 2008 3:11 PM

Answers

  • This might help.  

    When you set SyncToy to run as a scheduled task with a Different user than the one you run manually with, you should log in as that user then schedule the Sync as described in the help file.  SyncToy(2.1.0.0) stores the folder pair info in the 'C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Microsoft\SyncToy\2.0' location for each user.  I was trying to schedule as an admin while using my login, but as far as SyncToy knew, it had no folder info on the Admin account.  If you have already set up your pairs, simply copy all the files in this folder to the user you want to run the scheduled job as.  Shiney!


    Thursday, January 7, 2010 7:57 PM

All replies

  •  

    how about run through the UI ?

    First preview, see is there anything to be synced ?

    Then sync, see if it sync.

     

    Thanks,

    Baoke

    Friday, November 14, 2008 6:00 AM
  • You have to sync through SyncToy one time before using SyncToyCMD. However, you should see an error in the SyncToyLog.log file.

    Friday, November 14, 2008 4:08 PM
  • I am experiencing this problem, too.

    Doing a 'normal' synchronization, between a local folder, and one hosted on a WHS, via SMB.

    I can perform a synchronization using the GUI, and it will Preview and Run appropriately.
    However, when I run the command,
    "C:\Program Files\SyncToy 2.0\SyncToyCmd.exe" -R"User Documents"
    I get this error;
    "SyncToyCmd has detected that the folder pair User Documents has not been synchronized yet. Please run SyncToy.exe to complete the initial synchronization."

    When, I have.
    Wednesday, January 21, 2009 9:52 PM
  • The following error output should contain information for both the failed CMD attempt, and the successful GUI attempt....

    SYNC: 01/21/2009 11:59:03:534: -------------------------------------------------------------------------
    SYNC: 01/21/2009 11:59:05:999: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/21/2009 11:59:10:293: *** SyncToyCmd has detected that the folder pair User Documents has not been synchronized yet. Please run SyncToy.exe to complete the initial synchronization.
    SYNC: 01/21/2009 13:40:13:158: -------------------------------------------------------------------------
    SYNC: 01/21/2009 13:40:13:283: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/21/2009 13:40:27:983: Started scanning directory : C:\Users\Ben\Documents\
    SYNC: 01/21/2009 13:40:27:984: Started scanning directory : \\Hobbes\Users\Ben\
    SYNC: 01/21/2009 13:41:44:226: Stopped scanning directory : \\Hobbes\Users\Ben\
    SYNC: 01/21/2009 13:42:02:444: Stopped scanning directory : C:\Users\Ben\Documents\
    SYNC: 01/21/2009 13:42:29:378: Preview of User Documents (C:\Users\Ben\Documents\, \\Hobbes\Users\Ben\) in time 00:02:01:303.
    SyncToy action was 'Synchronize'
    Found 4741 actions to perform.
    Found 33,773 files that did not require action.
    Analyzed 278.4 files per second.
    Avoided copying 27,231,733,258 bytes in 33,773 files.
    Saved approximately 15:07:43:00 by not copying any files.

    SYNC: 01/21/2009 13:50:21:792: Started scanning directory : C:\Users\Ben\Documents\
    SYNC: 01/21/2009 13:50:21:805: Started scanning directory : \\Hobbes\Users\Ben\
    SYNC: 01/21/2009 13:50:59:161: Stopped scanning directory : C:\Users\Ben\Documents\
    SYNC: 01/21/2009 13:51:03:899: Stopped scanning directory : \\Hobbes\Users\Ben\
    SYNC: 01/21/2009 13:51:33:291: Preview of User Documents (C:\Users\Ben\Documents\, \\Hobbes\Users\Ben\) in time 00:01:11:506.
    SyncToy action was 'Synchronize'
    Found 4607 actions to perform.
    Found 33,903 files that did not require action.
    Analyzed 474.1 files per second.
    Avoided copying 27,279,283,070 bytes in 33,903 files.
    Saved approximately 15:09:18:00 by not copying any files.

    SYNC: 01/21/2009 13:57:46:724: SyncToy run of User Documents (C:\Users\Ben\Documents\, \\Hobbes\Users\Ben\) completed at 1/21/2009 1:57:46 PM.
    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:06:13:314.
    Copied 385,630,439 bytes in 3,522 files in 00:06:13:314.
    Bytes per second 1,032,989.5, files per second 9.4.
    Avoided copying 27,279,283,070 bytes in 33,903 files that did not require action.
    Saved approximately 07:20:08:94 by not copying all files.

    Wednesday, January 21, 2009 9:59 PM
  • I realized there was a difference in permission levels happening, and I have confirmed that it doesn't affect this issue;

    SYNC: 01/21/2009 14:01:32:467: -------------------------------------------------------------------------
    SYNC: 01/21/2009 14:01:32:501: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/21/2009 14:01:32:944: *** SyncToyCmd has detected that the folder pair User Documents has not been synchronized yet. Please run SyncToy.exe to complete the initial synchronization.
    SYNC: 01/21/2009 14:01:35:592: -------------------------------------------------------------------------
    SYNC: 01/21/2009 14:01:35:622: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/21/2009 14:01:36:054: *** SyncToyCmd has detected that the folder pair User Documents has not been synchronized yet. Please run SyncToy.exe to complete the initial synchronization.
    SYNC: 01/21/2009 14:01:44:512: -------------------------------------------------------------------------
    SYNC: 01/21/2009 14:01:44:521: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/21/2009 14:03:17:394: -------------------------------------------------------------------------
    SYNC: 01/21/2009 14:03:17:425: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/21/2009 14:03:17:897: *** SyncToyCmd has detected that the folder pair User Documents has not been synchronized yet. Please run SyncToy.exe to complete the initial synchronization.
    SYNC: 01/21/2009 14:03:32:081: -------------------------------------------------------------------------
    SYNC: 01/21/2009 14:03:32:089: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    Wednesday, January 21, 2009 10:04 PM
  • I think I see the problem.  Read my reply to the post at http://forums.microsoft.com/sync/ShowPost.aspx?PostID=4076946&SiteID=75

     

    ONLY RUN SYNCTOY FROM ONE COMPUTER!!!!!!!

     

    Friday, January 23, 2009 2:33 AM
  • I appreciate your feedback -- especially the steps you've detailed.

    However -- I don't use the SyncToy application, or the folder pairs, from any other workstation.

    So.  That's not the problem.

    But thanks!
    Saturday, January 24, 2009 1:56 AM
  • I have exact the same problem.

    Have you found a solution?

    Thanks,
    Darksun
    Wednesday, March 4, 2009 10:23 AM
  • Yes -- sadly, my solution was to change programs alltogether -- I now use GoodSync.
    Saturday, April 4, 2009 4:59 PM
  • This might help.  

    When you set SyncToy to run as a scheduled task with a Different user than the one you run manually with, you should log in as that user then schedule the Sync as described in the help file.  SyncToy(2.1.0.0) stores the folder pair info in the 'C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Microsoft\SyncToy\2.0' location for each user.  I was trying to schedule as an admin while using my login, but as far as SyncToy knew, it had no folder info on the Admin account.  If you have already set up your pairs, simply copy all the files in this folder to the user you want to run the scheduled job as.  Shiney!


    Thursday, January 7, 2010 7:57 PM