r/codex • • Sep 27 '26 • Bravo 2 Heartwarming 1

Bug [FIX] ChatGPT Windows app stuck on loading spinner after update (26.924.2738.0): works in 2 min, no data loss

Edit: Confirmed working by several users. Thanks for the feedback! If it doesn't work for you, drop a comment and I'll help.


TL;DR: It's a bug in the 26.924.2738.0 update, not your PC. Keep the ChatGPT window open, end only the internal codex.exe process in Task Manager, and the app reloads in about 3 seconds with all your chats. Nothing gets deleted.

 

**Symptom:** the OpenAI logo shows for a few seconds, then a gray/black window with a spinner that never ends. The web version (chatgpt.com) works fine. Reinstalling, Repair/Reset in Windows Settings, rebooting and changing DNS don't fix it.

 

**Why it happens:** the desktop app runs an internal backend process (`codex.exe app-server`). On this version it signs in fine, but then stalls during startup and never tells the window it's ready, so the window waits forever. When you end just that process, the app launches a fresh one, which connects right away. (Details in the GitHub reports linked below.)

 

---

 

### Fix 1: by hand, no downloads (about 2 minutes)

 

1. Open ChatGPT and let it sit on the spinner.

2. Press **Ctrl + Shift + Esc** to open Task Manager. **Don't close the ChatGPT window.**

3. Under **Processes**, expand **ChatGPT** with the little arrow.

4. Select **codex.exe** (if there are several, go to the **Details** tab, add the *Command line* column, and pick the one with `app-server`).

Tip (thanks u/NinjaThat473): if there are several codex.exe processes, end the one using the most memory. If you pick the wrong one, Chat mode and existing chats may not open. Just go back to Task Manager and end the biggest one.

5. Click **End task**.

6. Switch back to ChatGPT: your chats show up within a few seconds.

 

If you accidentally end the main window instead, the app just closes. Reopen it and try again.

Tip (thanks u/Dependent-Egg-3744): in Task Manager the process may show up as Codex instead of ChatGPT. If you can't find it, search for "Codex", or go straight to the Details tab and look for codex.exe.  

### Fix 2: one-click script

 

Paste this into a new file called `Fix-ChatGPT.ps1`, then right-click it → **Run with PowerShell**. Or just paste the whole thing into a PowerShell window. It closes ChatGPT if it's stuck, reopens it, waits 20 seconds and restarts only the internal process. **It doesn't touch any files.** Read it before running it:

 

    # Fix: ChatGPT for Windows stuck on the loading spinner (v26.924.x, OpenAI.Codex package)

    # Opens ChatGPT, waits 20 s, then restarts ONLY its internal "codex.exe app-server" process.

    # The app relaunches it by itself and the UI loads. Does NOT delete, move or edit any file.

    # Based on github.com/openai/codex/issues/48466 and /48333

 

    function Get-AppProcs {

        Get-CimInstance Win32_Process -ErrorAction SilentlyContinue |

            Where-Object { $_.ExecutablePath -like '*\WindowsApps\OpenAI.Codex_*' -or

                           ($_.Name -eq 'codex.exe' -and $_.CommandLine -like '*app-server*') }

    }

    function Get-AppServer {

        Get-CimInstance Win32_Process -Filter "Name='codex.exe'" -ErrorAction SilentlyContinue |

            Where-Object { $_.CommandLine -like '*app-server*' -and

                           ($_.ExecutablePath -like '*\WindowsApps\OpenAI.Codex_*' -or

                            $_.ExecutablePath -like '*\OpenAI\Codex\bin\*') }

    }

 

    $pkg = Get-AppxPackage -Name 'OpenAI.Codex' -ErrorAction SilentlyContinue

    if (-not $pkg) { Write-Host "ChatGPT (OpenAI.Codex) from the Microsoft Store is not installed."; Start-Sleep 10; exit }

    Write-Host "Installed version: $($pkg.Version)"

 

    # 1) Close ChatGPT if it is already open (stuck)

    $open = Get-AppProcs

    if ($open) { Write-Host "Closing the stuck ChatGPT..."; $open | ForEach-Object { Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue }; Start-Sleep 3 }

 

    # 2) Launch ChatGPT

    Write-Host "Launching ChatGPT..."

    Start-Process 'explorer.exe' "shell:AppsFolder\$($pkg.PackageFamilyName)!App"

 

    # 3) Wait for the internal process, give it 20 seconds

    $srv = $null

    for ($i = 0; $i -lt 60 -and -not $srv; $i++) { Start-Sleep 1; $srv = Get-AppServer | Select-Object -First 1 }

    if (-not $srv) { Write-Host "Internal process not found. If ChatGPT opened fine, close this window."; Start-Sleep 10; exit }

    Write-Host "Internal process found (PID $($srv.ProcessId)). Waiting 20 seconds..."

    Start-Sleep 20

 

    # 4) Restart only the internal process

    foreach ($p in @(Get-AppServer)) { Write-Host "Restarting PID $($p.ProcessId)..."; Stop-Process -Id $p.ProcessId -Force -ErrorAction SilentlyContinue }

 

    # 5) Confirm the app relaunched it

    $new = $null

    for ($i = 0; $i -lt 30 -and -not $new; $i++) { Start-Sleep 1; $new = Get-AppServer | Select-Object -First 1 }

    if ($new) { Write-Host "Done. Your chats should appear in a few seconds." -ForegroundColor Green } else { Write-Host "The app did not relaunch it. Close ChatGPT and run this again." -ForegroundColor Yellow }

    Start-Sleep 8

 

