Mounting rclone without showing a CMD windowMounting e.g. gsuite via Windows first requires WinFSP to be installed and then a mount command, preferably as the user that will be browsing and using it, or else it won't show up in explorer for that user. When creating a batch script for this and running it manually or via task scheduler, it will show a window because of this. I didn't want this on my taskbar even minimized, so I've written a small C# program that will fire up the mount command as a hidden process and then close itself, leaving rclone open but hidden and only visible as a process in task manager. You may have to fire it from another batch script for it to work as expected (I use the task scheduler/taskschd.msc with a 10 sec delay for NIC to get online first.
[ BatchScriptStarter.exe ] (sha1: aacca52e31544b9268b2d73402123f1758eadd7a + signed).
Just feed the full path of the script as 1st argument
Mount Script Example
@ECHO OFF MODE CON CODEPAGE SELECT=1252 >nul 2>&1 TITLE Myfolder Mount - GSuite Drive COLOR 17 set remotemountname="myremote" set mainfoldername="myfolder" set rcloneexecutable="C:\somewhere\rclone.exe" set logfilelocation="C:\somewhere\rclonemount.log" del %logfilelocation% >nul 2>&1 %rcloneexecutable% mount %remotemountname%: I: ^ --allow-other ^ --allow-non-empty ^ --dir-cache-time 12h ^ --buffer-size 16M ^ --vfs-read-chunk-size 32M ^ --vfs-read-chunk-size-limit 1G ^ --vfs-cache-max-age 12h ^ --vfs-cache-mode writes ^ --attr-timeout 1s ^ --tpslimit 10 ^ --tpslimit-burst 10 ^ --cache-dir E:\rclonecacheI
Dealing with up/down lockups.
I tend to use 2 mounts, I: for incoming traffic, like Plex. And U: for outgoing, like uploads from Sonarr etc. That way one won't lock up the other and people can stream from I: while I upload without issues on U:. I also tend to use --bwlimit on the outgoing to leave some headroom for other traffic. I only use -v --log-file when debugging. I use a dedicated 120+ GB cache SSD (E:). I wouldn't go any smaller if uploading full seasons.