ChatGPT app for Windows freezes seconds after opening: "Codex is not responding" causes and fixes

Last verified: December 3, 2026
Since the Microsoft Store pushed the late-November updates of the ChatGPT desktop app for Windows, a growing number of users open the app, see the window appear and then lose control of it within five to ten seconds. Clicking anywhere brings up the Windows prompt saying Codex is not responding, and the only way out is to end the process. Repair, Reset, a full reinstall and even a brand-new user profile leave the problem exactly where it was, while chatgpt.com and the Codex command-line tool keep working on the same computer with the same account.
The most common cause found so far sits outside the app: a WSL startup script that stops and waits for input, such as an SSH key passphrase or a sudo password in the Linux shell profile. When the app starts, it quietly runs a Linux shell to read your environment, that shell waits for an answer nobody can type, and the app's window waits with it. Removing or guarding that prompt fixed the freeze for three separate users. For people with no WSL prompt at all, the freeze on Windows 11 26H2 has no confirmed fix yet, and OpenAI has not answered any of the open reports.
··········
THE CHATGPT WINDOWS APP FREEZE: WHAT YOU SEE AND WHICH VERSIONS ARE AFFECTED.
The app installed from the Microsoft Store under the name ChatGPT is the unified desktop app that opens into Work and Codex, and its Windows package is called OpenAI.Codex. That explains why the freeze prompt names Codex even for people who only use the chat side. The window draws normally, sometimes shows the logo or a spinner, and then stops repainting. Windows records the failure in Event Viewer under Windows Logs > Application as an Application Hang event (ID 1002) and a Windows Error Reporting event (ID 1001) with the name MoAppHang.
The reports on the official OpenAI forum and on the openai/codex GitHub repository point to the same group of builds released between November 17 and November 25, 2026.
........
Item | What the reports show |
First affected builds | 26.1117.3838.0 and 26.1117.4957.0 |
Also affected | 26.1120.5083.0 and 26.1120.6357.0 |
Last builds reported as working | 26.1111.2228.0 and 26.1111.9664.0 |
Windows builds in the reports | Mostly Windows 11 26H2 (build 26300), one report on build 26200 |
Still working on the same PC | chatgpt.com in a browser, the Codex CLI, a separate ChatGPT Beta package |
Message in the app log | [wallpaper-tint] TypeError: e.hookWindowMessage is not a function |
OpenAI response | No maintainer or staff reply on the issues checked |
........
The wallpaper-tint error appears in the logs of several affected users, so it is easy to blame it. One reporter switched to a solid-color wallpaper and turned off transparency effects without any change, and the users who fixed the freeze through WSL did nothing about the wallpaper, so the message looks like a side symptom of the new builds rather than the cause of the hang.
··········
WHY THE CHATGPT APP HANGS ON WINDOWS: CAUSES, CHECKS AND FIXES.
The causes below come from users who traced their own case and from fixes confirmed by more than one person. None of them is documented by OpenAI, and the table says how solid each one is.
........
Cause | How to check | Fix | How solid |
WSL shell profile asks for an SSH key passphrase | Run the WSL test command below and see whether it asks for a passphrase or never returns | Make the prompt run only in interactive terminals, or remove it | Confirmed by two users on the OpenAI forum |
WSL shell profile runs a sudo command that needs a password | Same test; look for sudo lines in ~/.bashrc | Skip the line when bash runs a command string | One detailed report with a traced process |
Invalid backslashes in config.toml (MCP server paths) | App stuck on the loading screen; log line "failed to reload config" with a line number | Use forward slashes or single-quoted strings | Two users, staff asked for a retest |
New builds on Windows 11 26H2 with no WSL trigger | WSL test returns at once and the app still freezes | No confirmed fix; use the web app, the CLI or the Beta package | Six or more open GitHub issues |
A USB keyboard blocking the app (July builds) | Unplugging the keyboard unfreezes the window | Install the current update | Fixed by a July update, per two users |
........
The first two rows share one mechanism. A user who captured the process tree of a frozen app found that it was waiting on a process started as wsl.exe -d with the distribution name, running /usr/bin/bash -ilc to discover the PATH. The i and l flags make bash behave like an interactive login shell, so it reads ~/.bashrc and runs every line in it, including lines written for a human sitting at a terminal. If one of those lines asks for a password, the hidden shell waits forever and the window that depends on it stops responding.
··········
HOW TO FIX THE WSL PROMPT THAT FREEZES THE CHATGPT APP.
Start by confirming the cause. Close the frozen app from Task Manager, open PowerShell or Windows Terminal and run a login shell the same way the app does. The command below is illustrative and uses Ubuntu as the distribution name; replace it with the name shown by wsl -l -v.
wsl -l -v
wsl -d Ubuntu -- bash -ilc "echo ok"If the second command prints ok within a second or two, WSL is not your problem and you can move to the next section. If it asks for a passphrase, a sudo password or anything else, or if it simply never returns, you have found the cause.
1. Open the profile in your distribution with nano ~/.bashrc (or ~/.zshrc if zsh is your shell, plus ~/.profile and ~/.bash_profile if you use them).
2. Find the line that asks for input. In the reports it was a line that loads an SSH key protected by a passphrase, and a sudo service avahi-daemon start line that starts a service at login.
3. Move that line into a block that runs only when a person opened the shell, or delete it if you no longer need it. The user who fixed the sudo case wrapped the line in a check of BASH_EXECUTION_STRING, a variable bash sets only when it runs a command passed with -c.
4. Save the file, run the test command again until it prints ok without asking anything, then start the ChatGPT app.
An illustrative version of the guarded line, based on that report, looks like this:
# Skip service startup for tool-invoked bash -c commands
if [ -z "$BASH_EXECUTION_STRING" ]; then
sudo service avahi-daemon start
fiThe same pattern works for an SSH key: keep the line that loads it, put it inside the same if block, and the key will still load when you open a terminal yourself. The reporter who traced the sudo case measured a renderer startup of about eight seconds afterwards, survived two quit and relaunch cycles, and kept all existing conversations, since nothing in the app's data was touched.
The official Windows app documentation adds one related detail. It shows how to share Codex settings with the WSL CLI by adding an export of CODEX_HOME to ~/.bashrc or ~/.zshrc. That line is harmless, because it does not ask for input, so you do not need to remove it while cleaning the profile.
··········
FIXING A BROKEN CONFIG.TOML THAT STOPS THE CHATGPT APP AT STARTUP.
A different startup hang, first reported in August on build 26.803.5235.0, comes from the Codex configuration file in %USERPROFILE%\.codex\config.toml. In TOML, a backslash inside double quotes starts an escape sequence, so a Windows path such as F:\projects\... can contain an invalid escape like \d or \p. The app then fails to read its configuration, logs "failed to reload config" with the file path, line and column, and stays on the loading screen. A reinstall does not help, because the file stays in your profile.
1. Close the app and open config.toml in a text editor.
2. Look at the line and column given in the log, usually inside an [mcp_servers] block where a script or program path was written with backslashes.
3. Replace the backslashes with forward slashes, or switch that value to single quotes, which TOML treats as literal strings.
args = ["-NoLogo", "-File", "F:/projects/mcp-local/start-mcp.ps1"]
args = ['-NoLogo', '-File', 'F:\projects\mcp-local\start-mcp.ps1']The two lines above are illustrative and follow the fix posted by the original reporter. An OpenAI support agent asked in October whether the hang still happens in newer builds and has not confirmed a fix since, so treat this as a check worth thirty seconds rather than the likely cause of the November freezes.
··········
WHEN NOTHING WORKS: THE UNRESOLVED CHATGPT APP FREEZE ON WINDOWS 11 26H2.
For a part of the affected users the WSL test returns immediately, config.toml is clean, and the app still freezes on every launch. The best documented case on GitHub runs Windows 11 Home 26H2, build 26300, and freezes even with CODEX_HOME pointed at a new, empty folder, while the same app version opens normally on another PC running Windows 11 25H2. The reporter ruled out the graphics card on a laptop with Intel and NVIDIA GPUs, third-party DLLs, free memory and USB devices.
These steps did not fix this version of the freeze in any report checked on December 3, 2026.
........
Attempted fix | Result reported |
Settings > Apps > ChatGPT > Advanced options > Repair, then Reset | Still freezes |
Uninstall and reinstall from the Microsoft Store | Still freezes, tried twice by one user |
Moving .codex-global-state.json, .codex-global-state.sqlite and config.toml out of .codex | Still freezes |
Running the app as administrator | Still freezes |
Ending the bundled codex.exe app-server while frozen | Window stays frozen |
Installing the newer runtime package by hand with Add-AppxPackage | Stopped a repeated runtime install, freeze remained |
Solid wallpaper and transparency effects off | Still freezes |
........
Until OpenAI ships a fix, the practical options are the ones that keep your work moving. Conversations synced to your account remain available on chatgpt.com, and the Codex CLI kept working on every affected machine where users tried it. Two users also reported that a separate ChatGPT Beta package opened normally on the same computer and account, with fewer features than the full app. If you keep conversations stored only on this computer, our explanation of why desktop chats do not always sync to the web and the phone shows which ones you can open elsewhere.
One user rolled back to build 26.1111.9664.0 by installing a saved MSIX file with Add-AppxPackage, but that report deals with conversation messages hidden by the update, and nobody has confirmed that the rollback also cures the launch freeze. OpenAI does not offer older builds for download, and the Store tends to stage the newer package again, so this route only suits people who kept the old installer and accept that risk.
··········
WHAT OPENAI DOCUMENTS ABOUT THE CHATGPT WINDOWS APP AND WHAT ONLY USERS REPORT.
OpenAI's official Windows app page documents installation from the Microsoft Store or with winget, the agent selector in Settings that switches Codex between Windows native and WSL (the change applies after a restart), the end of WSL1 support from Codex 0.115, and fixes for PowerShell execution policy, Git and administrator rights. It has no section on startup hangs, and the changelog through December 2, 2026 lists no fix for a Windows launch freeze; the last Codex app release it shows, 26.1120 on November 23, only mentions a Windows fix for branch review counts.
Everything else in this page comes from users. The WSL cause rests on three independent reports, two on one forum thread and one on another with a traced process. The config.toml cause rests on one detailed report and one confirmation. The 26H2 freeze is described in at least six GitHub issues opened between November 20 and November 26, which the repository's bot groups as possible duplicates; the ones checked for this page are still open, with no assignee. Earlier this year a similar freeze tied to Corsair keyboards disappeared after a July update, which suggests OpenAI does fix these hangs in later builds even when it says nothing on the threads.
··········
KEEPING THE CHATGPT WINDOWS APP FROM FREEZING AFTER THE NEXT UPDATE.
Keep every line of your WSL shell profiles non-interactive unless it is guarded, because the app runs a login shell in the background each time it starts, and a prompt that is harmless in a terminal becomes a freeze in the app. Run the wsl test command after you edit ~/.bashrc, ~/.zshrc or ~/.profile, and before you blame a new app build.
The Microsoft Store installs app updates on its own, so a working app can break overnight. Watch the Codex app entries in OpenAI's changelog for a release that mentions Windows startup, and check the open issues on the openai/codex repository before reinstalling, since a reinstall did not change the outcome in any report. Other recent update problems in the same app, such as projects vanishing from the sidebar after an update and models asking for a newer version of Codex, have their own fixes and are worth ruling out when the app opens but behaves oddly.
··········
THE CHATGPT APP "NOT RESPONDING" FREEZE ON WINDOWS: WHERE THINGS STAND.
The late-November ChatGPT builds for Windows freeze within seconds of launch for two different groups of users. In the first group the trigger is a WSL shell profile that waits for a passphrase or a sudo password, and guarding or removing that line restores the app in minutes without losing any data. In the second group, concentrated on Windows 11 26H2, nothing tried so far has worked, OpenAI has not commented, and the only reliable fallbacks are chatgpt.com, the Codex CLI and the Beta package. A one-line WSL test tells you which group you belong to, and that answer decides whether you can fix the freeze tonight or have to wait for a new build.
··········
FOLLOW US FOR MORE.
·····
DATA STUDIOS
·····
datastudios.org




