docs(install.ps1): remove false claim that UWP needs the elevated autostart task - #1659
Conversation
…ostart task
install.ps1's post-install hint was telling users:
Without auto-start, the daemon runs at the user's default token IL.
That's fine for Win32 + Chromium apps. UWP / AppContainer apps
(Calculator, modern Settings, Photos) need the elevated autostart task.
The "UWP needs the elevated autostart task" claim is **wrong**. Empirical
verification during the 2026-05-22 Windows dogfood arc:
- fbonacci (RID 500 admin) at High IL via RunLevel=Highest task:
cua-driver call get_window_state for Calculator → element_count: 41
- cuademo (regular admin, UAC-split token) at **Medium IL** running
cua-driver directly from her interactive PowerShell:
cua-driver call get_window_state for Calculator → element_count: 41
So UWP / AppContainer UIA works at Medium IL too. The IL / RunLevel
gating was a methodological artifact from earlier tests that ran in
non-interactive SSH / psexec contexts — those contexts can't drive UIA
cross-AppContainer correctly regardless of IL, but live RDP sessions
just work at any IL level.
Replacing the hint with the honest reason RunLevel=Highest is useful:
elevated operations like registry / services / ACL writes that the
daemon may need to do. UWP is not the differentiator.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PowerShell installer script's final user-facing message was revised to provide clearer guidance when the ChangesInstaller manual startup messaging
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
install.ps1's post-install hint was telling users:
The "UWP needs the elevated autostart task" claim is wrong. Empirical verification during 2026-05-22 Windows dogfood arc:
So UWP / AppContainer UIA works at Medium IL too. The IL gating turned out to be a methodological artifact — earlier 0-element results came from running tests in non-interactive SSH / psexec contexts, which can't drive UIA cross-AppContainer correctly regardless of IL. Live RDP sessions just work at any IL level.
Replacing the hint with the honest reason RunLevel=Highest is useful: elevated operations like registry / services / ACL writes the daemon may need. UWP is not the differentiator.
Follow-ups
🤖 Generated with Claude Code
Summary by CodeRabbit
cua-driver servewhen auto-start is not enabled, and explained how auto-start allows the daemon to run with elevated privileges at system logon for privileged operations.