Remote Hidden Desktop Implementation

Bypass & Security · 2024-12-20

Remote Hidden Desktop Implementation


A “hidden desktop” is a separate desktop that can be used for background automation or remote support without showing any window on the user’s visible desktop. This article covers the Windows API and our implementation.


Windows Desktops


CreateDesktop and SwitchDesktop allow multiple desktops. We create a non-interactive desktop, run our agent there, and use capture/input APIs scoped to that desktop so the user does not see activity.


Use Cases


  • Remote support without disturbing the user
  • Automated testing on a clean desktop
  • Kiosk or thin-client backends

Code


Implementation and docs: RemoteHiddenDesktop.

Related blogs