Note that starting Syncthing on login is the preferred approach forĪlmost any end-user scenario. ThisĬan be achieved using NSSM, the “Non-Sucking Service Manager”. Is best to create a service that runs as soon as Windows starts. Run long times after a reboot without anyone logged in. This is not optimal on servers where a machine can With the above configuration, Syncthing only starts when a user logs on to the machine. Therefore, you must ensure that you set a GUI password, or run Syncthing Secure Syncthing’s GUI (and REST API), then any process running withĪny permissions can read/write any file on your filesystem, by opening There are important security considerations with this approach. Than forcing you to start a Web browser to interact with Syncthing). by behaving as a “proper” Windows application, rather These typically provide an installer,Īn option to start the program automatically, and a more polished userĮxperience (e.g. There are a number of third-party utilities which aim to help installĪnd run Syncthing more easily. Install and run using third-party tools ¶ You can still access the interface by opening inĪ Web browser. No console or browser window will pop-up, but Syncthing will now automatically start the next time you log on to your ![]() Right-click empty space in the folder and choose “New”, and thenĮnter the path to syncthing.exe in “Type the location of the item:”įollowed by -no-console -no-browser (for example C:\syncthing\syncthing.exe -no-console -no-browser). Into the Address Bar in Windows Explorer, and press Enter.Īlternatively, in newer versions of Windows, open shell:startup Starting Syncthing at user log on, without a console window or browserĬopy and paste %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup Run at user log on using the Startup folder ¶ In order to actuallyĮxit Syncthing, open the Web GUI and press the “Shutdown” button under Terminates only the monitor process of Syncthing. This will allow you to use paths relative to thisĭue to technical limitations, ending the task in Task Scheduler Select the previously created action and click “Edit…”.Įnter the path to the parent folder of syncthing.exe in “Start The connection changes or becomes unavailable later. Note that once started, Syncthing will not stop running if Syncthing to start only on a wired Internet connection, and not on Use this option on a laptop, when you want Uncheck “Start the task only if the computer is on AC power”.Ĭheck “Start only if the following network connection is available”Īnd set to “Network”. Unchecking “Start the task only if the computer is on AC power”ĭoes not disable this option. Uncheck “Stop if the computer switches to battery power”. Make selective use of them depending on your needs. To run properly, but can offer additional functionality. Uncheck “Stop task if it runs longer than:”.Īdditional configuration in Task Scheduler ¶ Stored on a non-system partition protected by BitLocker, as theyĮnter the path to syncthing.exe in “Program/script:” (forĮnter -no-console -no-browser in “Add arguments (optional):” Do not use this method if your Syncthing folders are Soon as Windows starts, and even when not being logged on to your If unsure, read the explanations underneath each of the twoĬhoose this option if you intend to use Syncthing only when beingĬhoose this option if you want Syncthing to open in background as ![]() ![]() Pick your preferred method and follow the instructionsīelow. Syncthing can be set up to start either at user log on, or at system Select “Run whether user is logged on or not”. Opening taskschd.msc from the Run command ( Win R).Ĭreate a new Task (“Actions” sidebar > “Create Task…”). Start the Task Scheduler either by going to Start Menu > Windows Administrative Tools and clicking on Task Scheduler, or by In both cases, Syncthing will open and stay invisible inįor technical information about Task Scheduler visit Start Syncthing automatically either at user log on, or at system Task Scheduler is a built-in administrative tool, which can be used to Run at user log on or at system startup using Task Scheduler ¶ Run as a service independent of user log on Run at user log on using the Startup folder Run at user log on or at system startup using Task Scheduler There is currently no official installer available for Windows.
0 Comments
Leave a Reply. |