Windows services are started once for each machine.
The account under which the service runs can be specified in the Windows Services MMC. Typically, the service will run under the Local System account.
If you want your application to run only once on a computer, you are headed in the right direction using the service. However, if you want it to run on schedule, a simple application that runs the Windows Task Scheduler might be the best route.
source
share