Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.325.3894.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11 Pro 25H2, OS Build 26200.8037, x64
What issue are you seeing?
While using the Codex desktop app on Windows 11, Windows shell/UI components intermittently freeze.
Observed symptoms:
- Start menu stops responding
- Taskbar becomes unusable
- Desktop/shell interaction degrades
- Alt+Tab stops working
- If I try to launch another program as Administrator, the Windows UAC confirmation dialog may fail to appear until later
- Chrome and Task Manager can continue working while the shell/UI is partially frozen
Important behavior:
- Closing Codex restores normal behavior
- Also, the freeze stops if I open the Codex Settings screen
- This suggests the issue may depend on a specific Codex app view/state, not just the app being open
The issue does not always show up as a full crash. In multiple reproductions, the shell/UI becomes temporarily frozen without a formal new Application Hang event for Explorer/StartMenuExperienceHost, even though the user-visible shell is clearly impaired.
What steps can reproduce the bug?
- Open the Codex desktop app on Windows 11.
- Use the app normally for some time.
- Try to open the Start menu.
- Intermittently, the shell/UI enters a frozen state:
- Start menu becomes unresponsive
- Taskbar becomes unresponsive
- Alt+Tab may stop working
- UAC prompt may not appear if another app is started as Administrator
- While the freeze is happening, open the Codex Settings view or just close the Codex app.
- In my testing, switching to Settings can stop the freeze.
Additional validation:
- Microsoft PowerToys was uninstalled
- The machine was rebooted
- The issue still reproduced afterward
What is the expected behavior?
Codex should remain usable without affecting Windows shell/UI components such as the Start menu, taskbar, Alt+Tab behavior, desktop interaction, or UAC prompt display.
Additional information
I captured multiple live reproductions with a background monitor that sampled relevant shell/Codex/WebView2 processes once per second and also tracked Event Viewer entries and WER reports.
Key findings:
- Earlier live repro:
19:23:50->Codex.exehung (Application Hang,MoAppHang)19:23:52-> WER archived the Codex hang report19:24:30->explorer.exewas still running but captured asresponding=falseby the monitor
This suggests the Codex hang preceded and likely contributed to the shell becoming unresponsive.
- Marked freeze window:
19:48:38-> freeze-start19:48:53-> freeze-end
During that window:
- no new formal
Application Hangevent was emitted for Explorer/StartMenuExperienceHost - shell processes remained alive and reported as responsive
- however, shell CPU usage was elevated:
explorer.exe: about52-54CPUStartMenuExperienceHost.exe: about26-27CPUSearchHost.exe: about11-12CPU
- at the same time, Codex processes showed high CPU/memory pressure and abrupt memory churn
- Marked freeze window where opening Settings stopped it:
20:00:29-> freeze started when I tried to open the Start menu20:00:40-> opening Codex Settings stopped the freeze
During that window:
- no new formal
Application Hangevent was emitted - shell processes remained alive and reported as responsive
- shell CPU usage was elevated:
explorer.exe: about64-66CPUStartMenuExperienceHost.exe: about30-32CPUSearchHost.exe: about13-15CPU
- multiple Codex processes were simultaneously under significant load:
- one Codex process sustained about
45-51CPU and roughly430-534 MBworking set - another sustained about
35-45CPU - another showed about
15-17CPU with large private memory usage
- one Codex process sustained about
Additional relevant observations:
msedgewebview2.exealso showed large memory changes during some repro windowsDISM /Online /Cleanup-Image /RestoreHealthcompleted successfullysfc /scannowfound and repaired corrupted files- even after that, the issue still reproduced
Current interpretation:
- this appears to be an intermittent Windows shell/UI freeze associated with Codex activity
- the issue may be tied to a specific Codex UI state/view, because opening Settings appears to stop the freeze
- the problem does not always manifest as a formal shell crash event
Activity
github-actions commentedon Mar 31, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
zunzster commentedon Apr 7, 2026
I get this exact taskbar and explorer freeze too.
I note this was on a repo where I not pushed a github commit yet,
Looking in RAMMAP, I can see 100s of git.exe and conhost.exe which don't show in Task Manager processes list.
Karaik commentedon Apr 8, 2026
Same here. But opening Codex Settings does not stop the freeze for me.
The only thing that helps is closing the Codex GUI.
paulaccredo commentedon Apr 8, 2026
Yeah, opening Settings didn't help me either. Codex seems to be rapidly creating 100s of zombie processes (git.exe and conhost.exe) which use up page table memory and don't get cleaned up and eventually prevent other processes from launching.
CognitiveCodeAI commentedon Apr 8, 2026
I’m having seen issue. I’m forced to reboot my computer. The fix I found is to uninstall Codex and just use Claude code.
zunzster commentedon Apr 10, 2026
I believe I've tracked this down to a bug in AMD Adrenaline Edition drivers that caused a zombie process handle leak as I have a AMD Ryzen 7 series CPU. More details here https://yngve.vivaldi.net/amd-you-infected-my-pc-with-zombies/
So, the actual bug is in the AMD drivers, but given that Codex spawns a LOT of short-lived background git processes, that magnifies the problem.
Do the other people reporting this have AMD GPUs or CPUs?
AIAllTheThingz commentedon Apr 17, 2026
Nvidia drivers for me
TnzGit commentedon Apr 23, 2026
AMD CPU here
Anonymousinterpares commentedon Apr 24, 2026
I have exactly same issue. Nvidia GPU and AMD CPU. The app is just unusable.
danholevoet commentedon Apr 26, 2026
I'm experiencing a similar issue. After some period of time, Codex will hang. Ending the Codex tasks in Task Manager will allow me to reopen it and use it for some additional time, but it will eventually hang again. In the interim, Windows functionality will begin to degrade. The first noticeable behavior is usually failure of the Print Screen button, then Alt-Tab, then the Start Menu. Other open applications generally continue to operate without issue.
A reboot will bring the machine back to the normal working state and will operate normally until I resume using Codex, at which point the degradation restarts itself.
I'm also on an AMD CPU.
danholevoet commentedon Apr 26, 2026
I switched to the Codex extension in VS Code because of the app instability. Unfortunately, it's eventually nuking system processes from that environment as well (my Print Screen just stopped working). The underlying Codex stack seems to be corrupting Windows regardless of which head it runs under.
Sisyphbaous-DT-Project commentedon May 1, 2026
I can reproduce this class of issue as well on Windows.
Observed behavior on my side:
This matches the reports in this thread about shell/UI freeze and recovery after killing Codex processes.
I’m adding this datapoint because it looks very similar to a process/resource leak pattern (consistent with reports mentioning many short-lived git/conhost processes).
8 remaining items
Gogo-Fogo commentedon Jul 1, 2026
Same issue here on Windows. This is severe enough that I’ve had to force-restart the PC multiple times.
Environment:
OpenAI.Codex_26.623.11225.0_x64__2p2nqsd0c76g026100, x6432.0.16.1062/610.6231.0.24002.92Observed behavior:
Win + Shift + SandWin + PrtScstop working or respond minutes later.Diagnostics I captured locally:
Codex Desktop process
Codex.exerepeatedly spawned short-lived Git/conhost/PowerShell children, roughly every second, even when my current working directory was not a Git repo.Examples observed:
project-nexus-official commentedon Jul 4, 2026
Codex version: 26.623.13972.0
Platform: Windows 11 x64
Package: OpenAI.Codex_26.623.13972.0_x64__2p2nqsd0c76g0
I can reproduce a Windows shell/taskbar freeze triggered by Codex:
MatrixNe0 commentedon Jul 9, 2026
Codex Desktop::Package: OpenAI.Codex_26.623.19656.0_x64__2p2nqsd0c76g0
Platform:
Hardware:
RAM: Windows currently reports 31.85 GB visible
99% Mem Usage - Been fighting this since the weekend issues, canceling and moving to claude
“Codex Desktop on Windows triggers system memory exhaustion and Start/taskbar freezing after reopening. The visible window can close while Codex/Codex helper processes remain alive. At peak, physical memory reached ~100%, committed memory reached ~52 GB / 60.85 GB, but normal process private commit totaled only ~8.27 GB and Codex itself was ~1 GB. Kernel pools were elevated, and Windows began paging heavily. This began after the late-June Codex weekend incident/update window and repeats when Codex Desktop is opened.”
MatrixNe0 commentedon Jul 9, 2026
Wanted to report back here, that I figured out my issue.
A few of my projects had 4/5gb helper chrome modals. removing these cleaned up nearly 10gb of files that were being indexed. Treesize pro, and requesting codex clean them safely helped.
Yelorix commentedon Jul 10, 2026
So today or yesterday, OpenAI announced ChatGPT 5.6 and with it, an agentic desktop app to go along with it.
They said that codex now merges into this app. So I was of course hopeful that this new updated app wouldn't have this same issue.
I have tested and can confirm that in the new ChatGPT desktop app for windows, the problem still exists...
It only happens when the app is "Codex mode" and not in "Work mode".
MatrixNe0 commentedon Jul 10, 2026
hendrik-101 commentedon Jul 11, 2026
I can reproduce this issue on a current Codex Windows build, and I captured DWM/GPU performance data before and after recovery.
Environment
OpenAI.Codex_26.707.3748.0150.0.7871.101595.79Observed behavior
After leaving the Codex app running for a long time, the entire Windows desktop becomes increasingly laggy. Window dragging visibly stutters and even keyboard input is delayed, while Task Manager appears mostly idle.
The issue correlates specifically with long-running Codex app sessions on this machine.
Measurements while affected
dwm.exe: approximately115%CPU, where 100% represents one logical processor2,191 MB218 MB1922,850Disabling NVIDIA Overlay and fully closing the NVIDIA app did not fix the lag.
Win+Ctrl+Shift+Breset the graphics driver but did not improve the issue. DWM retained approximately 2.2 GB of dedicated GPU memory.I then force-restarted only
dwm.exewith administrative privileges. Codex and all other applications remained open.Immediately after the DWM restart
115% → 21%2,191 MB → 851 MB218 MB → 62 MBThis suggests that Codex’s long-running Chromium renderer/GPU activity may trigger an accumulation of DWM composition surfaces or another persistent compositor state. The resource pressure is visible primarily in
dwm.exe, not necessarily in the Codex GPU subprocess itself; after recovery, the Codex GPU subprocess used only approximately 101 MB of dedicated GPU memory.Restarting the graphics driver was insufficient, while restarting the DWM process cleared the condition without rebooting or signing out.
I would be happy to capture additional counters or logs during the next reproduction if maintainers can specify what would be most useful.
Chisen2Code commentedon Jul 13, 2026
I can confirm that this issue is still reproducible as of July 14, 2026, with
OpenAI.Codex_26.707.8168.0on Windows 11 Pro 23H2 (build 22631.6199, x64, 32 GB RAM).During the incident, physical memory usage reached 98% while normal live processes could not explain the usage. A RAMMap 1.63 snapshot showed:
<ProcessList>git.exerecordsconhost.exerecordsgit.exeandconhost.exeaccounted for 99.25% of all retained process records. The arithmetic is unusually exact: approximately 32.68 KiB of Page Table and 34.49 KiB of Unused/Active memory per retained record. The largest currently live process used only about 5.3 MiB of page-table memory, so the 10.56 GiB global total came from hundreds of thousands of exited process objects rather than one large live process.I also captured a bounded 10.09-second
Win32_ProcessStartTrace: 279 process starts (27.65/sec), consisting of 179git.exe, 93conhost.exe, and 6powershell.exe. At least 89 Git processes and four PowerShell processes were direct children of the Codex/ChatGPT desktop process during that short window.The evidence confirms that Codex is generating extreme short-lived Git/conhost process churn and greatly amplifying the failure. I cannot yet prove which kernel component prevents the exited process objects from being released; a third-party security/HIPS driver is installed, so the retention owner still needs isolation. I retained the 450 MB RMP snapshot and can provide sanitized counts or additional traces if maintainers specify what would be useful.
project-nexus-official commentedon Jul 14, 2026
I can reproduce the same issue consistently.
Codex version:
26.623.13972.0
Package:
OpenAI.Codex_26.623.13972.0_x64__2p2nqsd0c76g0
Platform:
Windows 11 x64
Reproduction:
The problem still occurs after:
Memory observations with Microsoft RAMMap:
Directly after reboot:
After extended Codex use:
Closing all normal applications does not release the memory. A reboot resets the Page Table and Nonpaged Pool to normal values.
The issue started recently and appears to coincide with recent Windows updates:
Codex is the direct trigger in my tests, because killing Codex immediately restores the Windows shell even when overall RAM usage is not yet high.
project-nexus-official commentedon Jul 15, 2026
Additional finding:
The same Windows shell/taskbar freeze also occurs when using the Codex VS Code extension.
I am now testing VS Code with the Codex extension disabled to isolate the extension from VS Code itself.
MatrixNe0 commentedon Jul 15, 2026
I was able to significantly reduce my memory leak by repairing git, and upgrading it. When I say repair, I mean using codex itself to look at the empty file directories that had .git, and making them real repos. Like the other post here though it does seem as if Chrome and VS code both were affected as well.
kevinjiang0121-cyber commentedon Jul 15, 2026
I can reproduce a closely related issue on the current Codex Desktop for Windows.
Environment
26.707.9981.0Observed behavior
While the main Codex task view is visible and focused, pointer movement becomes noticeably choppy across the Windows desktop.
This affects both:
Minimizing or exiting Codex immediately restores smooth pointer movement. This makes a mouse, Bluetooth, or touchpad hardware issue unlikely and suggests that the active Codex renderer/compositor state is affecting desktop responsiveness.
Relevant diagnostics
During the issue, overall system load was normal:
I found no recent WHEA, disk I/O, or display-driver reset events.
However, the active Codex Desktop log contained:
597occurrences of:ResizeObserver loop completed with undelivered notifications.327occurrences of:[desktop-notifications] service startingThe repeated errors were emitted while the renderer window was reported as:
rendererWindowFocused=truerendererWindowVisible=trueThe notification service was sometimes initialized four times at the same timestamp after switching task views.
Reproduction pattern
This may be related to a frontend layout/reconciliation loop or the Chromium GPU compositing path. I am not asserting the exact root cause, but the behavior appears closely related to this issue.
Possibly related:
ResizeObservererror in Codex frontend logsI can provide sanitized application logs if that would help isolate the renderer state responsible for the issue.
project-nexus-official commentedon Jul 15, 2026
Additional findings from another reproducible Windows 11 case:
System
2.55.0.windows.2and was then upgradedBehavior before the Git cleanup
After longer Codex sessions, total RAM usage increased to approximately 85–99%.
RAMMap showed that most of the abnormal growth was not ordinary application memory:
The Windows shell then gradually degraded:
Killing the Codex desktop process restored the shell immediately.
The same behavior also occurred when using the Codex VS Code extension. Killing VS Code immediately restored the taskbar.
This means the problem does not appear to be limited to the Codex desktop UI.
Git-related finding
The actual project repository was healthy:
C:\Lumifesta\lumifesta_app\.gitgit statuswas clean, andgit fsckcompleted successfully apart from two harmless dangling blobs.However, there was an additional
.gitdirectory in the parent folder:C:\Lumifesta\.gitGit did not recognize that parent directory as a valid repository:
fatal: not a git repository (or any of the parent directories): .gitI renamed this invalid parent
.gitdirectory, upgraded Git for Windows, and rebooted the computer.Behavior after the Git cleanup
The situation improved significantly:
However, after switching the second VS Code instance from Claude Code to Codex, meaning two Codex sessions were active simultaneously, the taskbar started hanging again.
At that moment:
This suggests that:
.gitdirectories may significantly amplify the problem.Given the other reports about large numbers of short-lived or zombie
git.exeandconhost.exeprocesses, it may be useful to investigate:.gitdirectories in parent foldersThe Git cleanup greatly delayed and reduced the problem, but did not eliminate it.
chess-oai commentedon Aug 28, 2026
ChatGPT v26.825.32147 includes a fix for one cause of Windows stuttering and slowdowns during long sessions. Sandboxed commands could cause Desktop Window Manager (
dwm.exe) resources to accumulate. The fix reuses private Windows desktops for commands with the same permissions.Please update to ChatGPT v26.825.32147 or later, restart the app, and let us know whether this helps.
If the problem continues after updating, please share your version and steps to reproduce.
Thank you for your reports and investigation!