If it doesn't work the first time on a slow PC, change `Start-Sleep 20` to `Start-Sleep 45`.

 

---

 

**This is temporary.** You'll need to do it every time you open the app until OpenAI ships a fixed version. Check Microsoft Store → Library → Get updates.

 

**Sources (community reports, not official):** GitHub openai/codex issues #48466, #48333, #48463, #48492.

 

*Guide put together by the Holive team (Mexico). Hope it saves you some time. Happy to help in the comments if it doesn't work for you.*
20 Upvotes

54 comments sorted by

1

u/jasonwi1202 Sep 27 '26

Fix #1 worked for me, spent 7-8 hours trying to troubleshoot this yesterday because both PCs have the same issue now. Thank you so much!

1

u/villosomara Sep 27 '26

So glad it worked! 7-8 hours is brutal, I was in the same spot before finding this. Since it comes back on every launch, the script in Fix 2 might save you some clicks on both PCs: just run it instead of the normal icon until OpenAI ships a patched version. If either PC acts up again, let me know and I'll help you sort it out.

2

u/SectionWestern4606 Sep 27 '26

love you bro fuck me it worked even claude could not solve this

1

u/villosomara Sep 27 '26

Love you too bro! 😂 Funny thing: I actually worked this out *with* Claude, digging through the GitHub reports until something stuck. Took a few tries, but we got there. Glad it's working for you!

1

u/SectionWestern4606 Sep 27 '26

Well my claude might have done it but u see i was at 98% of my weekly limits . But this is not a permanent fix have to do this everytime i open codex

1

u/villosomara Sep 27 '26

Haha 98% is rough, I feel that (I actually used 100% of mine and some more tokens) 😂

And yeah, you're right: it's a workaround, not a permanent fix. The bug is in the 26.924 build itself, so it comes back on every launch until OpenAI ships a patched version. That's what **Fix 2** is for: save the script as a `.ps1` and run it instead of the normal icon. It opens the app, waits 20 seconds and restarts codex.exe for you, so it's basically one click.

Keep an eye on Microsoft Store > Library > Get updates. Once there's a version above 26.924.2738.0, try the normal icon again.

1

u/MarshmelloStrawberry Sep 27 '26

love you.

1

u/villosomara Sep 27 '26

Love you too bro! This is actually my first ever post on Reddit, so reading comments like this means a lot. Really glad it got you unstuck!

1

u/NinjaThat473 Sep 27 '26

感谢兄弟,用第一种方法完美解决问题。

1

u/villosomara Sep 27 '26

Glad it worked perfectly, bro! 🙌

很高兴帮到你,兄弟!🙌

1

u/MeanManagement834 Sep 28 '26

Hey thanks u/villosomara for the solution... A quick question which process should I end if I need to open a new window, but it's stuck on the same loading screen??

1

u/villosomara Sep 28 '26

Glad it helped! I haven't tested the new-window case myself, but here's what I'd try:

  1. Leave the stuck window open, go to Task Manager and expand **ChatGPT** again.
  2. End the **codex.exe** using the **most memory** (thanks to u/NinjaThat473 for that tip). If you have the *Command line* column enabled in the Details tab, it's the one with `app-server`.
  3. Give it a few seconds. The app should relaunch it and both windows should load.

