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, environment power condition, etc, and once everything restarts, hamachi is in the "powered off" condition. Then we are screwed, because there is no remote access, and now a human being has to make a physical trip to the workstation to click on "power on".
Please add this functionality, I am a long time hamachi user. But this power off thing that is happening at random with windows 10 is really becoming an issue.
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.
13 Replies
- JerryIrons5 years agoActive Contributor
Yeah it has nothing to do with a paid subscription, I've had one for years and experienced this problem ever since windows 10 was born. There are several work arounds though if you read through the various discussions here.
- pablo28nj5 years agoVisitor
We have a paid subscription and the problem still exists.
It always happens in windows 10, randomly after a restart (could be after a windows update).
Windows 7 computers don't have this problem.
We noticed that turning off "auto update" in hamachi helps to reduce the frequency of this problem.
We experienced this issue with different paid accounts, different computer brands and different connection speeds, always happening randomly with windows 10.
Today is April 10th 2021, the problem is still not solved.
- beardbiz7 years agoNew Contributor
Only works with a paid subscription.
I paid, now it works.
- ganeshowen7 years agoActive Contributor
Ahh, we had an issue where once the user logged in hamachi would open but not connect to the vpn (which made remote work impractical). All the batch file does is instigate that connection from the backend of hamachi on startup (as a startup item). Getting the computer to execute a batch file before user login is it a bit beyond my expertise. As to the network ID have you tried user the network name as the ID? You may need to add some syntax if it is not a single word but there must be an identifier that hamachi uses when it logs in.
- beardbiz7 years agoNew Contributor
Looking at your screen shot I see I am looking at the same place you are. The only difference is my shows the network ID to be the same as the network. In otherwords, your network ID should be Arena if it is working like mine. One difference though, your type is gateway, mine is mesh. Could that make a difference?
Just to clarify, after rebooting my computer, Hamachi starts after I log in just fine. Which of course is no help at all. I need it to be working before logging in otherwise I can't get to it to log in. Is this what your batch file is suppose to fix? Or have I misunderstood.
- ganeshowen7 years agoActive Contributor
Hi,
I've attached a screenshot of what I see when my mouse hovers over the network. Where the red-line is where I see a numerical Network ID (XXX-XXX-XXX) that I used in my simple batch file.
Hope this helps.
- beardbiz7 years agoNew Contributor
ganeshowen:
you wrote: 2: Replace the "<network ID>" with the numerical identifier displayed when you hover over your Network in the Hamachi client.
When I hover over over my network it just gives me the network name as the network ID. All letters, no numbers.
- ganeshowen7 years agoActive Contributor
Hi guys,
I created a batch file that turns on hamachi and enables a network on startup. To get it to run subtletly on startup I created a shortcut to the file and changed the properties so it starts minimized.
Open notepad and paste in the following code.
cd C:\Program Files (x86)\LogMeIn Hamachi\x64 hamachi-2.exe --cli login hamachi-2.exe --cli go-online <network ID>
NB: 1: The first line will vary depending on the location of your hamachi install
2: Replace the "<network ID>" with the numerical identifier displayed when you hover over your Network in the Hamachi client.
Save As and add ".cmd" to the file. Store it somehwere safe (I put it in the hamachi folder) and create a shortcut.
Open start menu, type "run" and press enter.
Type "shell:startup" to open your startup folder and move the shortcut here. Finally right click on the shortcut, click properties and change the dropdown menu adjacent to "run" to Minimized.
Hope this helps, I'm not a coder so aplogies if this doesn't work for you. I built this out of some very basic how to guides and some trial and error with the hamachi-2.exe in CMD.
- JerryIrons7 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.
- nuncidvides7 years agoActive Contributor
Thanks nawcom for sharing this. This is extremely helpful and was not able to find any evidence of these functions existing when searching documentation. Really appreciate it!