Back to browse
GitHub Repository

Auto-confirm Windows Hello dialogs

4 starsRust

Breeze, auto-confirm Windows Hello face recognition dialogs

by evan-choi·Apr 17, 2026·2 points·0 comments

AI Analysis

●●SolidCozySolve My Problem

Auto-clicks OK after face recognition—no more looking left then right.

Strengths
  • Uses AutomationId and ClassName matching so it works across all Windows display languages
  • Runs as Session 0 Windows Service with user-session helper for proper isolation
  • ~2 MB single Rust binary with no runtime dependencies and built-in upgrade command
Weaknesses
  • Windows-only solution for a problem that only affects multi-monitor laptop users
  • Security-conscious users may not want auto-confirming authentication dialogs
Category
Target Audience

Windows users with external monitors or multi-display setups

Similar To

AutoHotkey · PowerToys · UI Automation tools

Post Description

My laptop sits to my left, where the camera handles Windows Hello. My main display is a separate monitor in front of me. So every sign-in goes: look left at the laptop to get recognized, look right at the monitor to find the "OK" button, click, get on with my day. Apparently this is the intended UX. I wanted signing in to be a breeze instead, something that drifts past without you noticing.

So I wrote a small Rust Windows service, Breeze, to do exactly that. When a Windows Hello credential dialog appears (Okta Verify, sudo-style prompts, and friends), it checks whether face recognition is the active method and, if so, clicks OK for you. PIN and fingerprint are left alone. The camera sees you, the dialog quietly closes, you keep working.

Matching uses AutomationId and ClassName rather than button text, so it works regardless of the Windows display language.

A few notes:

- ~2 MB single binary, no runtime deps - The service runs in Session 0 and spawns a helper into the user session via CreateProcessAsUser with an elevated token from WTSQueryUserToken - FocusChanged event -> locate "Credential Dialog Xaml Host" -> if a PasswordField is present, it's PIN mode, skip -> otherwise click OkButton - Does not work for UAC / Secure Desktop prompts. Windows blocks UI Automation there by design.

Install: cargo install breeze-wh && breeze-wh install. The second command auto-elevates, so no admin shell is needed.

https://github.com/evan-choi/breeze-wh

Feedback is very welcome, especially from anyone with a fingerprint reader. I only have a face camera, so that path is still untested.

Similar Projects

AI/ML●●Solid

Swapface – Real-time, hyperrealistic AI face swap for Windows and Mac

This is the kind of thing people will fire up for a laugh — real‑time swaps for live streams and videos with local processing (Apple Silicon + NVIDIA support) is the key selling point. The landing page copies familiar flows — upload, pick source/target, download — and the ‘no signup, local processing’ pitch is smart for privacy-minded users, but the space is crowded with mature open‑source alternatives (DeepFaceLab, Avatarify). If the app truly delivers low‑latency, HD swaps on consumer hardware it’s useful; otherwise it risks being another pretty front end over standard models.

Crowd PleaserWizardry
hanruezz
114mo ago