The GoTo Community is currently experiencing some technical issues affecting new posts and comments. We are actively working with our service provider and apologize for the frustration.
Forum Discussion
JerryIrons
8 years agoActive Contributor
Hamachi not powering on after computer restart
Can you please provide the option to power on hamachi from a command line? This is really becoming a problem, here is what happens: workstation restarts, due to windows operating system update, env...
- 7 years ago
So, I've figured out a way to deal with this. I wrote a windows service that monitors the logmein service and it's power on status. If either get turned off my service restarts them. So far has been working very well and ended the random shutdowns that can happen.
nuncidvides
7 years agoActive Contributor
Hi Jerry. Can you share more details of how you wrote this Windows service to monitor the LogMeIn application's power status? I've been encountering the same issue. I am able to tell whether the Hamachi service is running, but have been unable to determine whether it's powered on via Windows.
JerryIrons
7 years agoActive Contributor
So there is a an ini file that hamachi uses, in the windows serviceprofiles area.
h2-engine.ini
In this file, there is a reconnect line
Reconnect 1 means powered on
Reconnect 0 means powered off
Basically the service I wrote polls that file every so often, if it finds the state powered off, it stops the service, changes that line, and then restarts the service. It also checks to make sure the service is running and also starts it up if the service is stopped. I also keep the hamachi in "do not self update" mode...
The other suggestion is good too.