How to Fix Remote Desktop Blue Screen on Windows 2019

Problem: when an RDP session is idle for an extended period of time, that session becomes stale and even blue screens indefinitely. Often, a workaround of ‘kicking’ that user’s session is required for re-connections. This appears to occur more often between Windows 10 clients and Windows Server 2019.

Resolution:

$registryPath='REGISTRY::HKLM\software\policies\microsoft\windows nt\Terminal Services\Client'
$regKeyname='fClientDisableUDP'
$regValue=1
$regValueType='DWORD'

New-ItemProperty -Path $registryPath -Name $regKeyname -Value $regValue -PropertyType $regValueType -Force

Leave a Reply

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