Start a Conversation

Unsolved

S

1 Message

3732

August 9th, 2022 08:00

Azure Virtual Desktop MISSED HEARTBEAT THRESHOLD EXCEEDED

Dell ThinOS 2205 (9.3.1129)

bios 1.17.0

WVD 1.7.1540

We are having issues where our Wyse 5070s keep disconnecting from Azure Virtual Desktop with an error appearing as "MIssed Heartbeat Threshold Exceeded."

The issue seems to happen when users are using either the Windows Snipping tool or Techsmith SnagIt. The issue is totally random where it affects user A one day and user B the next.

 

Has anybody else experienced a similar issue? If so, how did you resolve it?

1 Message

September 16th, 2022 11:00

I've got the same issue on standard Remote Desktop Connection desktops. The error I'm getting is: "AVD: Missed Heartbeat Threshold exceeded" on 5070 terminals. We've updated ThinOS 9 (on 2205 - 9.3.1129) now and I updated the AVD version to 1.8.1819 and we're still seeing this issue. This has been a consistent error on all of our ThinOS 9 terminals across all the firmware versions we've tried, but we haven't found a solution for this.

1 Message

September 25th, 2022 14:00

We were also experiencing this issue across our fleet of thin clients, connections dropping from AVd with the same message. We found that you can set the heartbeat interval via regkeys, and we implemented what was recommended. Since implementing these, we have not had any further issues.

We use Nerdio Manager for our AVD management, so its easy to setup scripted actions to run this across your host pools - I am sure you can set it via GPO or other methods if required.

# Set script variables as required
$heartbeatInterval = 10000
$heartbeatWarnCount = 30
$heartbeatDropCount = 60
$listenerRegPath = "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations"

$tsPermissions = Get-WMIObject -class 'Win32_TSPermissionsSetting' -Namespace 'root\cimv2\terminalservices' | Where-Object { $_.TerminalName -like 'RDP-sxs*' }

foreach ($tsPermission in $tsPermissions) {
    $rdpsxsPath = "$listenerRegPath\$($tsPermission.TerminalName)"
    if (test-path $rdpsxsPath){
        $hbiexists = Get-ItemProperty -Path $rdpsxsPath -Name "HeartbeatInterval" -ErrorAction SilentlyContinue
        if (-not $hbiexists){
            New-ItemProperty -Path $rdpsxspath -Name "HeartbeatInterval" -PropertyType DWORD -Value $heartbeatInterval
        } else {
            Set-ItemProperty -Path $rdpsxspath -Name "HeartbeatInterval" -Value $heartbeatInterval
        }
        $hbwexists = Get-ItemProperty -Path $rdpsxsPath -Name "HeartbeatWarnCount" -ErrorAction SilentlyContinue
        if (-not $hbwexists){
            New-ItemProperty -Path $rdpsxspath -Name "HeartbeatWarnCount" -PropertyType DWORD -Value $heartbeatWarnCount
        } else {
            Set-ItemProperty -Path $rdpsxspath -Name "HeartbeatWarnCount" -Value $heartbeatWarnCount
        }
        $hbdexists = Get-ItemProperty -Path $rdpsxsPath -Name "HeartbeatDropCount" -ErrorAction SilentlyContinue
        if (-not $hbdexists){
            New-ItemProperty -Path $rdpsxspath -Name "HeartbeatDropCount" -PropertyType DWORD -Value $heartbeatDropCount
        } else {
            Set-ItemProperty -Path $rdpsxspath -Name "HeartbeatDropCount" -Value $heartbeatDropCount
        }
    }
}

1 Message

January 3rd, 2024 15:09

@MitchDMP are these values:

$heartbeatInterval = 10000 $heartbeatWarnCount = 30 $heartbeatDropCount = 60
in MS, seconds, minutes?

We are deploying AVD accessed from vendor laptops (as opposed to thin clients), would this work for us?  We are also using Nerdio so I am looking to your post to provide a solution for the identical issue cited in this thread.

Thank you!

No Events found!

Top