If the new window still hangs, close just that window and open it again from the main window once the main one is fully loaded. From the GitHub reports, the extra windows depend on the same backend as the main one, so they tend to recover once it's restarted.

Let me know if it works, I'll add it to the post!

1

u/MeanManagement834 Sep 28 '26

Well surely i will test it out after work and reach out to you... And thanks in advance 😃.

Oh and a quick question (again), I was wondering does the codex.exe end task solution have any kind of misslaneous issues?? Like perhaps failed queue task or un deletable queue task and stuck on thinking animation??

1

u/villosomara Sep 28 '26

Good question! Short answer: it's safe if you do it only while the app is stuck on the loading spinner, before you start any task. At that point nothing is running yet, so there's nothing to break. Where it can cause trouble:

  • If you end codex.exe while a task is running or queued, that task gets cut off. It may show as failed or stay stuck on the "thinking" animation.
  • Some of what you're describing may be separate bugs in this same 26.924 build, not caused by the workaround. There are GitHub reports of the second message hanging on "thinking" (#48470) and older chats failing to load (#48450). If you end up with a stuck or failed task: Fully close ChatGPT (Task Manager > end all ChatGPT processes). Reopen it and do the fix again, before touching anything. Open the stuck chat and send a new message or retry. Usually that clears the "thinking" state. Extra trick I found: if a message gets stuck in the queue, open that chat and start Voice mode for a second. For me, that pushed the queued message through right away, and you can close voice mode after. Not sure if it works for everyone, so let me know if it does for you! I wouldn't delete any files to clear the queue. It's easy to lose chat history that way, and it should clear itself once OpenAI ships a patched version.

1

u/MeanManagement834 Sep 28 '26

Thanks for the fast reply... I sincerely hope that this bug gets sorted out.

P.S. I believe this app was built using codex...

1

u/villosomara Sep 28 '26

Haha that would explain a lot 😂 Maybe Codex should've asked Claude for a second opinion first... or Kimi, if it was on a budget.

Same here, hope they patch it soon! Until then, the workaround does the job. Glad I could help!

1

u/AcrobaticQuail2489 Sep 28 '26

1

u/villosomara Oct 03 '26

Thanks for sharing this! Great to have another option for people when the codex.exe trick doesn't work. From what I can tell it restarts the app's renderer (the window side) instead of the backend, which would explain why it's gentler on Work mode. If anyone uses it, open the .ps1 in Notepad and read it before running, same as with any script you download.

1

u/AcrobaticQuail2489 Oct 03 '26

Yeah it took quite a bit of tweaking to get it working, but after that it was flawless, sometimes the timing needs to be dialled back by around 3 seconds but other than that, it saved me!

1

u/Winter-Rule-877 Oct 02 '26

Wow! This fix is better than topicstarter's! It doesnt crash the Work mode in Codex and the 'Computer Use' option in settings doesnt disappear!!

1

u/villosomara Oct 03 '26

Good to know, thanks for reporting back! It makes sense: ending codex.exe restarts the whole backend, so things like Work mode or Computer Use can get knocked out, while the renderer fix only reloads the window. I'll add it to the post as an alternative.

1

u/eggplantpot Sep 28 '26

This fixed it for me after losing the whole morning and wasting Opus 5.5 credits on it.

JFC I am so fucking tired of the cunts at OpenAI

2

u/villosomara Sep 28 '26

Glad it fixed it for you! Losing a whole morning (and credits) to a broken update is brutal, I totally get the frustration. Shipping a build that won't even open on Windows shouldn't happen.

Hopefully they push a patch soon. Until then, the script in Fix 2 saves you from doing it by hand every launch.

1

u/SlomljenaDusa Sep 29 '26

Today happened to me, #1 worked, details, had one codex.exe in details, ended it, chat loaded instant! Thank YOU!

1

u/villosomara Oct 01 '26

Love that it loaded instantly! Going straight to the Details tab is the fastest way to find it, thanks for confirming that route works.

1

u/v3rbal00 Sep 29 '26

Fix one worked for me. Thank you

1

u/villosomara Oct 01 '26

Im happy reading it worked for you! 🙌

1

u/Dependent-Egg-3744 Sep 30 '26

