Post Reply 
Remote Installation
19-02-2021, 18:30
Post: #1
Remote Installation
I have MinimServer installed on a PC that I access remotely. I have noticed that if the PC reboots automatically after, say, a Windows update, MinimServer will not run until I have logged in to the PC remotely. Is this a known issue (possibly with Java), and if so, is there a workaround?

Thank you
Find all posts by this user
Quote this message in a reply
20-02-2021, 23:38
Post: #2
RE: Remote Installation
The simplest way to do this is to create a task in Task Scheduler. For a detailed explanation of the trade-offs of the various options, see this thread.

In summary, if you decide to do this using Task Scheduler, you should set

Trigger: At system startup
Run whether user is logged on or not
Start a program: javaw
Add arguments: -jar "C:\Program Files\MinimServer\lib\mserver.jar" --set watch.view=log
Start in: C:\Program Files\MinimServer\lib
Find all posts by this user
Quote this message in a reply
21-02-2021, 11:16
Post: #3
RE: Remote Installation
(20-02-2021 23:38)simoncn Wrote:  The simplest way to do this is to create a task in Task Scheduler. For a detailed explanation of the trade-offs of the various options, see this thread.

In summary, if you decide to do this using Task Scheduler, you should set

Trigger: At system startup
Run whether user is logged on or not
Start a program: javaw
Add arguments: -jar "C:\Program Files\MinimServer\lib\mserver.jar" --set watch.view=log
Start in: C:\Program Files\MinimServer\lib

Thank you, Simon, that works. The only oddity is that MinimWatch is now picking up another instance of MinimServer that I am running on an entirely different (remote) network. However, it is red as (unsurprisingly) it cannot find the directory.
Find all posts by this user
Quote this message in a reply
21-02-2021, 21:44
Post: #4
RE: Remote Installation
Is the MinimServer instance you want to see in MinimWatch on a different subnet from the instance you don't want to see? If so, MinimWatch might be selecting the wrong subnet and you might need to set the ohnet.subnet property in the MinimWatch properties (not the MinimServer properties) to fix this. For more infomation about this, see this section.

You can check which subnet MinimWatch is using by viewing the MinimWatch log (not the MinimServer log). To view the MinimWatch log, select Options > Show log (watch) from the MinimWatch minim icon.
Find all posts by this user
Quote this message in a reply
22-02-2021, 18:05
Post: #5
RE: Remote Installation
I am seeing the instances of MinimServer that I want to see, but also another instance that is on an entirely different network (in a different location).
Find all posts by this user
Quote this message in a reply
22-02-2021, 18:37
Post: #6
RE: Remote Installation
If the IP address of this instance is on the same local subnet as the instances that you want to see, MinimWatch will pick it up.
Find all posts by this user
Quote this message in a reply
22-02-2021, 19:04
Post: #7
RE: Remote Installation
It has started to pick it up only since I set up a scheduled task to start MinimServer. It is clearly some sort of quirk - but as it is not causing a problem, I will not worry about it.
Find all posts by this user
Quote this message in a reply
22-02-2021, 20:06
Post: #8
RE: Remote Installation
I don't see how this could affect what MinimServer instances are picked up by MinimWatch.

Is the unexpected MinimServer instance on the same subnet as the expected MinimServer instances?
Find all posts by this user
Quote this message in a reply
22-02-2021, 22:29
Post: #9
RE: Remote Installation
It is on a different subnet.
Find all posts by this user
Quote this message in a reply
22-02-2021, 23:04
Post: #10
RE: Remote Installation
Something strange is happening. In the MinimWatch log (not the MinimServer log), what is the value shown for the active subnet?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)