Windows sync via Task Scheduler - silent possible?

I want to roughly keep my files synced, so I have created a few daily Sync tasks in Windows Task Scheduler.

This is the command I'm using, and so far it appears to be functional.

sync "I:\Music" "gcrypt:/Music" --transfers 10 --checkers 10 --stats 10s --drive-chunk-size 256M --progress --bwlimit 8.74M

Only problem is that a new CMD window pops up and interrupts whatever else I am doing. I've tried removing the --progress and --stats parameters, but a CMD still pops up, just completely blank. Either way, it automatically closes itself once the Sync is completed.

Is there a (reasonably easy) way to do this without a new CMD window popping up?

Try with "Run whether user is logged on or not" checked. See also this for more alternatives: Autostart mount on windows without cmd popping up?

2 Likes

this is from one of the best free window ultitles, i have been using it for over 15 years

https://www.nirsoft.net/utils/nircmd.html
https://www.nirsoft.net/articles/run_application_without_elevation.html

  1. create a .cmd batch file, let's name it sync.cmd
  2. nircmd exec hide "c:\path\tofile\sync.cmd"

Thanks! Did the trick! Wouldn't have guessed this interaction otherwise.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.