it was case a).
The service.bat I used was calling "shutdown" from Windows.
After changing the script it works as expected.
Reply to this message by going to Community
Start a new discussion in Beginner's Corner at Community