This guide will walk you through the process of setting up Tailscale and RustDesk to start automatically and unattended when your system starts. We’ll achieve this using Task Scheduler in Windows.
- Tailscale installed and running on your system.
- RustDesk installed and configured.
- Press
Win + R
to open the Run dialog. - Type
taskschd.msc
and press Enter. This will open the Task Scheduler.
- In the Task Scheduler window, click Create Task from the right panel.
- Name your task Tailscale Unattended Startup.
- Under the Security Options section, select Run whether user is logged on or not.
- Check Run with highest privileges.
- Switch to the Triggers tab.
- Click New and set the following:
- Begin the task: At startup.
- Click OK.
- Switch to the Actions tab.
- Click New and configure the action:
- Action: Start a program.
- Program/script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
- Arguments:
-Command "tailscale up --unattended"
- Click OK.
- Switch to the Conditions tab (you can leave the defaults or adjust to your needs).
- Click OK to create the task.
- When prompted, enter your user credentials.
Tailscale is now configured to automatically run in unattended mode when your PC starts up.
- Press
Win + R
to open the Run dialog. - Type
taskschd.msc
and press Enter to open the Task Scheduler.
- In the Task Scheduler window, click Create Task.
- Name your task RustDesk Unattended Startup.
- Under the Security Options, select Run whether user is logged on or not.
- Check Run with highest privileges.
- Switch to the Triggers tab.
- Click New and set the following:
- Begin the task: At startup.
- Click OK.
- Switch to the Actions tab.
- Click New and configure the action:
- Action: Start a program.
- Program/script:
"C:\Program Files\RustDesk\RustDesk.exe"
- Arguments:
--tray
- Click OK.
- Switch to the Conditions tab (again, leave the defaults or adjust according to your needs).
- Click OK to create the task.
- When prompted, enter your user credentials.
RustDesk is now configured to start in the system tray unattended on startup.
With these steps, both Tailscale and RustDesk will run automatically and unattended when your Windows machine starts up. This ensures you are always connected via Tailscale and your RustDesk session is ready to go without needing manual intervention.
Happy automating!