Black Screen while RDP on Windows-10

Sajath PS 51 Reputation points
2021-07-25T14:17:29.373+00:00

Hello,
We are using Windows-10 for Desktop application. Since we hare accessing all the PCs from remote, when we try to connect the PC, Black screen is getting and after sometime Message is popping " Failed to reconnect to your remote session. Please try to reconnect again". Once this message appeared, It wont be connected until PC restarted. Once PC restarted, 2-3 time RDP will be connected, after that again same will appear. We tried basic which seen in google like Disable persistent bitmap cache etc. but issue is still persisting.

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,226 questions
{count} vote

Accepted answer
  1. Floris @ Spruijt IT Consultancy 81 Reputation points
    2021-10-06T12:49:15.197+00:00

    I can confirm that "Prevent installation of devices not described by other policy setting", which I changed to "Not Configured" works !!!

    But ! there was an issue with de device setup class settings in the GPO System/Device Installation/Device Installation Restrictions: "Allow non-administrators to install drivers for these device setup classes" or "Allow installation of devices using drivers that match these device setup classes"

    I hade some default classes defined in there and the Mouse setup class {4d36e96f-e325-11ce-bfc1-08002be10318} was entered with a trailing space :-)

    in the Windows\INF\setupapi.dev.log i noticed the following:

         dvi: Class GUID of device changed to: {4d36e96f-e325-11ce-bfc1-08002be10318}.
         ndv: {Core Device Install} 14:23:30.993
         dvi:      {Install Device - TERMINPUT_BUS\UMB\2&2C22BCC9&0&SESSION13MOUSE1} 14:23:31.009
         dvi:           Device Status: 0x01802400 [0x01 - 0xc0000361]
         dvi:           Parent Device: UMB\UMB\1&841921d&0&TERMINPUT_BUS
    !!!  pol:           The device is explicitly restricted by the following policy settings:
    !!!  pol:           [-] Restricted installation of devices not described by policy
    !!!  pol:      {Device installation policy check [TERMINPUT_BUS\UMB\2&2C22BCC9&0&SESSION13MOUSE1] exit(0xe0000248)}
    !!!  dvi:      Installation of device is blocked by policy!
         dvi:      Device Status: 0x01802400 [0x01]
         dvi: {Install Device - exit(0xe0000248)} 14:23:31.040
         dvi: {Core Device Install - exit(0xe0000248)} 14:23:31.056
    

    Once i remove the trailing space in de GPO the logs shows: (after gpupdate)

    : Previously blocked device is now allowed by policy [TERMINPUT_BUS\UMB\2&2C22BCC9&0&SESSION13MOUSE1]
         pol: {Device Removal Initiated by Policy Change [TERMINPUT_BUS\UMB\2&2C22BCC9&0&SESSION13MOUSE1]}
    

    So if you hav eany weird issues with RDP, not connecting, black screen or even disconnects after logon check the device log for device installation issues :-)

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Harsha J K 11 Reputation points
    2021-11-10T08:07:15.54+00:00
    1. Set the RDC display options to "Full Screen" (usually the default).
    2. Press "Ctrl + Shift + Esc" to bring up the task manager.
    3. In the task manager app, click File -> Run new task
    4. Type "explorer" and press enter.

    After following the above steps you should be able to see the Desktop load completely.

    2 people found this answer helpful.

  2. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,671 Reputation points Microsoft Vendor
    2021-07-26T03:30:03.157+00:00

    Hi,

    Thank you for posting your issue to Q&A forum.

    Please kindly try below solution to see if they can help to resolve your problem.

    1. When black screen displays, Press Alt+Ctrl+End to see if task manager will show.
    2. Then click cancel and see if desktop will show
    3. If only Task Manager but no Desktop appears try running Explorer from Task Manager: File > New Task > Explorer.exe

    Also, please try to configure below group policies to see if the issue could resolved.

    On the client machine:
    Computer Configuration>Administrative Templates>Windows Components>Remote Desktop Services>Remote Desktop Connection Client
    Turn Off UDP On Client - Enabled

    On the remote machine:
    Computer Configuration>Administrative Templates>Windows Components>Remote Desktop Services>Remote Desktop Session Host>Remote Session Environment
    WDDM graphics display driver for Remote Desktop Connections - Disabled

    Thanks,


    If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.