Run Qsync Client without login (background service)

Hello everyone,

I am syncing a shared directory from a file server to a QNAP at another location using the Qsync Client 6.0.

Unfortunately, the client only runs when a user is logged in.

Is it possible to let the client (or another one) sync without a logged-in user?

Thank you

Daniel

Can you please post in English. This is the English forum. Thank you.

Moved the topic to the German section then

Moved to the German forum…

Hello,

yes, this is at least possible under Windows. Not as a service, but as a task.

Create a new “Basic Task” using Task Scheduler:

  • Name – Qsync Autostart etc… maybe a short description so you know later why and for what reason the task was created… :innocent:

  • When should the task start? → “At computer startup”

    What action should the task perform? → “Start a program”

  • Program/script → Click browse and navigate to “C:\Program Files (x86)\QNAP\Qsync\Qsync.exe” (leave optional arguments or Start in blank)

  • Finish → Check the box for “When clicking on …”

In the task properties (window opens automatically), continue as follows:

  • For the user account, your account/username must be in the field next to the “Change User or Group” button!

  • When running the task… → “Run whether user is logged on or not”

  • Click “Ok” at the bottom to finalize the creation.

Function test:

  • Restart the PC – not just log off/on
  • After restart, log in and open Task Manager – you should now see an entry “QNAP Sync Client (32 Bit)” under the processes. If so, the client is running.
  • As a final test, make a change in the monitored folder and check the change.

Limitations/Uncertainties:

  • My test task was performed with Qsync Client 6.0.0.2418, Windows Professional 24H2. For example, I cannot say whether task creation works under Windows Home.
  • After logging in, the Qsync Client icon is NOT displayed in the tray, but the process is running.
  • Likewise, the Qsync overlay icons (green circle with check mark, for example) are NOT displayed in synchronized folders.
  • Both of these last behaviors do not change even if you start the client manually after logging in. Only when you manually end the task and then start the client manually does the usual behavior appear (tray icon and overlay icons).

Further notes:

  • Creating or editing tasks requires high privileges (admin); if your PC is, for example, part of a domain, you generally won’t be able to get such a “special exception” (security aspect).
  • Depending on how deep you want to get into tasks, you can also define additional “triggers” in the properties → e.g., a schedule
  • Depending on how much you rely on the client’s overlay icons, the absence of these can be “annoying” accordingly

Hope I could help a bit. If others have better ideas, feel free to share :slight_smile:

Regards

1 Like

Hello,

Thank you, that worked.

Environment:

Domain, Windows file server

I am the admin

Sync via VPN to NAS abroad

Since normally no one is logged in to the file server, the icons don’t matter.

Only after Windows updates the client didn’t run, but that’s now resolved.

(I haven’t been able to do a restart test on the central file server yet, but after starting the task, the sync continues even after logging off from the server.)

Thanks

Daniel

Hello,

I’m glad I could provide some food for thought.

Regards