Supported Windows 11 integration for remote assistance at the physical console lock screen

Javi Piqueras 0 Reputation points
2026-11-23T12:41:12.69+00:00

We develop a signed Windows desktop app for remote assistance. An administrator installs its service and explicitly enables unattended access on the device. An authorized operator connects to the physical console through an outbound Internet connection. Windows handles normal interactive authentication.

We reproduced the issue on Windows 11 Pro 26H2 x64, build 26300.10075. The signed service was running with automatic startup in version 1.4.1.2.

  1. Lock the console with Win+L and connect from a second PC using the app's unattended access.
  2. The receiver validates the device password, establishes the encrypted channel and shows the Windows lock screen.
  3. Try moving the mouse and pressing Tab in the viewer. The receiver gets the commands. Its Win32 input call, SendInput, fails to apply mouse, key and text events. It records Win32 error 5 (ERROR_ACCESS_DENIED).

In a separate comparison on the same two PCs, an installed remote assistance product unlocked the physical console after the operator completed normal Windows sign-in. The console changed from locked to unlocked within the same session.

The public documentation for Windows desktops describes the restricted sign-in desktop. The SendInput documentation also explains that the return value and last error cannot identify UIPI as the reason for a failure.

Does Microsoft support an API or integration program for an authorized third-party remote assistance product to interact with keyboard and mouse on that physical lock or sign-in screen while preserving the normal Windows authentication process and continuing on the same physical console? If so, where are the Windows version, signing and deployment requirements documented?

Windows development | Windows API - Win32
0 comments No comments

1 answer

Sort by: Oldest
  1. Nancy Vo (WICLOUD CORPORATION) 8,240 Reputation points Microsoft External Staff Moderator
    2026-11-24T04:17:02.98+00:00

    Hello @Javi Piqueras ,

    Thanks for your question.

    Microsoft currently does not offer a special API or partner program that lets third-party remote assistance tools send keyboard and mouse input to the lock or sign-in screen. Access to that screen follows the normal Windows security rules.

    When the PC is locked, Windows shows the sign-in screen on the secure Winlogon desktop. As the Desktops documentation explains, only a very small set of accounts, including LocalSystem, can access this desktop, and regular applications cannot. A process running as the signed-in user, or a thread that is still attached to the Default desktop, generally cannot send input to it. That would explain the ERROR_ACCESS_DENIED you see from SendInput.

    One approach that fits these rules is to have your LocalSystem service start a helper in the console session with a SYSTEM token. To do this, set the session ID on a copy of the service token with SetTokenInformation, then call CreateProcessAsUser. Before calling SendInput, the helper attaches its thread to the current input desktop with OpenInputDesktop and SetThreadDesktop, and it does this again whenever the desktop changes. For Ctrl+Alt+Del, SendSAS can be called from a service if the "Disable or enable software Secure Attention Sequence" policy allows it.

    Please also note the change described in KB5080542 (CVE-2026-20824), which came with the January 13, 2026 security updates. Windows authentication dialogs now only accept input from trusted local sources, such as a physical keyboard, trusted UIAccess accessibility apps, or apps running elevated. Microsoft recommends updating apps to avoid keyboard entry into credential interfaces and to use supported Windows authentication interfaces instead. It describes running elevated only as a temporary mitigation. Windows 11 24H2, 25H2 and 26H2 share the same servicing branch, so this change should also apply to your build.

    For a longer-term design, a custom credential provider might be a better fit, because credential providers are the documented way for third parties to take part in Windows sign-in and unlock. The provider can pass the operator's credentials to Windows, which still checks them through the normal authentication process. The existing session can then be unlocked on the same console. The SendSAS page lists its version, signing and policy requirements. For credential providers, you can refer to Credential providers in Windows and the V2 Credential Provider Sample, which shows how an administrator installs and registers the provider.

    I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback. Thank you.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.