Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Error fixes / Yellow border after Computer Use
Fix · Codex desktop · Windows

Yellow border stays after Codex Computer Use on Windows

The yellow border is drawn by Windows, not by Codex: Windows puts a coloured border around a window or display while an app is capturing it. After a Computer Use screenshot, the Codex desktop app sometimes leaves that capture session open, so the border stays. Quickest fix: Task Manager, Details, codex-computer-use.exe, End task. Codex stays open.

What you see

  • A thin yellow outline around one window, or around all edges of every monitor, that stays after the Computer Use task has finished.
  • It shows on your monitor (and in a phone photo of it) but not in screenshots.
  • Reported in issue #57101 from 26 Oct to 30 Nov 2026, on Windows 10 and 11. It happens even after a single screenshot.

Microsoft's docs for the capture API describe it as a "colored border around the window or display to indicate that a capture is in progress". A border that stays means Windows still sees a capture session as open.

How to clear it, least disruptive first

  1. Reset the chat's Computer Use session. In the same chat, ask Codex to reset its Computer Use JavaScript session (the node_repl js_reset tool). One reporter confirmed the border cleared without restarting Codex.
  2. End the helper process. Press Ctrl+Shift+Esc, open Details, select codex-computer-use.exe, and click End task. Two reporters say the border disappeared immediately and Codex stayed open. On some machines the helper starts again by itself, so this may not stick.
  3. Quit Codex completely and reopen it. Also close it from the system tray. This cleared the border for one reporter but not for another.
  4. Restart Windows. This cleared it in the reports where nothing else worked.

Avoid: restarting CaptureService

One user removed the borders by restarting the Windows CaptureService_* service from an admin PowerShell. Afterwards Win+Shift+S (the Snipping shortcut) stopped working until a full reboot. Restarting Windows does the same job without that side effect.

Is it still a bug?

Yes. As of 3 Dec 2026, issue #57101 is open and still getting reports, and it has no reply from OpenAI yet. If it happens to you, add your app version and Windows build there.

Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review

FAQ

Why is there a yellow border around my screen after using Codex?

Windows draws a coloured border while an app captures a window or display. After a Computer Use screenshot, Codex sometimes leaves the capture session open, so the border stays.

How do I remove the yellow border without restarting?

End codex-computer-use.exe in Task Manager (Details tab), or ask Codex to reset the chat's Computer Use session. If neither works, quit Codex fully or restart Windows.

Is Codex still recording my screen?

The border means Windows still sees a capture session as open. The reports in issue #57101 are about the session not being cleaned up after the task ended. End the helper process if you are not using Computer Use.

Should I restart CaptureService?

Better not: one user found Win+Shift+S stopped working until a reboot afterwards. Restarting Windows is safer.

Related errors

Sources

Read 3 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.

Related free tools