Copy nssm.exe to same directory that rclone is in. I launched NSSM, by opening an elevated command line. Type cmd in the search bar and right click and choose “run as administrator.”
Application tab:
Path: C:\rclone\rclone.exe
Startup Directory: C:\rclone
Arguments: mount remote_crypt:/ S: –vfs-cache-mode writes –config “C:\rclone\rclone.conf” (double hyphen, optional if conf is in same folder)
mount –drive-chunk-size 128M remote:/ S:
mount –option UserName=windowsuser@address.com –vfs-cache-mode writes –no
--vfs-cache-mode=writes –dir-cache-time=10s –no-seek
scaleway_crypt:/ T:
Service name: Rclone Mount
Details tab: Display name: Rclone Mount Description : Automatically mounts the encrypted google drive using rclone.
Exit actions tab: Delay restart by: 10000 ms (10 seconds)
For mounting, it requires also winfsp : https://github.com/billziss-gh/winfsp/releases
Use nssm list and nssm edit "service name" from cmd to edit a service.
Remember that for troubleshooting direct rclone mount commands, it must not be done in administrator mode.
Also launch in an administrator cmd : netsh int tcp set global autotuninglevel=normal
rclone rcd --rc-web-gui
for media streaming
rclone mount GoogleDrive: X: --read-only
for editing files
rclone mount GoogleDrive: Y: --vfs-cache-mode=full