Hidden Desktop, RDP Child Session or VM: Isolation Options Compared
There are three ways to keep an agent's desktop work away from yours: a hidden Win32 desktop, a Remote Desktop child session, and a virtual machine or second PC. backdesk implements only the first. The other two are not built.
Comparison
| Hidden desktop | RDP child session | VM or second machine | |
|---|---|---|---|
| backdesk status | implemented, verified on one machine | not built | not built |
| Input to the app | posted window messages and control calls (not hardware-level input) | can carry real input inside the child session (as reported by projects that use it) | real input inside the guest |
| Windows Home | works (tested) | Home cannot host Remote Desktop (source) | Hyper-V role and Windows Sandbox not on Home; other hypervisors untested |
| Setup | none beyond the program | enabling child sessions; other projects report a one-time elevation | install and maintain a guest OS |
| Isolation strength | separate desktop, same user, files and network | separate session, same user | separate OS |
| Apps that may not work | apps that read raw input or physical key state | fewer input limits expected, not tested here | fewer input limits expected, not tested here |
Only the "hidden desktop" column describes something that was run. The others describe documented behavior or other projects' claims, labelled as such.
What backdesk Does Today
backdesk creates a hidden desktop per session, starts allowed apps on it inside a job object, captures windows with PrintWindow, and delivers input as posted messages and Win32 or UI Automation control calls. It fails closed: if an action cannot be delivered in the background, the result is an error such as unsupported or background_input_unavailable. It never falls back to your desktop. See permissions and privacy.
Tradeoffs in Plain Terms
- Hidden desktop. Light and quick to start. Weaker input fidelity. Not a sandbox.
- RDP child session. Documented by Microsoft as a loopback session created from an existing user session; one active child session at a time (Child sessions). Two projects in the comparison use it, and one of them refuses to run on Home, by its own README.
- VM or second machine. Strongest separation, highest cost. Microsoft notes some desktop hypervisors may not start or may run unreliably while the Hyper-V hypervisor runs (Install Hyper-V).
Why the Hidden Desktop First
It is the only one of the three that has been built and tested, and the test machine runs Windows Home. The other backends are on the roadmap, each with a test it must pass.