Using Syncthing in a WSL2 folder

If you use WSL then you might wonder how to use syncthing. It’s easy! I would recommend installing syncthing directly within the WSL container that you often use. After that just create a new shortcut within your Startup folder in the start menu:

%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup 
wsl.exe --exec syncthing



wsl.exe Options:
    --distribution, -d <Distro>
        Run the specified distribution.

    --user, -u <UserName>
        Run as the specified user.

That’s it !

2 Likes