UK tech experts · info@vividrepairs.co.uk
Vivid Repairs
Windows 11 laptop on a dark desk showing ChatGPT Codex error screen with a frozen loading spinner and no app window
Fix It Yourself · Troubleshooting

Codex Windows update fix

Published 31 August 202611 min read
As an Amazon Associate, we may earn from qualifying purchases. Our ranking is independent.

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.

⏱️ 13 min read ✅ 80% success rate 📅 Updated July 2026

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.

1

Kill Stuck Background Processes Easy

  1. Open Task Manager
    Press Ctrl+Shift+Esc to open Task Manager directly.
  2. Find every Codex process
    Click the Processes tab and look for anything named Codex, OpenAI.Codex, or just OpenAI. There might be three or four of them.
  3. End them all
    Right-click each one and choose End task. Don't leave any running.
  4. Relaunch Codex
    Open it from the Start menu or taskbar. Give it 20 to 30 seconds. If a window appears, you're sorted.
Codex opens with a normal window. The ghost process was holding a single-instance lock and blocking any new UI from appearing.
2

Check Microsoft Store for a Newer Patch Easy

  1. Open Microsoft Store
    Search for Codex in the Store search bar.
  2. 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.
  3. Relaunch after update
    Once the update finishes, kill any background Codex processes (see Solution 1) and relaunch.
If you're on build 26.602.71036 specifically, this is your fastest exit. That build is known to crash even with empty sessions. A newer build fixes it.
3

Redo the Sign-In Flow Easy

  1. Launch Codex
    If it opens at all (even partially), look for a sign-in or "Continue with ChatGPT" prompt.
  2. Complete the browser auth flow
    Codex opens Chrome or Edge to authenticate. Let it finish, close the browser tab, and return to Codex.
  3. 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.
4

Restart Windows (Properly) Easy

  1. 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.
  2. 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.
Restart alone rarely fixes package corruption, but it does clear transient file locks. If Codex still won't open after a restart, move to Tier B.

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.

5

Repair or Reset Codex via Windows Settings Medium

  1. Open Settings
    Press Win + I, go to Apps, then Installed apps (Windows 11) or Apps and features (Windows 10).
  2. Find Codex
    Scroll or search for Codex in the list. Click the three-dot menu next to it.
  3. Try Repair first
    Choose Advanced options, then Repair. This attempts to fix the installation without wiping your data. Wait for it to complete.
  4. 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.
  5. Relaunch Codex
    After Reset completes, open Codex from the Start menu and let it initialise fresh.
Codex launches and prompts for sign-in. The Reset rebuilt the app data directories and cleared any permission mismatches from the failed update.
6

Full Uninstall, Reboot, and Clean Reinstall Medium

  1. Uninstall Codex
    Settings, Apps, Installed apps. Find Codex, click Uninstall. Confirm.
  2. 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.
  3. Reinstall from Microsoft Store
    Open Microsoft Store, search Codex, click Get or Install. Let it download and install fully before launching.
  4. Sign in and test
    Complete the browser-based sign-in flow and verify Codex opens and responds normally.
This is the fix that works when Repair and Reset don't. The reboot between uninstall and reinstall is the bit most people skip, and it's the bit that makes the difference.
7

Test in a Clean Windows User Profile Medium

  1. 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."
  2. Log in as the new user
    Switch accounts from the Start menu.
  3. 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.
  4. 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.
Codex runs fine in the new profile. This confirms the root cause is cache, permissions, or configuration corruption in your main profile, not a system-wide problem.

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.

8

Clear Codex Cache and User Data Directories Advanced

  1. Kill all Codex processes first
    Task Manager, end every Codex and OpenAI.Codex process. Don't skip this or the folders will be locked.
  2. Navigate to %LOCALAPPDATA%
    Press Win + R, type %LOCALAPPDATA%, press Enter. Look for folders named Codex, OpenAI, or OpenAI.Codex.
  3. Rename the folder (don't delete yet)
    Right-click the Codex folder and rename it to Codex_backup_old. This preserves it in case you need to recover anything.
  4. Repeat for %APPDATA%
    Press Win + R, type %APPDATA%, and check for the same Codex-related folders. Rename any you find.
  5. Relaunch Codex
    Open Codex from the Start menu. It will rebuild its cache directories from scratch. Sign in when prompted.
  6. Verify and clean up
    If Codex works, you can delete the _backup_old folders after a few days once you're confident nothing is missing.
If Codex logs show "Unable to move the cache: Access is denied," the cache directory has restrictive permissions. After renaming the old folder, right-click the new one Codex creates, go to Properties, Security, and make sure your user account has Full Control.
9

Use PowerShell to Inspect Logs and Run Codex Directly Advanced

  1. Open PowerShell
    Right-click Start, choose Windows PowerShell or Terminal, run as administrator.
  2. Find the Codex package
    Run: Get-AppxPackage OpenAI.Codex. This shows the install location.
  3. 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.
  4. 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.
Running the executable directly via PowerShell is the fastest way to get a real error message out of Codex. The normal Start menu launch swallows most errors silently.
10

Winget Deep Clean Reinstall Advanced

  1. Open elevated PowerShell
    Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin).
  2. Uninstall via winget
    Run: winget uninstall --id 9PLM9XGG6VKS. This removes the Microsoft Store package cleanly and outputs any errors the Store UI would hide.
  3. Restart Windows
    Same as before: reboot before reinstalling.
  4. Reinstall via winget
    Run: winget install --id 9PLM9XGG6VKS -s msstore. Watch the output for any permission or download failures.
  5. Launch and verify
    Open Codex from the Start menu, complete sign-in, and confirm it's stable.
Winget gives you clear error output at every stage. If the install fails here, the error message will tell you exactly what's blocking it, whether that's a permission issue, a network block, or a Store account problem.
If you're also seeing issues with Windows Update itself failing around the same time as Codex broke, that's worth investigating separately. A corrupted Windows Update stack can cause Store app updates to fail mid-write. See our guide on Windows Update error 0x80073701 for that angle.

Preventing 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.

Frequently Asked Questions

A stuck or invisible main process is almost always the culprit, usually caused by single-instance lock conflicts or package corruption. Open Task Manager, kill every Codex or OpenAI.Codex process you can find, then relaunch. If it keeps happening, repair or reinstall Codex from Microsoft Store.

Codex cannot access its cache directory because of permission issues on that folder. Run Codex directly from PowerShell to see the full log path, then use icacls or the folder's Security tab in Properties to give your user account Full Control on that directory, typically found under %LOCALAPPDATA%.

No. Specific builds like 26.602.71036 have been reported to crash immediately even with empty sessions. Wait a few days, check community reports, and only update once a build is confirmed stable.

Create a fresh local Windows user account via Settings, then Accounts, then Other users. Install Codex in that account from Microsoft Store. If it works there but not in your main account, the issue is profile-specific, pointing to cache, permissions, or configuration corruption in your main profile.

Microsoft Store does not offer a built-in rollback option. Your best bet is to uninstall the current version, wait for a patched release, and reinstall from the Store. If you kept an older installer, you can sideload it, but Store-managed apps make this tricky without developer mode enabled.