There are several ways to do this,
Create a file with the extension .cmd and just add what you write to CMD Prompt to start the service as the contents of this file.
node Path:\service.js 'Assumes path to node.exe is set
Right-click and create a shortcut for this file and drag the shortcut to the Launch folder.
Start โ All programs โ Start with the right mouse button โ Open
Task Scheduler can also be used.
Now there are some NPM modules for managing node processes. See forever and PM2 .
source share