Running EasyIoT as a Windows Service

9 years 6 months ago #1743 by Dennis
Hello,

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:

download nssm from here:
nssm.cc/download

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"

now run

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. B)

have fun,

regards
The following user(s) said Thank You: EasyIoT, cdj, osalval, NightOne, cwalger, jvo, kokkoro136

Please Log in or Create an account to join the conversation.

9 years 2 weeks ago - 9 years 2 weeks ago #2652 by BadBallscrewBob
Did a similar one for win 7 and attached as a PDF.

It was my first attempt so If i missed anything let me know and I will update it.

Just starting to get to grips with the server side.

Do unto others before they get chance to scr3w you over

Please Log in or Create an account to join the conversation.

Time to create page: 0.200 seconds

Forum latest

  • No posts to display.