Fix Remote Desktop Black Screen on Windows UAC & Lock Screen

Learn why user-mode remote desktop apps freeze or go black on Windows Lock Screen and UAC prompts—and how RemoteWing's Rust LocalSystem service solves Session 0 isolation.

1. The Windows Secure Desktop Wall: Default vs Winlogon

Inside every interactive Windows 10 and Windows 11 user session (for example, Session 1), the Win32 subsystem maintains multiple isolated desktop objects inside the WinSta0 window station: Default (where your normal apps, browser, and IDE run), Disconnect, and Winlogon (also known as the Secure Desktop).
Whenever your PC locks (Win+L or idle sleep wake) or an installer triggers a User Account Control (UAC) elevation prompt, Windows switches the active display surface from Default to Winlogon. By design, unprivileged user-space processes running under your standard user token are blocked by User Interface Privilege Isolation (UIPI) from reading pixels or injecting synthetic mouse/keyboard events into Winlogon.
That security boundary prevents malware from silently clicking "Yes" on UAC dialogs—but it also causes user-mode remote desktop tools, portable streamers, and game-streaming overlays to suddenly render a black frame or completely stop responding to touch clicks until someone physically walks over to the PC.

2. User-Mode Streamers vs LocalSystem Service Architecture

Understanding how a remote host is installed tells you immediately whether it will survive a reboot, Windows Auto-Lock, or an administrator installer prompt:
| System Event | User-Mode App (Portable / Gaming Overlay) | RemoteWing (LocalSystem Service + Agent) |
| --- | --- | --- |
| UAC "Run as Administrator" Prompt | Black screen / clicks ignored (UIPI block) | Full 60 FPS visibility & click approval |
| Windows Lock Screen (Win+L) | Stream freezes until unlocked locally | Type Windows PIN / password remotely |
| Send Ctrl+Alt+Del (SAS) | Forbidden by Windows kernel | Supported via signed SAS service call |
| Cold Boot Before User Sign-In | App not running yet | Service starts automatically at boot |
| Auto-Lock on Phone Disconnect | Locks yourself out permanently | Safe—unlock again anytime from Android |

3. How RemoteWing's Dual-Process Rust Supervisor Works

RemoteWing avoids cramming WebRTC network stacks directly into a monolithic kernel driver. Instead, RemoteWing-Setup.exe registers a minimal, hardened Rust service (pccontroller) running as NT AUTHORITY\SYSTEM in Session 0.
The Session 0 supervisor monitors active console session IDs (WTSGetActiveConsoleSessionId) and spawns a dedicated capture/input worker inside the active interactive session with appropriate desktop-switching tokens (WinSta0\Default ↔ WinSta0\Winlogon). When Windows transitions to UAC or the Lock Screen, RemoteWing seamlessly rebinds DXGI Desktop Duplication to the active desktop surface without dropping your WebRTC peer connection.

4. Keeping Elevated Access Safe With Hardware Ed25519 & Auto-Lock

Because LocalSystem capability allows unlocking Windows, authentication cannot rely on weak reusable passwords or static 9-digit IDs exposed to the internet.
RemoteWing enforces hardware-backed Ed25519 public-key authentication: private keys are sealed via Windows DPAPI on the host and Android Keystore on the phone, pairing tokens expire strictly after 120 seconds, and every signaling handshake is cryptographically signed. You can revoke any paired phone instantly from the Windows Tray Console and enable Auto-Lock on Disconnect so bystanders near your monitor never see an unlocked workstation.

Frequently Asked Questions

Q: Why do I see a black screen on UAC in other remote desktop apps?
A: Windows switches UAC prompts onto the isolated Winlogon Secure Desktop. Any remote desktop tool running as a standard user process (instead of an installed LocalSystem Windows service) is blocked by Windows UIPI from capturing or clicking that screen.
Q: Can RemoteWing send Ctrl+Alt+Del from an Android phone?
A: Yes. The Android modifier bar includes a dedicated Ctrl+Alt+Del action that instructs the privileged LocalSystem service to invoke the Windows Secure Attention Sequence cleanly.