none
Synctoy will not run as a scheduled task

    Question

  • I have set up a scheduled task in Windows XP Home SP3 to run SyncToy automatically. My Run line is ""C:\Documents and Settings\All Users\Start Menu\Programs\SyncToy 2.0.lnk". Each morning I find the SyncToy window in front of me with the Run button down the bottom right just waiting to be pressed. If I press it, SyncToy runs happily. I have another one with this run line: ""C:\Program Files\SyncToy 2.0\SyncToyCmd.exe" -R"PFWD sites", which has no effect at all.

     

    When I set up the scheduled task I got an error message, part of which was “may not run because the account information could not be set… Access is denied”, and it also asked for a password to go with the computer name. I did not set a password when I installed XP.

    Monday, November 02, 2009 9:33 AM

Answers

  • Scheduled task should use "SynctoyCmd.exe -R " and it should not open synctoy window. please make sure you closed synctoy widows before running "SynctoyCmd.exe"(or scheduled task).


    Could you pls take this try first, make sure you "SynctoyCmd.exe" work as well:
    1. open a CMD console windows, enter to synctoy folder
    2. running synctoy from a commmand line, as below:

    Run SyncToy from a Command Line

    SyncToy can be run from the command line to provide support for scheduling or automating folder pair execution. The command line executable by default is located at: [System Drive]\Program Files\SyncToy 2.0\SyncToyCmd.exe.

    SyncToy does not support running multiple copies of SyncToyCmd.exe at the same time. If a second instance of SyncToyCmd.exe is executed, there will be no errors and the command will not be executed.

    The parameters provided by this command line interface are described below:

    • -R Run all folder pairs that are marked as Active For Run All.
    • -R [Name] Run the named folder pair (only one folder pair can be specified).

    Usage Examples:

    • SyncToyCmd -R MyFolderPair
    • SyncToyCmd -R

    NOTE: There can be no space between the -R parameter and the MyFolderPair name.

    It is also possible to manage folder pairs from the command line. Folder pairs are managed through SyncToy.exe whereas scheduling is performed through SyncToyCmd.exe as described above.

     


    Joey Liang
    Your potential our passion This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, November 02, 2009 10:20 AM

All replies

  • Scheduled task should use "SynctoyCmd.exe -R " and it should not open synctoy window. please make sure you closed synctoy widows before running "SynctoyCmd.exe"(or scheduled task).


    Could you pls take this try first, make sure you "SynctoyCmd.exe" work as well:
    1. open a CMD console windows, enter to synctoy folder
    2. running synctoy from a commmand line, as below:

    Run SyncToy from a Command Line

    SyncToy can be run from the command line to provide support for scheduling or automating folder pair execution. The command line executable by default is located at: [System Drive]\Program Files\SyncToy 2.0\SyncToyCmd.exe.

    SyncToy does not support running multiple copies of SyncToyCmd.exe at the same time. If a second instance of SyncToyCmd.exe is executed, there will be no errors and the command will not be executed.

    The parameters provided by this command line interface are described below:

    • -R Run all folder pairs that are marked as Active For Run All.
    • -R [Name] Run the named folder pair (only one folder pair can be specified).

    Usage Examples:

    • SyncToyCmd -R MyFolderPair
    • SyncToyCmd -R

    NOTE: There can be no space between the -R parameter and the MyFolderPair name.

    It is also possible to manage folder pairs from the command line. Folder pairs are managed through SyncToy.exe whereas scheduling is performed through SyncToyCmd.exe as described above.

     


    Joey Liang
    Your potential our passion This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, November 02, 2009 10:20 AM
  • Thank you for the reply Joey. I have succeeded in running SyncToyCmd.exe from the Command Prompt. You do not get that nice graphical display, but I can see that new files have appeared on our other computer, which is what I am trying to achieve. So that works for me.
    Tuesday, November 03, 2009 10:02 AM
  • testing it on the command line the "SyncToyCmd.exe" does not work on my XP Pro machines, but it works perfectly as "SyncToyCmd -R" --- just drop the ".exe"... same in the preference line of the Scheduled task; the DOS help file says it clearly but not the Windows installation, too bad; it was a lot of wasted time getting this to work.

    great app otherwise!

    Wednesday, November 04, 2009 4:37 AM
  • testing it on the command line the "SyncToyCmd.exe" does not work on my XP Pro machines, but it works perfectly as "SyncToyCmd -R" --- just drop the ".exe"... same in the preference line of the Scheduled task; the DOS help file says it clearly but not the Windows installation, too bad; it was a lot of wasted time getting this to work.

    great app otherwise!

    Wednesday, November 04, 2009 4:37 AM
  • on my machine I had similar issues: it works if you use the following line in Scheduled tasks: "C:\Program Files\SyncToy 2.0\SyncToyCmd.exe" -R

    note the location of the " !!  The -R is outside the brackets!
    Wednesday, November 04, 2009 12:12 PM
  • Thanks martijn_r. Well, I had the inverted commas in the right place. I am trying again without the .exe for tonight's run.

    However, I do get the message "Access is denied... You do not have permission... " when I change the Scheduled Task. It asks for a password, but when I installed XP I gave no password and I am the only user. Nevertheless the system accepts my changes and the Scheduled Task is there and looking in order.
    Wednesday, November 04, 2009 5:46 PM
  • I think the problems I had setting up the scheduled task, with the access denied and password, suggest that the problem lies there, so I am going away to a forum on scheduled tasks if I can find one to see what people there think
    Friday, November 06, 2009 8:44 PM
  • tenor2 - I'd like to know whether you've found an answer to this problem. I have the same issue of not having set up a password. I'm the only user, but have two accounts on my computer. Thought perhaps running as NT ADMINISTRATOR would solve the problem, but no.

    Have gotten no answer from MS guys on this.

    Friday, September 24, 2010 3:20 PM