Killed Rclone the mounted drive won't disappear

What is the problem you are having with rclone?

Rclone is designed for user interaction. But I have a C# application that uses rclone as a background service. Of course I can use Process.Start() and Kill() method to control rclone. However, the mounted drive won't disappear after killing the rclone process.


Is there any elegant way to control Rclone Mount in C# application ?
Or How to close rclone (as a background process) in the right way ?

Run the command 'rclone version' and share the full output of the command.

rclone v1.58.1

  • os/version: Microsoft Windows 10 Home China 21H1 (64 bit)
  • os/kernel: 10.0.19043.1826 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.9
  • go/linking: dynamic
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount

The rclone config contents with secrets removed.

type = webdav
url =
vendor = other

A log from the command with the -vv flag

No log generated in the process when I killed rclone.

I have found on macOS and Linux that unmounting (preferable nicely but even forced) was the only reliable way to kill the process (daemon or otherwise). Killing the process sometimes worked or sometimes, especially on macOS, would leave things unstable until a full restart

1 Like

I just found out that rclone rc is the best and simplest way! :stuck_out_tongue_winking_eye:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.