Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • 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 2012
    • 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
0 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

Configure User’s Folder Redirection with Group Policy

February 3, 2023

Disable Built-in PDF Viewer in Microsoft Edge

February 3, 2023

Join a Windows Computer to an Active Directory...

February 2, 2023

Using Previous Command History in PowerShell Console

January 31, 2023

How to Install the PowerShell Active Directory Module...

January 31, 2023

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

  • Configure User’s Folder Redirection with Group Policy

    February 3, 2023
  • Using Previous Command History in PowerShell Console

    January 31, 2023
  • How to Install the PowerShell Active Directory Module and Manage AD?

    January 31, 2023
  • Finding Duplicate E-mail (SMTP) Addresses in Exchange

    January 27, 2023
  • How to Delete Old User Profiles in Windows?

    January 25, 2023
  • How to Install Free VMware Hypervisor (ESXi)?

    January 24, 2023
  • How to Enable TLS 1.2 on Windows?

    January 18, 2023
  • Allow or Prevent Non-Admin Users from Reboot/Shutdown Windows

    January 17, 2023
  • Fix: Can’t Extend Volume in Windows

    January 12, 2023
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11

    January 11, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • How to Allow Multiple RDP Sessions in Windows 10 and 11?
  • 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
  • How to Run Program without Admin Privileges and to Bypass UAC Prompt?
  • How to Create a Wi-Fi Hotspot on your Windows PC?
  • How to Sign an Unsigned Device Driver in Windows?
Footer Logo

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


Back To Top