Repository navigation
Description
Environment
Observed on 22 October 2026.
- Windows 11 Professional, build 10.0.26300, x64 (from the local doctor report).
- Installed desktop package: OpenAI.Codex 26.1016.8120.0.
- Bundled CLI: 0.163.0-alpha.11.1.
- Bundled Windows Computer Use skill: 26.1016.61520; @oai/sky: 0.7.12.
- Classic desktop Outlook is running. A later successful probe from normal interactive PowerShell returned Outlook.Version = 16.0.0.19725.
Observed behavior
The user needs background access to the existing desktop Outlook session while continuing to use the mouse and keyboard.
Read-only connection probes from the Windows execution context fail:
-
In Windows PowerShell 5.1:
[Runtime.InteropServices.Marshal]::GetActiveObject('Outlook.Application')
returns0x800401E3 (MK_E_UNAVAILABLE). -
In the task's PowerShell:
New-Object -ComObject Outlook.Application
fails to obtain the Outlook.Application COM class factory with0x80070005 (E_ACCESSDENIED).
The command process has Low mandatory integrity (S-1-16-4096); the Administrators group is deny-only. Its visible process inventory contains only the isolated shell and console host. These observations describe the execution context; they do not establish which specific access check rejects the COM call.
The owner subsequently ran the same New-Object COM connection probe from normal interactive Windows PowerShell outside the task. It succeeded and returned OK: Outlook 16.0.0.19725. The result was independently read from the saved diagnostic output as well as the owner's screenshot. This establishes a working COM activation/version query in the interactive context and a failing activation in the restricted task context; it does not identify the exact denying access check or verify all mailbox operations. No registry/COM/security permission repair is claimed.
Separate launch failure that recovered
Initially, the supported @oai/sky import succeeded, but sky.list_apps() returned:
failed to launch codex app-server: program not found
The configured per-user bundled codex.exe existed and ran by its absolute path, but its directory was absent from the saved User PATH. After adding that actual CLI directory to User PATH and fully terminating/reopening the desktop app:
- the task can resolve
codexby name; sky.list_apps()succeeds and detects classic Outlook;- the direct background COM probes above still fail.
This is a before/after observation for this installation, not proof that all occurrences have the same cause. Related launch report: #51867.
A subsequent UI inspection was interrupted by the user's physical Escape key. UI screenshot/input functionality is therefore not presented as fully verified.
Requested guidance / diagnostics
Please clarify whether attaching to the existing Outlook COM session is supported from this restricted Windows execution route, and provide a supported background integration or recovery path if available. The user specifically needs an approach that leaves desktop input free.
If this isolation boundary intentionally prevents COM access, please make that limitation and the supported alternative actionable in the product. If access is expected to work, diagnostics identifying the failed COM activation/binding boundary would help.
The exact cause, any relationship between the launch and COM failures, and whether this is a product regression remain unconfirmed. The local doctor report's installation, network, and database integrity checks pass outside the task.
Submitted with the account owner's authorization and AI assistance. This report contains technical versions and minimal probe results only.
Controlled comparison completed
| Probe | Normal interactive Windows PowerShell | Restricted task PowerShell |
|---|---|---|
New-Object -ComObject Outlook.Application, then .Version |
Succeeds: 16.0.0.19725 |
Activation fails: 0x80070005 E_ACCESSDENIED |
Please focus follow-up guidance on the supported execution/authorization boundary for background COM, rather than assuming an Outlook installation failure. No attempt was made to evade the task isolation or create an out-of-sandbox execution bridge.
Historical working-route comparison verified from local session records
Read-only inspection of the owner's local session records from 20 October 2026 found successful direct Outlook COM connection/account enumeration using New-Object -ComObject Outlook.Application, with command exit code 0. These were local desktop sessions (originator codex_work_desktop) using CLI 0.162.0-alpha.17.2. Their recorded permission state was:
sandbox_policy.type = danger-full-accesspermission_profile.type = disabledapproval_policy = never
By contrast, the currently affected Work conversation receives a managed restricted workspace-write execution profile and cannot request sandbox escalation. Its COM activation fails with E_ACCESSDENIED as described above.
The app's saved local mode is still full-access (agent-mode-by-host-id.local and permission-selection-by-host-id:local.agentMode). This saved local default must not be confused with the affected conversation's effective permissions. Startup logs also show other local threads resuming with full-access profiles. This is not proof that the current conversation is incorrectly configured, or that it should override any enforced policy.
Please clarify the supported way to select the appropriate local execution route and inspect the effective permissions for this conversation type. The exact reason for the difference in effective policy remains unknown. No local settings, enforced policies, or execution boundaries were bypassed or modified during this comparison. No private session identifiers, paths, mailbox contents, or raw records are attached.
Activity
dkoepg commentedon Oct 27, 2026
Additional Windows Outlook Classic case observed on 27 October 2026:
FrameArrived timed out: timed out waiting on channel. A screenshot supplied by the user showed Outlook still open; the timeout did not indicate Outlook had been closed.coordinate input geometry is unavailableor a focus error.Impact: The user could not complete a routine email in Outlook Classic through Codex and had to be asked to send it manually.
Please clarify the supported Windows execution path for Outlook Classic and investigate the repeated capture timeouts and mismatch between visible Outlook UI and available focus/input state. A supported Outlook connector or clear setup path would also address the inability to operate the compose window. These symptoms may be related to existing Computer Use capture reports, but a shared root cause has not been established. No private message text, recipient addresses, or mailbox contents are included.
joarocman-jpg commentedon Oct 27, 2026