Log Me In Hamachi Crash Fix

Log Me In Hamachi Crash Fix

So at work we have to use Hamachi by Logmein. Which works great for our needs most of the time. However it has been flaky here and there. In the past I’ve used a batch file to make sure it’s running, which has worked good. But I found this new trick to fix the crash.

Now so far the trick in the video seems to work, but on the safe side I will also post a powershell script that you can set up as a Scheduled Task and that way there’s absolutely no way Hamachi will go down.

$ServiceName = 'Hamachi2Svc'
$arrService = Get-Service -Name $ServiceName
while ($arrService.Status -ne 'Running')
    Start-Service $ServiceName
    write-host $arrService.status
    write-host 'Service starting'
    Start-Sleep -seconds 60
    if ($arrService.Status -eq 'Running')
        Write-Host 'Service is now Running'

And there you have it. Again you need to set this up as a scheduled task. I usually only had issues with Hamachi when the system booted. So if you schedule this to happen when it starts up you should be all set.

Leave a Reply

Your email address will not be published. Required fields are marked *