It is not uncommon for an administrator to want to start Sauce Connect as a windows service. Currently, Sauce Connect is not setup to be a service but it can be made one via some external tools. The following are steps to do so, please note that a third party tool is used in this example so please review thoroughly and understand that this is more or less Windows administrator advice and not a product of Sauce Labs.
What you will need
1. A copy of the latest version of Sauce Connect.
2. A Windows Service manager, in the example here we use NSSM (non-sucky service manager).
Steps to implement
1) Download NSSM (non-sucky service manager) (http://nssm.cc/download) and expand it.
2) Navigate to the NSSM directory via the command line and create the service with the following command.
nssm install SauceConnect "C:/SauceConnect/bin/sc.exe" "-u " "-k "
3) Open up the windows services manager and ensure the new service (named SauceConnect) is set to start manually.
4) Create a batch file (let us call it restartSC.bat) that contains the following.
NET STOP SauceConnect
NET START SauceConnect
5) Open windows scheduler and set it to call restartSC.bat once a day.
Once the above is in place the tunnel should restart itself daily at the time of your choosing.