Frequently Asked Question
When ITVDesk captures a Windows desktop through a Remote Desktop (RDP) session, the stream can freeze, show the last frame, or display No Video Frame after the RDP window is minimized or the session is disconnected. This is normally a Windows desktop-rendering/session condition, not an ITVDesk crash.
Why this happens
ITVDesk desktop capture depends on Windows providing current desktop frames. When the classic RDP client window is minimized, Windows can suppress remote-session rendering to reduce resource use. The ITVDesk camera and RTSP service can remain running, but there may be no new desktop frames available for the video stream.
When the RDP session itself is disconnected, the Windows Desktop Duplication API can no longer create or restore desktop capture for that session. Microsoft documents DXGI_ERROR_SESSION_DISCONNECTED when IDXGIOutput1::DuplicateOutput fails because the session is disconnected.
If the ITVDesk stream starts updating again as soon as the RDP window is reopened, that is a strong indication that the video service remained available and the interruption was caused by the Windows session/rendering state.
ITVDesk v10.3: automatic NO VIDEO fallback for RDP desktop capture
Starting with ITVDesk v10.3, desktop capture inside an RDP session can automatically switch to a NO VIDEO fallback when Windows reports that the session is disconnected or when the capture path does not provide valid desktop frames for a short safety timeout.
- If an RDP window is minimized and Windows stops supplying desktop frames, the VMS/NVR receives NO VIDEO instead of a stale desktop image.
- If the RDP session disconnects, ITVDesk continues to provide the NO VIDEO fallback while the desktop is unavailable.
- When the first valid desktop frame becomes available again, ITVDesk automatically stops the fallback and restores the live desktop stream.
- This watchdog applies only to desktop capture inside RDP sessions. Local desktop capture and other ITVDesk media sources are unchanged.
The fallback frame is sent through the existing video pipeline at the configured stream frame rate. It is intended to prevent a receiver from displaying an outdated captured image while Windows is not producing new desktop content.
What you gain by applying the minimized-RDP setting
- Administrators can minimize their RDP window without intentionally stopping the desktop frames needed by ITVDesk capture.
- VMS/NVR live view and recording are less likely to show a stale frame or No Video Frame while the remote workstation is being managed.
- It reduces false troubleshooting of ITVDesk, RTSP, ONVIF, firewall, or recorder settings when the actual cause is RDP UI rendering.
Fix for a minimized RDP window
Apply this setting on the computer from which the administrator starts RDP, not on the remote computer running ITVDesk.
- Close all active Remote Desktop Connection windows.
- Open Command Prompt as Administrator on the RDP client computer.
- Run the following command:
reg add "HKLM\Software\Wow6432Node\Microsoft\Terminal Server Client" /v RemoteDesktop_SuppressWhenMinimized /t REG_DWORD /d 2 /f
- Start mstsc.exe again and reconnect to the ITVDesk computer.
- Start or verify the ITVDesk camera, then confirm live video in ITVDesk preview and in the connected VMS/NVR.
- Minimize the RDP window and verify that the stream continues to update.
Microsoft documents the same registry key and value 2 as the solution for problems caused by minimized RDP sessions. With this setting enabled, Windows can continue providing the real desktop image while the RDP window is minimized. Without it, ITVDesk v10.3 can safely switch to NO VIDEO until capture resumes. Registry changes require administrator permissions; follow your organization's Windows change-control policy and back up the registry if required.
Important limitations
- This setting addresses minimizing the classic Remote Desktop Connection window. It does not guarantee desktop frames after a full session disconnect, user logoff, locked desktop, secure-desktop prompt, or other Windows session transition.
- Do not log off the Windows user session that owns the desktop you want to stream.
- For unattended production recording, use a stable logged-in desktop session and validate the target machine's display/session policy before deployment.
- This guidance is for the classic Windows Remote Desktop Connection client (mstsc.exe). Other RDP clients or remote-control products can behave differently.
- The setting is not required for every ITVDesk installation. Use it only when desktop capture is performed through RDP and the issue appears after the RDP client is minimized.
How to confirm the cause
- The ITVDesk camera and RTSP/ONVIF services stay started, but live desktop video freezes or changes to No Video Frame after minimizing RDP.
- The stream returns when the RDP window is restored or the session becomes active again.
- ITVDesk logging can show a desktop-capture/DXGI message such as
DXGI_ERROR_SESSION_DISCONNECTEDafter a disconnected session.
Undo the setting
If you need to return the RDP client to its previous behavior, run the following command as Administrator on the same RDP client computer:
reg delete "HKLM\Software\Wow6432Node\Microsoft\Terminal Server Client" /v RemoteDesktop_SuppressWhenMinimized /f
Related articles
- Startup, hidden mode, visible mode, and tray behavior
- Adjust Video Quality Settings: resolution, profile, FPS, GOP and bitrate
- VMS/NVR can't detect ITVDesk or live video from ITVDesk is not coming
- System requirements and supported platforms
Microsoft references: IDXGIOutput1::DuplicateOutput and minimized RDP session guidance.