Codex desktop app intermittently freezes Windows shell/UI; opening Codex Settings stops the freeze
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
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
32 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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.
Same here. But opening Codex Settings does not stop the freeze for me.
The only thing that helps is closing the Codex GUI.
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.
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.
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?
Nvidia drivers for me
AMD CPU here
I have exactly same issue. Nvidia GPU and AMD CPU. The app is just unusable.
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.
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.
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).
I found thatusing Google Drive will cause this. Verified.
Same... It's awful!
I can reproduce this class of issue as well on Windows.
Observed behavior on my side:
While Codex app is running, Windows shell gradually degrades/freezes (taskbar and status area become unresponsive).
In this state, opening Task Manager and force-ending Codex background process(es) restores normal Windows behavior.
The issue then reappears after using Codex app again for some time.
I also ran into the same issue. I have an Nvidia GPU, however there is an onboard AMD GPU, and the problematic driver mentioned in the article is installed (probably automatically). After deactivating the onboard GPU, the issue is fixed.
Thanks for finding this is related to that driver issue. The linked article is from January 2025, so it is rather strange that a fix hasn't been installed by Windows Update, as it seems the issue has now been well known for a long time.
This might still be a bug in Codex, too, with launching too many Git processes - I am pretty sure that was the issue as the task manager showed a lot of these processes (probably "zombies" as in the article). Since processes are a limited system resource, Codex should probably be a bit more conservative with launching them, or maybe re-use existing processes.
Having this issue on an AMD CPU and Nvidia GPU tbh
I’m seeing a similar frequent freeze/stuck issue in the Codex desktop app on Windows.
Environment:
OpenAI.Codex_26.602.4764.0_x64__2p2nqsd0c76g0Observed behavior:
Expected behavior:
I have not attached logs because they may contain sensitive local paths/session content, but I can provide a session ID or sanitized logs if helpful.
I can reproduce what appears to be the same issue on Windows.
Environment
OpenAI.Codex_26.616.9593.026200610.62Observed behavior
Win + Ctrl + Shift + Btemporarily recovers the UI, but the issue quickly returns.Event log / diagnostics
StartMenuExperienceHost.exeandShellExperienceHost.execrash/hang around the freeze window.Windows.UI.Xaml.dll0xc0000409nvidia-smishowsCodex.exerunning a GPU process on the NVIDIA GPU.Mitigations tried
GpuPreference=1registry entryThe GPU preference setting did not appear to take effect; Codex still used the NVIDIA GPU. The most reliable workaround so far is closing Codex Desktop.
This is also happening on my device now.
Windows 11, NVIDIA GPU and AMD CPU.
After 1 minute of having the app open, the task bar, and other shell features like alt+tab commands or just pressing the windows key stop functioning completely. After a while the entire background disappears, taskbar disappears, explorer.exe as a whole just won't work. Can't start it a new either.
The second I end the Codex process in task manager, everything instantly resolves itself.
This issue has been reported around the end of March, it is now the end of June and outside of this github issue thread, I can not find a single thing about this.
Very sad, I'm paying a monthly subscription for this and it is now completely unusable for me, as I can't use it AND switch to other processes or use the rest of my computer at the same time...
The Codex app and any other app just runs fine during this as well, it's just the windows shell locking up for me.
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:
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:
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.”
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.
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".
I can confirm it remains.
On Fri, Jul 10, 2026 at 12:49 PM Yelorix @.***> wrote:
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.
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.
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.
<img width="1642" height="563" alt="Image" src="https://github.com/user-attachments/assets/0c30b0df-1696-45b7-b888-cdc4940caf38" />
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.
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.
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.
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.