Windows Computer Use cannot attach to any window; reports identical process as wrong owner
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.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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.