Languages (16)
English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Español · Português (Brasil) · Français · Deutsch · Italiano · Русский · Türkçe · Tiếng Việt · Bahasa Indonesia · हिन्दी · العربية
For computer-use agents and UI tests that need clicks, typing and screenshots after you disconnect. Windows App is the client; Microsoft Dev Box or another Windows RDP machine is the already signed-in host.
Concept illustration; English labels, not proof.
- Keep clicks, typing and screenshots working.
- Stop babysitting the connection.
- Reuse your already signed-in desktop and open apps; no stored passwords.
Handoff leaves the console unlocked. Anyone with actual physical or interactive VM-console access can use your session without Windows sign-in. Avoid shared walk-up PCs and untrusted consoles; follow policy.
Need Windows on both computers; an already logged-in, unlocked, awake host; policy permission; host administrator approval; Git, Windows PowerShell 5.1 and VBScript. Installed diagnostics attempt real input and capture 10 seconds after every configured-user RDP disconnect and can contend with your agent. Requirements and risks.
On both computers, clone trusted source into the current user’s private folder, never a shared writable checkout:
git clone https://github.com/yeelam-gordon/KeepDesktopInteractive.git "$env:LOCALAPPDATA\KeepDesktopInteractiveSource"Open %LOCALAPPDATA%\KeepDesktopInteractiveSource in File Explorer on each computer; double-click:
| Where | Launcher / next action |
|---|---|
| Remote host | start-desktop-session-setup.vbs — approve elevation |
| Local client | set-local-rdp-minimize-rendering.vbs — fully close/reopen Windows App/RDP, reconnect |
Setup results: host %LOCALAPPDATA%\KeepDesktopInteractive\elevation-result.json → %ProgramData%\KeepDesktopInteractive\setup-result.json: Installed: true, Status: Ready; client %LOCALAPPDATA%\KeepDesktopInteractive\local-rdp-minimize-result.json: Succeeded: true.
Reserve the desktop, save work, hide confidential windows and record test start time. Disconnect for 30 seconds, reconnect, then inspect %LOCALAPPDATA%\KeepDesktopInteractive\desktop-proof.json: its modified time must be after test start, with Passed: true and Mode: AfterDisconnect. Then test your own app’s clicks, typing and capture at the resulting console resolution. Keep screenshots private.
Minimizing is conditional: separately follow the 90-second test / 60-second probe delay; require a fresh WhileClientMinimized pass. Otherwise keep the client visible.
- No post-reboot login or autologon; remote locking, sleep and sign-out can stop automation.
- Client/version-specific compatibility, not universal Dev Box certification: evidence.
- Windows Sandbox minimized with guest/apps alive: UNVALIDATED experiment, not RDP instructions.
Failed, missing or stale proof? Check Error, Stage, setup results and cause-specific remedies.
Undo: remove host tasks and restore client registry values separately. This does not lock the console. When finished, save work, lock the host and verify sign-in is required, or intentionally sign out to end apps.
Updates and administrator approval · Security boundaries · Full guide · MIT
