Sorted this exact problem for a customer last Tuesday. Codex had updated overnight, and by morning it was just sitting there as a ghost process in Task Manager with no window, no error, nothing. Twenty-five minutes later it was running clean. The Codex Windows update fix is almost always one of five things, and this guide covers all of them in order.
TL;DR
The Codex Windows update fix starts with killing stuck background processes in Task Manager, then checking Microsoft Store for a newer patch. If that doesn't work, repair or reset the app via Windows Settings, or do a full uninstall, reboot, and clean reinstall. For persistent cache permission errors, clear the Codex folders under %LOCALAPPDATA% manually. Advanced cases need PowerShell and winget.
Key Takeaways
- The Codex Windows update fix almost always starts with killing ghost processes in Task Manager.
- Build 26.602.71036 is a known-bad release. If you're on it, update or reinstall immediately.
- Cache permission errors ("Access is denied") need manual folder cleanup under %LOCALAPPDATA%.
- A clean reinstall with a reboot in between fixes most package corruption cases.
- If it works in a fresh Windows user profile but not yours, the problem is profile-specific.
- Don't update Codex on day one of a new release. Wait a few days.
At a Glance
- Difficulty: Intermediate
- Time Required: 15 to 30 mins
- Success Rate: 80% of users fixed with Tier A or B solutions
What Causes the Codex Windows Update Fix Problem?
Codex is an Electron-based desktop application, which means it bundles its own Chromium engine and writes a fair amount of data to your local profile. That's fine when things go well. But Electron apps have a well-known weakness: if an update gets interrupted, partially written, or lands on a machine with tight folder permissions, the whole thing can fall over in ways that give you almost no useful error message on screen.
Here's what's actually going wrong in most cases. First, the update corrupts or partially replaces the app binary, so the executable exists but won't run. Second, the new version tries to access a cache directory it doesn't have permission to touch, which you'll see in the logs as "Unable to move the cache: Access is denied." Third, a previous Codex instance is still running in the background and holding a single-instance lock, so any new launch attempt just hands off to the invisible ghost process and exits without opening a window. Fourth, the build itself is just broken. Build 26.602.71036 is the most reported example, crashing even with empty sessions. And fifth, the update partially migrates your user configuration, leaving goals broken and agents repeatedly asking you to reconfigure them.
The good news is that most of these are fixable without losing your work. If you've been hitting other Windows issues alongside this, our general Windows troubleshooting fix guide covers the broader toolkit. But for Codex specifically, work through the tiers below in order.
One thing worth knowing: this is not a partition or disk layout problem, so you won't need partition manager software here. It's a pure application and permissions issue. That said, if your Windows installation itself has been playing up with updates recently, check whether you're also seeing Windows Update not working more broadly, because a broken Windows Update stack can sometimes cause Store app updates to fail mid-write, which is exactly the kind of partial corruption that breaks Codex.
Codex Windows Update Fix: Quick Solutions
Start here. These take five to ten minutes and fix the majority of cases.
Kill Stuck Background Processes Easy
- Open Task Manager
PressCtrl+Shift+Escto open Task Manager directly. - Find every Codex process
Click the Processes tab and look for anything namedCodex,OpenAI.Codex, or justOpenAI. There might be three or four of them. - End them all
Right-click each one and choose End task. Don't leave any running. - Relaunch Codex
Open it from the Start menu or taskbar. Give it 20 to 30 seconds. If a window appears, you're sorted.
Check Microsoft Store for a Newer Patch Easy
- Open Microsoft Store
Search for Codex in the Store search bar. - Check for updates
If a newer version than your current one is listed, install it. OpenAI often ships a hotfix within two to three days of a bad release. - Relaunch after update
Once the update finishes, kill any background Codex processes (see Solution 1) and relaunch.
Redo the Sign-In Flow Easy
- Launch Codex
If it opens at all (even partially), look for a sign-in or "Continue with ChatGPT" prompt. - Complete the browser auth flow
Codex opens Chrome or Edge to authenticate. Let it finish, close the browser tab, and return to Codex. - Verify
Session and token glitches from updates often clear with a fresh sign-in. If Codex won't open at all, skip to Tier B.
Restart Windows (Properly) Easy
- Full restart, not sleep
Go to Start, Power, Restart. Not sleep, not hibernate. A proper restart clears in-memory locks that a sleep cycle won't touch. - Don't auto-launch everything
After reboot, let Windows settle for a minute before opening Codex. Heavy startup apps and overlays can interfere with Electron initialisation.
More Codex Windows Update Fix Solutions
These take fifteen to thirty minutes and handle the most common causes of persistent failures, including package corruption and profile-specific issues.
Repair or Reset Codex via Windows Settings Medium
- Open Settings
PressWin + I, go to Apps, then Installed apps (Windows 11) or Apps and features (Windows 10). - Find Codex
Scroll or search for Codex in the list. Click the three-dot menu next to it. - Try Repair first
Choose Advanced options, then Repair. This attempts to fix the installation without wiping your data. Wait for it to complete. - If Repair fails, use Reset
Back in Advanced options, choose Reset. This wipes local app data and recreates the directories with correct permissions. You'll need to sign in again. - Relaunch Codex
After Reset completes, open Codex from the Start menu and let it initialise fresh.
Full Uninstall, Reboot, and Clean Reinstall Medium
- Uninstall Codex
Settings, Apps, Installed apps. Find Codex, click Uninstall. Confirm. - Restart Windows
This step matters. Don't skip the reboot. It clears file locks left by the old package that would otherwise interfere with the fresh install. - Reinstall from Microsoft Store
Open Microsoft Store, search Codex, click Get or Install. Let it download and install fully before launching. - Sign in and test
Complete the browser-based sign-in flow and verify Codex opens and responds normally.
Test in a Clean Windows User Profile Medium
- Create a new local user account
Settings, Accounts, Other users, Add account. Choose "I don't have this person's sign-in information," then "Add a user without a Microsoft account." - Log in as the new user
Switch accounts from the Start menu. - Install Codex fresh from Microsoft Store
Open Store in the new profile and install Codex. If it works here but not in your main profile, the problem is profile-specific. - Return to your main profile
If Codex works in the new profile, you know the issue is in your main profile's Codex directories. Proceed to the advanced cache cleanup in Tier C.
Advanced Codex Windows Update Fix Options
These are for cases where Tier A and B haven't worked. You'll need PowerShell and a bit of patience. Nothing here is destructive to your Windows installation, but back up any Codex project files before you start.
Clear Codex Cache and User Data Directories Advanced
- Kill all Codex processes first
Task Manager, end every Codex and OpenAI.Codex process. Don't skip this or the folders will be locked. - Navigate to %LOCALAPPDATA%
PressWin + R, type%LOCALAPPDATA%, press Enter. Look for folders named Codex, OpenAI, or OpenAI.Codex. - Rename the folder (don't delete yet)
Right-click the Codex folder and rename it toCodex_backup_old. This preserves it in case you need to recover anything. - Repeat for %APPDATA%
PressWin + R, type%APPDATA%, and check for the same Codex-related folders. Rename any you find. - Relaunch Codex
Open Codex from the Start menu. It will rebuild its cache directories from scratch. Sign in when prompted. - Verify and clean up
If Codex works, you can delete the_backup_oldfolders after a few days once you're confident nothing is missing.
Use PowerShell to Inspect Logs and Run Codex Directly Advanced
- Open PowerShell
Right-click Start, choose Windows PowerShell or Terminal, run as administrator. - Find the Codex package
Run:Get-AppxPackage OpenAI.Codex. This shows the install location. - Run the executable directly
Run these two commands:$pkg = Get-AppxPackage OpenAI.Codex$exe = Join-Path $pkg.InstallLocation 'app\Codex.exe'& $exe
The console will show Chromium and Electron errors that the normal launch hides. - Read the output
Look for cache path errors or "Another router is active" messages. Cache path errors point to Solution 8. "Another router is active" means a stuck instance, go back to Solution 1.
Winget Deep Clean Reinstall Advanced
- Open elevated PowerShell
Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin). - Uninstall via winget
Run:winget uninstall --id 9PLM9XGG6VKS. This removes the Microsoft Store package cleanly and outputs any errors the Store UI would hide. - Restart Windows
Same as before: reboot before reinstalling. - Reinstall via winget
Run:winget install --id 9PLM9XGG6VKS -s msstore. Watch the output for any permission or download failures. - Launch and verify
Open Codex from the Start menu, complete sign-in, and confirm it's stable.
Codex is refusing to launch after an update and none of the above has cracked it yet? We fix this remotely every week. Connect with a Vivid Repairs technician and we'll dig into the logs, clear the cache, and get Codex running again without you having to touch PowerShell.
Get remote helpPreventing the Codex Windows Update Fix Headache Next Time
The single most effective thing you can do is stop updating Codex the moment a new version drops. Seriously. Wait three to five days. Check Reddit, check the OpenAI community forums, and look at whether anyone is reporting crashes on the new build. Build 26.602.71036 was broken on day one. If people had waited 48 hours, they'd have seen the reports and held off. That alone would have saved a lot of grief.
Beyond that, keep your project files in Git or OneDrive. Updates can leave goals half-broken and agents in a confused state, and if your work only exists inside Codex's local configuration, a bad migration can cost you real time. Version-controlled files survive any app reinstall.
Close Codex completely before running any update, whether that's a Windows Update, a Store update, or anything else. Electron apps hold file locks on their own directories, and if an update tries to write to those files while Codex is open, you get partial writes. That's exactly how you end up with the corruption that needs a full reinstall to fix. If you're also running other OpenAI desktop tools alongside Codex, remove the ones you don't actively need. Multiple OpenAI clients sharing configuration paths is a recipe for single-instance lock conflicts.
For anyone doing serious work with Codex, consider running it in a dedicated Windows user profile. Given that Codex can control your computer directly, having it isolated in its own profile limits the blast radius if an update misbehaves. It's the same logic as running a Hyper-V virtual machine for risky experiments: you want a boundary between the thing that might go wrong and everything else you care about.
Finally, keep an eye on Microsoft's MSIX and App Installer troubleshooting documentation and the winget documentation if you're managing Codex across multiple machines. And if Windows itself is being dodgy about updates more broadly, Microsoft's official app repair guide covers the Settings-based repair flow in more detail.
Codex Windows Update Fix: Summary
The Codex Windows update fix follows a clear path. Start by killing stuck background processes in Task Manager. If that doesn't work, check Microsoft Store for a newer patch, especially if you're on build 26.602.71036. From there, use the Repair and Reset options in Windows Settings, and if those fail, do a full uninstall, reboot, and clean reinstall from the Store. Persistent cache permission errors need manual cleanup of the Codex folders under %LOCALAPPDATA% and %APPDATA%. For anything deeper, PowerShell and winget give you the error output you need to diagnose exactly what's blocking the launch. The Codex Windows update fix is almost always one of these steps, and in most cases you'll be back up and running well within half an hour.
Quick Reference
- Kill ghost processes in Task Manager first, every time.
- Build 26.602.71036 is broken. Update or reinstall if you're on it.
- Repair before Reset, Reset before Reinstall.
- Always reboot between uninstall and reinstall.
- Cache errors under %LOCALAPPDATA% need manual folder cleanup.
- PowerShell direct launch shows you the real error message.
- Don't update Codex on day one of a new release.


