By playing around a bit, I found a working solution (Windows 10).
-> Delay qBittorrent at startup!
Preparations:
Make sure Your NAS drive(s) are properly mounted at startup (persistent mounting).
If using VPN: Verify that Your VPS is activated/connected at startup.
Configure qBittorrent:
In settings, disable qBittorrent autostart:
Create an entry in "Task Scheduler" for delayed startup (3 min delay in example below) of qBittorrent:
(Use "Powershell" in 'Administrator' mode!)
Code: Select all
Schtasks /Create /TN Launch_qBittorrent /TR "C:\Program Files\qBittorrent\qbittorrent.exe" /SC ONLOGON /DELAY 0003:00
This delay gives system enough time to complete all network & VPN related tasks before firing up qBittorrent.
Problem solved!