Search code examples
batch-filewindows-servicesstartup-folder

Running .bat through Windows Services vs Startup Folder


The software(Java app) I'm working on is currently started through a batch file set up as a windows service, but it looks kind of a hassle to set it up for each computer, when I can just write a .bat file that creates a shortcut to the startup folder from a simple double-click. Are there any advantages to using windows services instead of the startup folder in windows 7?


Solution

  • The service will run automatically when windows boots up and also restart automatically if the service fails. You can manage service options by running services.msc

    https://technet.microsoft.com/en-us/library/cc755249.aspx