Setup Windows Task Scheduler
Using Windows built-in Task Scheduler to run Rclone mount silently
Step 2: Create Task
In Task Scheduler Library, click on Create Basic Task...

Create task's Name and Description

Choose When the computer starts

Choose Start a program

Enter your Rclone mount command

It will ask to move the arg into arguments field, choose Yes

Click on Open the Properties diaglog for this task when click Finish

Step 3: Settings for Task
Click on Change User or Group...

Click on Advanced...

Find now, choose SYSTEM, OK and OK again get to back to Task Properties

In the Conditions tab, untick Start the task only if the computer is on AC power

You can edit more in Settings tab...

Step 4: In case your computer hasn't connect to a network yet
Sometimes your computer hasn't connected to a network before the Rclone mount fails, which will lead to the task stopping. To prevent this, we will make a trigger to trigger the task every time your computer connects to a network
In the Trigger tab, click on New...

Set up like me: Begin the task:
On an eventLog:Microsoft-Windows-NetworkProfile/OperationalSource:NetworkProfileEvent ID:10000
But note that, the task will be triggered even if it has an internet connection or not 😐
Last updated

