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
- Reset the chat's Computer Use session. In the same chat, ask Codex to reset its Computer Use JavaScript session (the
node_repljs_reset tool). One reporter confirmed the border cleared without restarting Codex. - 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. - Quit Codex completely and reopen it. Also close it from the system tray. This cleared the border for one reporter but not for another.
- 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
- Codex Computer Use: FrameArrived timed out (Windows)
- Codex not working on Windows
- Codex: elastic section minimums must sum to 128000
Sources
Read 3 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.
- openai/codex issue #57101 (Windows Computer Use: capture border stays open): github.com/openai/codex/issues/57101
- Microsoft Learn: GraphicsCaptureSession.IsBorderRequired: learn.microsoft.com/en-us/uwp/api/windows.graphics.capture.graphicscapturesession.isborderrequired
- reviewready CLI: one command that checks an AI app repo before it ships
- MCP config checker: scan your mcp.json for hard-coded tokens, unpinned servers and risky access
- Exposed API key checker: find API keys committed to a repo or shipped to the browser