since I am using some old embedded x86 hardware to run my easyIoT home server, I wanted to make easyIoT run as windows service, and have it start up automatically after a reboot. Today I stumbled across "nssm" (which means non-sucking service manager) and tried it... and it works.
In case anyone wants to do this, here are the steps:
Extract it to a directory, open an administrative cmd shell and "cd" to the directory you extracted nssm to.
Now run the following commands (path may need adjustment):
nssm install EasyIoT "C:\EasyIoT\EasyIoT.exe"
nssm set EasyIoT AppDirectory "C:\EasyIoT"
nssm set EasyIoT Description "EasyIoT home automation server"
nssm edit EasyIoT
to open the GUI service editor (nice thing!) and reconfigure the service account. You need an account which is member of the local "administrators" group, and which has "log on as a service"-Rights (google this if you're unsure about how to set this up). Click "Edit Service" to save your changes.
Thats it, now open services.msc and start your new EasyIoT Windows service.