Did something change in Server 2022 RemoteApps to make DXGI screen capture return black screens?

Thomas Kucmierz 30 Reputation points
2025-06-16T21:31:39.9766667+00:00

We have an server application that launches within a user session and takes a screenshot of the desktop. The application uses D3D11 and DXGI (dxgi1_2) libraries to interact with the graphics subsystem. We've run into a problem on Windows Server 2022: in the case of a RemoteApps session, when the application calls IDXGIOutputDuplication::AcquireNextFrame a black frame is returned. However, it works correctly for both the console sessions and the remote desktop sessions. The application works correctly in previous versions of Windows Server (2019 and earlier) in all cases. The D3D11_SDK_VERSION is 7, the feature level is up to D3D_FEATURE_LEVEL_11_1. What could be the cause of the black frame problem?

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

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.