Not trying to beat a dead horse but. I saw @asdffdsa You mentioned mounting into folders instead of a full drive? I have my drive's linked to specific "mount/drive" points being drive letters https://i.imgur.com/RaRoBll.png. Was wondering if it would just be more efficient to mount them directly into folders for radarr/sonarr under "C:.Mount Points"? I'm also using nssm to run rclone mounts as a service upon boot, pain to reconfigure if I reinstall windows though, Didn't really find any other solution for mounting as a hidden window on start without a chance of accidently alt/win+tab'ing into it: https://i.imgur.com/Jx7F84h.png
What is your rclone version (output from rclone version)
go version: go1.15.8
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Above ^ windows/amd64 workstation pro
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Just noting that what makes your scheduled task run hidden in background is that it is running under the system account.
That is quite a misleading option (from Microsofts part). It is actually just for hiding the task from being listed within the task scheduler user interface - unless option View > Show Hidden Tasks is enabled.
My point was mainly that the hidden checkbox does not make it run hidden
Sure, for tasks run as regular/interactive user accounts, Run whether user is logged on or not will make it run hidden. But the Run with highest privileges will make rclone run elevated, does not that make the mount kind of useless as described here?
Also, on my computer processes always runs elevated when started from scheduled tasks with Run whether user is logged on or not option set, regardless of Run with highest privileges, which is confusing and annoying. This means to run rclone mount from scheduled task I either have to run it as system account, which makes the console window hidden and the mount accessible to all users, or run it with only when user is logged on, which makes it accessible to only me but does not hide the console window. Not sure if this is Windows version specific behavior and/or installation specific policy configuration or something..
I see, well task scheduler works! It creates only the rclone process from what I can see, so that's 2 less process running for me. + its easier then fiddling with making a bat file that I have to force run every reinstall.
easier to edit the actual mount command instead of fishing through the registry to find the service. The way I was doing it before was just silly... + had to keep same password for importing, then go into the service itself and rename/reconfigure login details as running from system caused me problems. but from what I can see running it as system from task manager as elevated solved the issue with no access.
Ah okay, and well I don't know if its possible due to how rclone handles lines on bat files but. Is it possible to mount more then one mount at a time in one bat file or do I have to do multiple? I've tried in the past and it only manages to mount one drive and not them all.
both yours and albertony's work correctly. Only other questions I had was; 1. should I clean my mount script / config up at all in your opinion? And 2. I have the first 2 mounts strictly for cleaning up deleted files that are changed via sync commands. Would there be a better way to go about this, or would this still be the proper way, as I do see it fails to clean up some .temp folders from time to time.