Skip to content

Spike JEA: does headless Windows elevation exist at all? #528

Closed as not planned
Closed as not planned

Description

@David-Noble-at-work

UAC is a desktop-modal dialog. With no interactive desktop there is no consent path, so an elevated
acquire on a headless Windows host has nowhere to go — and today would block on a dialog nobody can see.

PowerShell session configurations may answer it: a JEA endpoint registered with RunAsVirtualAccount
lets an unprivileged caller reach an endpoint executing under a privileged virtual account. Being
service-hosted rather than desktop-elevated, it plausibly works headless, and it moves the one-time
elevated act to registration at install time.

Flagged in 6.2 as its most promising unverified claim. Two
questions: can an unprivileged caller reach the endpoint with no interactive desktop, and what does
registration cost at install time?

If the answer is no, headless Windows elevation is a supported-configuration limit, and an elevated
acquire there must fail as a named policy failure rather than hang.

Activity

  1. David-Noble-at-work commented on Oct 22, 2026

    @David-Noble-at-work
    ContributorAuthor

    Closed on the owner's word, 2026-10-22. The question has no subject: headless Windows elevation exists as a Windows service per account, registered at install and started by the Service Control Manager, which makes the logon; nothing spawns on demand, so the token path this issue was reframed to on 2026-10-21 (WTSQueryUserToken, LogonUser, S4U) is not needed either.

    The ruling, 2026-10-22: the service manager makes the logons and devlore is never a key store. Recorded in docs/architecture/6.2-process-pool.md § Ruled 2026-10-22, § 4.3 (row 2 and the paragraph after the table) and § Open 6, landed by #1139 at ae87e6a. JEA stays in § 10 only as the alternative for a machine where registering a service per account is refused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions