Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
28.803.41515
What subscription do you have?
Pro
What platform is your computer?
Windows NT 10.0.26200.0 x64
What issue are you seeing?
Computer Use previously worked correctly on this Windows computer. When activated, the screen would display the blue banner indicating that ChatGPT was controlling the computer.
Computer Use no longer starts. Codex can list the open Windows applications and their window IDs, but any attempt to capture or control a window fails with a contradictory window-owner error.
Example error:
window id 67348 no longer belongs to
process:C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE;
current owner is
process:C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE
What steps can reproduce the bug?
Steps to reproduce
Open the ChatGPT/Codex Windows desktop app.
Open Microsoft Excel or another Windows application.
Start a Codex task that uses Computer Use.
Codex successfully lists the application and window ID.
Codex attempts to inspect or control the selected window.
The window-owner error appears before Computer Use starts.
What is the expected behavior?
Expected behavior
Computer Use should attach to the selected window, display the blue control notice, and allow Codex to see, click, and type in the application.
Additional information
Computer Use rejects every window before the control session begins. The blue control notice never appears.
Troubleshooting already completed
Closed and reopened the affected applications.
Restarted the ChatGPT/Codex desktop app.
Restarted Windows.
Verified applications were not intentionally being run as Administrator.
Repaired the desktop app through Windows Settings.
Uninstalled and reinstalled the desktop app.
Found two different codex-computer-use helper processes and stopped both.
Confirmed only one current helper/runtime was subsequently active.
Renamed the existing Computer Use runtime directory so the app generated a fresh copy:
Old: f1bf3cd3a5929acd.old
Newly generated: f1bf3cd3a5929acd
Reset the Computer Use session and retested.
Tested against Excel, Dockmaster, and ChatGPT’s own window.
The same error persists with the newly generated runtime.
Impact
This prevents all Windows desktop automation. A saved workflow that previously controlled Dockmaster, Excel, and a browser can no longer run.
Additional observation
The failure appears to occur during window validation or process-owner comparison. The error states that the window no longer belongs to the expected process, but prints the exact same executable path for both the expected and current owner.
Activity
github-actions commentedon Aug 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Raziel-989 commentedon Aug 7, 2026
Same issue here
Windows Codex Desktop: Computer Use transport fails with
spawn EPERMdespite helper launching successfully outside Desktop bridgeSummary
Computer Use in Codex Desktop on Windows fails before attaching to any application.
Initially, the Computer Use/UI-control bridge failed with:
Changing the Windows sandbox configuration from:
to:
resolved the
lstatfailure.After that change, the Computer Use package successfully loads, but initialization now fails at the window-control transport with:
Extensive testing shows that Windows can access the Codex directory, execute the Computer Use helper, and even spawn that exact helper from Codex's bundled Node runtime successfully.
This appears specific to the process-launch context used by the Codex Desktop Computer Use bridge.
Codex versions
Microsoft Store/AppX package:
Codex Desktop configuration reports:
Codex CLI:
Platform:
Configuration
Computer Use is enabled:
Current Windows sandbox configuration:
The problem originally occurred with
sandbox = "elevated"as anlstat EPERM.Switching to
unelevatedfixed that first failure but exposed the currentspawn EPERM.Reproduction
The target application is not relevant to the failure because the transport fails before attachment.
Original failure
With:
the bridge failed earlier with:
The directory exists and is accessible.
ACL:
Owner:
PowerShell can enumerate the directory normally.
Contents include:
Bundled Node
lstattestUsing Codex's own bundled CUA Node executable:
I executed:
against:
Result:
The
lstatsucceeds from the bundled Node runtime.Computer Use helper verification
Exact helper:
Test-Path:Direct execution:
Result:
This confirms the executable launches.
Authenticode
Get-AuthenticodeSignaturereports:The certificate is issued through Microsoft's verified code-signing infrastructure.
Zone.Identifier
No
Zone.Identifieralternate stream is present.Only the normal
:$DATAstream exists.Therefore the executable does not appear to be Mark-of-the-Web blocked.
Start-Process test
Executing:
successfully creates:
So Windows can directly create the helper process.
Critical reproduction: bundled Node
child_process.spawn()I then used the exact Node executable bundled with the CUA runtime:
to execute:
using the exact Computer Use helper path.
Result:
Therefore this process chain succeeds:
while the Codex Desktop Computer Use bridge reports:
when initializing the window-control transport.
Other helper verification
These binaries also execute successfully:
Results included:
Troubleshooting already performed
I have already tried:
%LOCALAPPDATA%\OpenAI\CodexStart-Processfs.lstat()child_process.spawn()elevatedtounelevatedThe issue persists.
Observed distinction
With elevated sandbox:
With unelevated sandbox:
Outside the Desktop bridge:
Expected behavior
Computer Use should successfully start its native window-control transport and attach to Windows applications.
Actual behavior
Codex Desktop fails while starting the window-control transport with:
despite the same helper being spawnable from the same bundled Node runtime outside the Desktop bridge.
Suspected area
This appears to be related to the process token, environment, native-pipe initialization, or other launch context specifically established by Codex Desktop for the Computer Use transport.
The underlying executable and ordinary Node
spawn()mechanism both work.Additional note
The target application itself is unaffected and works normally.
The failure occurs before Computer Use establishes control of the target application.
nicolion0322-sketch commentedon Sep 23, 2026
Same-path owner mismatch on Windows, with additional wrong-app identification and launch behavior
As of September 23, 2026, I can reproduce the same contradictory window-owner error. I also observed an incorrect association with another application, but have not established whether it shares the root cause of this issue.
Environment
26.915.4065.026.915.3194526200Reproduction: window-owner mismatch
@oai/skyin Node REPL and callsky.list_windows().appfield points to B's executable.idandapptosky.get_window({id, app}). This fails. No fabricated window objects or identifiers are used.Example result (application names, path, and title anonymized; actual observed window ID):
{"app":"D:\\Apps\\OtherApp\\OtherApp.exe","id":266048,"title":"TargetApp"}Error (the same path appears as both expected and current owner):
Additional observation: launching the wrong application
In one attempt, explicitly passing A's absolute executable path to
sky.launch_app, as shown below with an anonymized path, launched B instead:The subsequent window list showed B's own title, and Windows process inspection found that A was not running.
To avoid unintended interaction, we stopped using
launch_appand launched A manually. The identification mismatch persists after manual launch.Troubleshooting that did not resolve it
@oai/sky.The current process PATH contains neither application's directory. The Codex configuration inspected contains no entry redirecting A to B. However, the internal cache or matching logic responsible has not been identified.
Local automated checks of A's startup, WebView2 rendering, saving, and PNG export pass. The failure occurs during Computer Use target identification/acquisition. We have not established whether every other application is affected on this machine.
Questions
appidentifier inconsistent with the window title/actual process, or launching another application despite an explicit absolute path, a related known issue?No input was sent to the incorrectly identified application. We have not bypassed owner validation or modified the Computer Use helper.
sainiraja333-hue commentedon Oct 17, 2026
I can reproduce the same issue with Power Automate Desktop on Windows.
The application appears in the window list, but screen capture fails with:
window id ... no longer belongs to ... PAD.MachineRegistration.Host.exe; current owner is ... PAD.MachineRegistration.Host.exeThe expected and current owner paths are identical. Notepad Computer Use works, but Power Automate Desktop screen capture fails. Restarting the application and retrying did not resolve the issue.
Please investigate whether this is the same Windows Computer Use window-owner validation bug.
jackyang18888-debug commentedon Oct 21, 2026
Additional reproduction: Chrome installed through a directory junction
Windows x64, OpenAI.Codex MSIX 26.1016.6573.0; Computer Use plugin 26.1016.51333; @oai/sky 0.7.12; bundled CUA runtime 0.0.33/20261020111233-d92591792fee.
The supported window APIs enumerate a Chrome window and return its canonical app ID
Chrome. Reading state with the unmodified returned app and window ID rejects it withwindow id <HWND> no longer belongs to Chrome; current owner is Chrome. The window is independently verified as belonging to chrome.exe.In this specific reproduction, the installed-app catalog's target_path is
C:\Program Files\Google\Chrome\Application\chrome.exe, andC:\Program Files\Google\Chromeis a directory junction toD:\Program Files\Google\Chrome.Read-only OS diagnostics show:
This is concrete evidence for a junction-alias mismatch in this reproduction, not a claim that every identical-owner report has this cause. No ownership or approval checks were bypassed. No helper injection, binary patch, app-catalog edit, approval edit or shortcut change was used.
The current official x64 MSIX linked from the Windows deployment documentation was inspected read-only. Its native codex-computer-use.exe SHA-256 is
6fcc7c6482dfd9b8e0cfc07f55b89d526779948b9b3eda30eb2495573a36cc08, identical to the installed native component; reinstalling this artifact would therefore not replace the owner-check implementation.Could the component owner provide a supported diagnostic/fixed Windows build, or identify a public source/build entry point for this module? A repair should resolve junction aliases consistently while preserving application authorization, reject different executables, and fail closed when identity cannot be verified. This report does not request any ownership-validation bypass.
No account IDs, project files, screenshots, conversation links, full logs, personal profile paths, or live window/process IDs are included.
nicolion0322-sketch commentedon Nov 11, 2026
Follow-up to my September 23 report: I retested on the same Windows PC on November 12, 2026 (JST), and could use Computer Use with the target app.
sky.get_window()succeeded, and I could capture the target window.sky.launch_app(). The intended app opened, and I could capture its window again. I did not observe another app opening.I don’t know what changed. This result is limited to the PC and target app I tested.
myu85123-web commentedon Nov 24, 2026
I reproduced the same window-owner error with DingTalk on Windows.
26.1117.4957.026.1117.41037sky.list_apps()andsky.list_windows()both list the running DingTalk window under a Windows-generatedMicrosoft.AutoGenerated.{…}app ID.Passing the returned window ID and app ID to
sky.get_window()fails. Callingsky.get_window({ id })without the optional app ID returns a window object, but bothsky.get_window_state()andsky.activate_window()fail with the same error: “window id … no longer belongs to …; current owner is …”. The expected and reported owner IDs are identical.Fully restarting DingTalk produced a different window ID, and screenshot capture still fails. As a control, Computer Use successfully launched, bound, and activated Notepad on the same machine.
Is there a supported workaround for windows with a Windows-generated app ID, or any specific diagnostic that would help narrow down the owner check?