Trigger Batch from Rule on Windows

Thanks for the Feedback but I have no idea how to narrow down.

Just the “echo command” in the Batch is working
If I add a 2nd line to the Batch it will not work any longer. Also the echo is not shown in the logs anymore.

I checked several timeout commands (10, 100, 1000, 10000) without success.

If I add just “Notepad.exe” as a 2nd line I will get the error that this application is not written correctly or cannot be found. If I Change this to the fullpath in the Batch: c:\windows\systems32\notepad.exe there will no error in the log but Nothing happens.

Maybe you are Right that there can be permission Things but how can I realign the openhab permissions on a Windows machine? I havn’t found it.

All I see was that the Notepad Thing was working for all users so its hard for me to troubleshoot.

No idea. We’ve demonstrated that the openHAB side of things is working fine, you need to be looking at Windows expertise.

start in a batch file looks promising

Try this test again, and look to see if Notepad.exe in shown in Task Manager after triggering the rule.

When I attempt to use executeCommandLine (“notepad.exe”)
I don’t get any errors, notepad starts, as I can see it in Task Manager, but the notepad.exe never pops up.

I am still trying to figure this out.