On Debian I could just type:
systemctl --user enable --now syncthing.service
Native systemd on Windows would be awesome. Microsoft should hire the creator of systemd...
It's not fair to blame Windows for the developers of an app not using its features. Similarly, if syncthing didn't bother to create a unit file on Linux, your example would no longer be a simple one liner. That wouldn't be systemd's fault though.
https://learn.microsoft.com/en-us/windows-server/administrat...
myservice.exe /install
Of course, the application must support the service interface[2] to do this, which is like providing the .service file for systemd.The key difference is that it's built into the application[3] in Windows, not external like with systemd, which has pros and cons.
[1]: https://learn.microsoft.com/en-us/windows-server/administrat...
[2]: https://learn.microsoft.com/en-us/windows/win32/services/ser...
[3]: https://learn.microsoft.com/en-us/windows/win32/services/ser...