Skip to content

Deploying on Windows as a background service

Snawoot edited this page Sep 30, 2023 · 1 revision

Deploying on Windows as a background service

Method 1

Use task scheduler to run command in background: https://pureinfotech.com/prevent-command-window-appearing-scheduled-tasks-windows-10/

Method 2

Use simple VBS wrapper to run a program without window: https://superuser.com/questions/1168587/how-to-run-an-exe-application-as-a-background-task-on-startup/1619817#1619817

Method 3 (best option)

Use NSSM to run any command as a service: https://nssm.cc/usage

Method 4

Use srvstart to run any command as a service: https://github.com/rozanski/srvstart