![]() |
|
Remote execute MinimServer with psexec - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: Support (/forumdisplay.php?fid=4) +--- Thread: Remote execute MinimServer with psexec (/showthread.php?tid=5716) |
Remote execute MinimServer with psexec - Bummer - 12-06-2020 20:48 Hi Simon, I would like to start MinimServer on my Windows Audioserver with psexec64 remotely. When I use this command-line: C:\Program Files\Java\jre1.8.0_251\bin\javaw.exe" -jar "C:\Program Files\MinimServer\lib\mserver.jar" MinimServer starts without configuration and with a different name = MinimServer [Audioserver]. I think this happens because MinimServer doesn`t use the startup directory location to compute the location of its configuration files. Please could you give me the complete command-line, including the startup directory, which is in my case: "C:\Program Files\MinimServer\lib" Thank you very much in advance Martin RE: Remote execute MinimServer with psexec - simoncn - 12-06-2020 22:28 The startup directory should be "C:\Program Files\MinimServer\lib" and the display name MinimServer[Audioserver] is the default if the hostname of your machine is Audioserver. You can change this name by setting the displayName property on the Properties page. RE: Remote execute MinimServer with psexec - Bummer - 12-06-2020 22:57 Hi Simon, (12-06-2020 22:28)simoncn Wrote: The startup directory should be "C:\Program Files\MinimServer\lib" and the name MinimServer[Audioserver] is correct if the hostname of your machine is Audioserver. Yes, but regarding the start up directory, I have to use the right command to pass it over. It has something to do with -w. So what is the complete and exact command-line including the start up directory? Martin RE: Remote execute MinimServer with psexec - simoncn - 13-06-2020 09:15 You need to add -w "C:\Program Files\MinimServer\lib" to the command you are using currently. For example, the command would be something like: psexec64 my-remote-computer -w "C:\Program Files\MinimServer\lib" "C:\Program Files\Java\jre1.8.0_251\bin\javaw.exe" -jar "C:\Program Files\MinimServer\lib\mserver.jar" RE: Remote execute MinimServer with psexec - Bummer - 13-06-2020 11:15 (13-06-2020 09:15)simoncn Wrote: You need to add -w "C:\Program Files\MinimServer\lib" to the command you are using currently. I found it out too! What I didn't know was, where I had to place the -w argument into the row. After some attempts it worked.The only difference to a manual start on the remote PC is, that the minim watch icon is not to be seen. Thanks for your help Martin |