Fixed, thanks!!! I didn't see the correct task at first as I was looking at ChatGPT, you need to search for the Codex task

1

u/villosomara Oct 01 '26

Good point, thanks for sharing! In Task Manager it can show up as "Codex" instead of "ChatGPT", so searching for Codex (or codex.exe in the Details tab) is the way to go. I'll add that to the post so others don't miss it. Thanks for the contribution

1

u/DetectiveBig5032 Sep 30 '26

Thanks #1 worked

1

u/villosomara Oct 01 '26

Awesome, glad it did the trick! 👍ur welcome bro!

1

u/Srixie Sep 30 '26

MUCH THANKS. I implemented codex so much that I really felt useless this morning. Very confronting...

1

u/villosomara Oct 01 '26

Haha I felt the exact same way, I didn't realize how much I relied on it until it wouldn't open 😅 Glad you're back up and running!

1

u/Vegetable-Platypus17 Oct 01 '26

thank you, saved me severe headache

1

u/villosomara Oct 01 '26

Glad it saved you the headache! 🙌thanks for the comment bro

1

u/Efficient-Pay-2426 Oct 01 '26

Just did Fix #1, successfully entered the main page. However this time no matter how i click "new chat" the new chat window never show up

1

u/villosomara Oct 03 '26

That usually means the wrong codex.exe got ended, or the app didn't fully recover. Close the app completely (end all ChatGPT/Codex processes), reopen it, and this time end the codex.exe using **the most memory**. u/NinjaThat473 found that fixes Chat mode not opening. If New chat still won't open, the renderer fix linked in this thread has been working better for some people.

1

u/Winter-Rule-877 Oct 01 '26

Thank you, man, this worked!

1

u/villosomara Oct 03 '26

Glad it worked for you! 🙌

1

u/Clean-Comfort-7855 Oct 02 '26

bro ur a lifesaver

1

u/villosomara Oct 03 '26

Haha glad I could help, bro! 🙌

1

u/Environmental_Pick81 Oct 02 '26

thank you so much! spent hours working on this and running tasks in powershell which is painstaking for me as a woodworker just trying to complete a complicated design using this toolw. thank you!

1

u/villosomara Oct 03 '26

That's awesome, love that Codex is helping with woodworking designs! Glad you can get back to building instead of fighting PowerShell 😄

1

u/TheMichaelScott Oct 03 '26

I did the first step and now my chats aren't loading!! This is months of work - I am freaking out

1

u/villosomara Oct 03 '26

Don't panic, your chats are NOT deleted. Ending codex.exe doesn't touch any files. Your conversations are saved in your account, and Codex projects are saved locally in `%USERPROFILE%\.codex`, which this fix never touches. What you're seeing is the app not loading them yet.

Try this:

  1. Open chatgpt.com in your browser. Your chats should all be there, which confirms nothing was lost.
  2. Fully close the app: Task Manager > end every ChatGPT/Codex process.
  3. Reopen it, wait for the spinner, then end only the codex.exe using **the most memory** (if there are several, the wrong one can leave chats blank).
  4. If chats still don't show, close everything and try the renderer fix someone linked below in this thread.

And please **don't delete or reinstall anything** while you sort this out. Let me know how it goes and I'll help you through it.

1

u/NinjaThat473 Sep 27 '26

现在我又有了个新的问题,用方法1打开后,Chat模式打不开,已有对话也打不开,只能使用codex或work模式

1

u/NinjaThat473 Sep 27 '26

这个问题也解决了,只需要在任务管理器中将ChatGPT下第一个占用内存最大的Codex任务结束就可以完美解决了

1

u/villosomara Sep 27 '26

Thanks for coming back and sharing this, great catch! 🙌

So if there are several **codex.exe** processes under ChatGPT, end the one using **the most memory**. That brings back Chat mode and your existing conversations too. I'll add this to the post so others don't get stuck on the same thing.

感谢你回来分享!如果 ChatGPT 下面有多个 **codex.exe**,结束**占用内存最大**的那个就可以恢复 Chat 模式和已有对话。我会把这个补充到帖子里。

1

u/United-Newt-894 28d ago

This is still happening

1

u/ZealousidealGas9628 Sep 29 '26

The best fix ive found:

When the app is open and in the loop, open powershell and paste and enter.

Stop-Process -Name codex -Force

1

u/ItsRahulll Oct 03 '26

Thanks, this worked