is there an easy way to create a windows service? pointing to the swipl.exe? , let it run in/from a certain working-directory, and let it load the start .pl file from that directory, so that the swi-server will start automatically after system reboot on windows server.
this is needed because of the windows server updates after which the whole system will reboot
I’m not an expert in this, but I think Windows expects a service to react to certain events and an executable that is not aware of this isn’t accepted. That seems to be confirmed if you search the web for “windows service wrapper”. For Unix the stuff required to be a service is in various libraries of the clib package and the HTTP support ships with library(http/http_unix_daemon) to deal with these issues.
Something similar should probably be written for Windows, though a generic wrapper process may do the job. As most modern Unix daemon managers require none or little special features from a service process, making most of the above obsolete …