Node.js apps running as services in Windows kiosk mode - best approach?

Hey folks!

We’ve built a little setup using Windows in kiosk mode. On boot, it logs into a kiosk user automatically.

We have two Node.js apps running:

  • One communicates over WebSockets, HTTP requests, and a serial port.
  • The other exposes a local HTTP server on port 3000 and also uses WebSockets.

Currently, they live in the admin account and run via PM2, but we need to log in there manually each time the machine reboots. That’s not ideal!

We want these apps to start automatically on boot without user intervention and run in the background, while the kiosk account stays active in the foreground.

I’m looking at options like NSSM to wrap them as Windows services, or even Docker to handle this better. Has anyone here done something like this? Would love to hear about your experience or any advice you’ve got!

Thanks a lot!