Remoteapp session shadowing black screen issue in windows server 2022 Remote Desktop Services implementation

Guillermo Feijóo Gavari 11 Reputation points
2022-11-03T13:18:18.543+00:00

Hi experts

New deployment, all windows server 2022 Datacenter Edition.
BROKER2022 as the session broker for the entire deployment.
PROFILE2022 as file server for user´s profile shared folder. (Fslogix profile management -had a funny number of hours dealing with outlook search strange results-)
TS012022, TS022022, TS032022 and TS042022 as RDSH-Remote desktop collection servers (only one collection)
REMAPPS012022 and REMAPPS022022 as RDSH-remoteapps collection servers (only one collection)
All RDSH are under same GPOs.

Remote desktop collection session shadowing is working fine as espected.
Remoteapp collection session shadowing shows a black screen, I can only see the mouse. If I publish VNC viewer as a remoteapp then session shadowing works ok, but word, excel, cmd, notepad, server manager, and many more, just shows a black screen.

I have tried:

  • (GPO) Restrict the number of monitors to 1 on the remoteapp-collection RDSH; same result, black screen.
  • (GPO) Force the graphics screen controller to XDDM; same result, black screen.
  • (GPO) Configure max. resolution for remoteapp; same result, black screen.

In event viewer I can only see events reporting the user permission granted for the session sharing and the session sharing start, and zero errors :(

"Snapshot view permission granted
User domain\user (session id: 2) granted permission to user domain\admin"
"Snapshot view session started
User domain\admin on computer BROKER2022 is viewing user domain\USER (session id: 2)"

This is happening in a Vsphere production environment , and in my hyperv homelab, so It´s not hardware/virtualization related.
If I add all RDS farm servers to a non-member in server manager and try to shadow a remoteapp session there, the result is the same.
If I try to shadow a remoteapp this way same result.

"mstsc /v:[IP address or host name of remote connection destination] /prompt /shadow: [session ID] /control"

If anyone could help I would be very grateful.

Thanks in advance (and apologies for my english)

256822-remoteappsessionshadowblackscreen.png

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,114 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,570 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,341 Reputation points
    2022-11-08T09:12:20.323+00:00

    Hi. Thank you for your question and reaching out.

    Your firewall may block the connection.
    If the Remote Desktop Service uses port 3389 by default, the session host must be reachable from the end-user devices for internal connections or from the Remote Desktop Gateway for external connections.
    Verify that no firewall, including Windows Defender Firewall if it is turned on on the session host, is blocking the port that your RDS environment utilizes between the client and the session host.

    Another possibility is a certificate issue. Because it employs SSL encryption, Remote Desktop Gateway needs a certificate to be installed. In order to ensure a successful connection with the session hosts, clients must have confidence in the certificate authority that issued the certificate.
    Verify that a copy of the root certificate for the certificate authority has been imported into the Trusted Root Certification Authorities store by opening the Certificates Microsoft Management Console (MMC) on the client device.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.


  2. JMazio 0 Reputation points
    2024-08-27T17:19:41.0966667+00:00

    Hello experts,

    Has anyone found a solution for this issue?

    I'm experiencing the same problem on Windows Server 2022. When shadowing RemoteApp sessions, whether in interactive mode or not, the screen turns black with only the mouse cursor visible and moving.

    I remember that this functionality worked well on Windows Server 2012, but now, in a new environment with Windows Server 2022, I have encountered this bug. It appears that many others are facing the same issue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.