I have 2 Windows boxes, 1 is Windows 10 and 1 is Windows Server 2019. Both are stand-alone. I installed NoMachine on both. I want to remote from Windows 10 to Windows Server 2019. I have a simple batch script or powershell script that I want to run at the UserScriptAfterSessionStart in the node.cfg. I tried
UserScriptAfterSessionStart = "c:\temp\myscript.bat" and UserScriptAfterSessionStar = "c:/temp/myscript.bat" and UserScriptAfterSessionStart "c:\temp\myscript.bat" and UserScriptAfterSessionStart "c:/temp/myscript.bat"
but none executes after I connected to Windows Server 2019. I executed the myscript.bat file manually and it works as expected. Please help.