Nelviticus
Programmer
I have a home network with a desktop, a laptop and a NAS box (basically a hard drive on the network). I'm trying to use Microsoft's SyncToy to sync the 'My Documents' folders on the two machines to a folder on the NAS.
I have set up folder pairings and can run the sync manually on either machine, so the next stage is to create a scheduled task and run this at system startup. This is where is all falls down.
I have followed the instructions in SyncToy's help file and created a scheduled task that's set to run at system start. I've set 'run as' to the admin account and entered the admin password. I've set the 'run' line to
If I run that exact same line from a command prompt, it executes properly. However, when the scheduled task runs - either automatically at startup or manually by right-clicking it and selecting 'run' - nothing happens. The 'status' column briefly shows 'running' and the 'last result' column shows '0x0'.
If I run SyncToy manually, the event viewer shows two entries: 'Beginning SyncToy run for all folder pairs' and 'Ended SyncToy run for all folder pairs'. If I run the scheduled task, there's only the 'Beginning...' entry.
Any idea what I'm doing wrong? I'm completely stumped
Regards
Nelviticus
I have set up folder pairings and can run the sync manually on either machine, so the next stage is to create a scheduled task and run this at system startup. This is where is all falls down.
I have followed the instructions in SyncToy's help file and created a scheduled task that's set to run at system start. I've set 'run as' to the admin account and entered the admin password. I've set the 'run' line to
Code:
"C:\Program Files\Microsoft\SyncToy\SyncToy.exe" -R
If I run that exact same line from a command prompt, it executes properly. However, when the scheduled task runs - either automatically at startup or manually by right-clicking it and selecting 'run' - nothing happens. The 'status' column briefly shows 'running' and the 'last result' column shows '0x0'.
If I run SyncToy manually, the event viewer shows two entries: 'Beginning SyncToy run for all folder pairs' and 'Ended SyncToy run for all folder pairs'. If I run the scheduled task, there's only the 'Beginning...' entry.
Any idea what I'm doing wrong? I'm completely stumped
Regards
Nelviticus