headscale: Windows configuration

Recent Tailscale versions (1.34.0 and higher)

Tailscale added Fast User Switching in version 1.34 and you can now use the new login command to connect to one or more headscale (and Tailscale) servers. The previously used profiles does not have an effect anymore.

Use Tailscale's login command to add your profile:

tailscale login --login-server {{.URL}}

Windows registry configuration (1.32.0 and lower)

This page provides Windows registry information for the official Windows Tailscale client.

The registry file will configure Tailscale to use {{.URL}} as its control server.

Caution

You should always download and inspect the registry file before installing it:

curl {{.URL}}/windows/tailscale.reg

Installation

Headscale can be set to the default server by running the registry file:

Windows registry file

  1. Download the registry file, then run it
  2. Follow the prompts
  3. Install and run the official windows Tailscale client
  4. When the installation has finished, start Tailscale, and log in by clicking the icon in the system tray

Or using REG:

Open command prompt with Administrator rights. Issue the following commands to add the required registry entries:

    REG ADD "HKLM\Software\Tailscale IPN" /v UnattendedMode /t REG_SZ /d always
      REG ADD "HKLM\Software\Tailscale IPN" /v LoginURL /t REG_SZ /d "{{.URL}}"
  

Or using Powershell

Open Powershell with Administrator rights. Issue the following commands to add the required registry entries:

    New-ItemProperty -Path 'HKLM:\Software\Tailscale IPN' -Name UnattendedMode -PropertyType String -Value always
      New-ItemProperty -Path 'HKLM:\Software\Tailscale IPN' -Name LoginURL -PropertyType String -Value "{{.URL}}"
  

Finally, restart Tailscale and log in.