Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows Server 2019 / Black Screen While Using Windows Remote Desktop (RDP) Connection

October 19, 2021 Windows 10Windows Server 2016Windows Server 2019

Black Screen While Using Windows Remote Desktop (RDP) Connection

In this article, we will show what to do if you see a black screen instead of a desktop when you connect to a remote Windows host via RDP. This problem often occurs in the latest Windows 10 and Windows Server 2019 builds, and I decided to provide some information about typical solutions from our internal HelpDesk knowledge base.

So you are trying to connect to a remote computer using a standard Windows RDP client (mstsc.exe) and after entering your credentials you see a black screen instead of a desktop.

Black screen when logging in to Remote Desktop (RDP) Windows host

There are a lot of reasons why a black screen appears in an RDP session. It is quite hard to diagnose or categorize them.

  1. Press CTRL+ALT+END in your RDP session (this also allows you to change a password in your RDP session) and then click Cancel. This sometimes allows you to get back to a desktop in an RDP session. If this doesn’t help, open the Task Manager from this screen and run the File Explorer process (File -> Run new task -> explorer.exe -> OK); windows cancel rdp session
  2. Make sure that caching is disabled in the RDP client settings (disable the Persistent bitmap caching option on the Experience tab) and the screen resolution supported by the remote host is used (set lower screen resolution in the Display tab or try to use the Full Screen mode); windows rdp client disable the Persistent bitmap caching
  3. Make sure that both your computer and the remote one are using the latest video driver versions. Try to use automatic driver update (if you have not disabled it, or download and install the driver manually);
    update wddm vidio driver to fix rdp black screen
    In some cases, you must set using XDDM video driver instead of the WDDM one. To do it, open the Local Group Policy Editor (gpedit.msc) and set Use WDDM graphics display driver for Remote Desktop Connections = Disabled in Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment (or the same in the registry: reg add “HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services” /v “fEnableWddmDriver” /t REG_DWORD /d 0 /f). Update the Group Policy settings on your RDP/RDS host; disable using of WDDM graphics display driver for Remote Desktop Connections
  4. In Windows Server 2016 with configured RDP session timeouts, I came across user complaints that after trying to connect to a disconnected session it didn’t activate correctly and they saw a black screen. Only a user can end up their RDP session (CTRL+ALT+End -> Sign out) or an administrator can forcefully close it (like it is described in the article Remote Desktop Services Is Currently Busy). Or configure more aggressive settings to terminate disconnected user sessions;
  5. Disable using of UDP port 3389 for RDP traffic (it is used together with the default RDP TCP Port 3389 on Windows Server 2012 R2/Windows 8.1 and newer). This can be done by enabling the Turn off UDP on client option in local GPO on the client device (Computer Configuration -> Policies -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Connection Client) or through the registry: reg add “HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client” /v “fClientDisableUDP” /t REG_DWORD /d 1 /f. To disable UDP protocol for the RDP traffic on the server-side, enable the GPO parameter …Remote Desktop Session Host -> Connections -> Select RDP transport protocols = Use only TCP ; disable udp for RDP connections
  6. Sometimes on RDS hosts, it is necessary to restart the Audiosrv (Windows Audio) service, after which the user profile is loaded and the Desktop appears.

Microsoft offers some other recommendations that do not always help, but can fix the source of the problem:

  1. Make sure that your RDP host, client, and all network equipment between them are configured for the same MTU size;
  2. Disable RDP traffic compression in the local GPO editor: Configure compression for RemoteFX data = Do not use an RDP compression algorithm (Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host); disable rdp compression
  3. If the problem of a black screen in an RDP session occurs on Windows Server 2019 or Windows 10 1809+, open the Event Viewer and check Application and Service Logs –> Microsoft –> Windows –> RemoteDesktopService-RdpCoreTS. See if there are any errors like ‘Failed GetConnectionProperty’ in CUMRDPConnection::QueryProperty at 2884 err=[0x80004001]‘, ‘Connection doesn’t support logon error redirector’ in CUMRDPConnection::GetLogonErrorRedirector at 4199 err=[0x80004001]. If you see them, disable the URCP (Universal Rate Control Protocol) used to transfer some data between your RDP client and a server over UDP (MS-RDPEUDP2):
    reg add “HKLM\SOFTWARE\Microsoft\Terminal Server Client” /v “UseURCP” /t REG_DWORD /d 0 /f
    Or you can set this registry parameter using PowerShell:
    New-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Terminal Server Client' -Name UseURCP -PropertyType DWord -Value 0
1 comment
0
Facebook Twitter Google + Pinterest
previous post
Find the Current User Logged on a Remote Computer
next post
KMS Activation of Windows Server 2022 and 2019

Related Reading

How to Connect VPN Before Windows Logon

November 14, 2023

Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

November 7, 2023

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

How to Use Ansible to Manage Windows Machines

September 25, 2023

1 comment

serg May 31, 2023 - 4:59 am

Things I’ve tried:
Disabled RemoteFX
Disabled UDP protocol (via both “Turn Off UDP On Client” and “Select RDP transport protocols”)
Disabled WDDM driver
Disabled the URCP (Universal Rate Control Protocol)
Reduced color-bit depth
Updated graphics drivers to current
Set physical graphics adapter to use “Microsoft Basic Display Adapter”
Disabled Windows Firewall

Nothing seems to resolve the situation.

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • Updating List of Trusted Root Certificates in Windows
  • How to Create a Wi-Fi Hotspot on your Windows PC
  • How to Sign an Unsigned Device Driver in Windows
  • How to Download APPX File from Microsoft Store for Offline Installation?
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top