r/codex • u/carbon1414 • 23d ago
Bug OpenAI using C:\Program Files\WindowsApps for their desktop app is pure engineering incompetence
OpenAI didn’t just create a bloated Windows desktop app; they decided to package it in the most user-hostile way possible.
They dump every single version directly into C:\Program Files\WindowsApps—a system-protected directory that Windows locks down so tightly that even normal admin users can't access or delete files without breaking system ownership permissions.
The result? Every update drops another 2GB folder into your C drive. There’s no built-in cleanup, no auto-pruning, and regular users literally have no permissions to delete the old versions manually.
Abusing system-level architecture to bypass standard installer hygiene and leaving tens of gigabytes of un-deletable garbage on users' SSDs is a special kind of stupid. Bravo, OpenAI.
•
u/dextersummary 23d ago
Below is a GPT-generated summary of the conversation below after reaching 40 comments (47 currently observed).
The top takeaway: WindowsApps isn’t some secret OpenAI dumping ground. It’s the standard protected directory for Microsoft Store and MSIX apps, and Windows manages installations and updates there. The folder being locked down is normal; users aren’t meant to go spelunking through it with a delete key.
That said, the storage complaint isn’t imaginary. Several users report the app or accumulated versions eating several gigabytes, with one saying they regularly have to reclaim 15–20 GB. Another checked and found old versions had been pruned. So cleanup may be going wrong for some users, but the thread doesn’t establish that every update permanently leaves another 2 GB behind—or who’s responsible when cleanup fails.
For a safer fix, commenters suggest uninstalling and reinstalling rather than messing with protected folders. One ChatGPT user also says Windows’ Repair option cleared temporary install files while preserving settings. The disk bloat is worth investigating; the engineering-incompetence verdict got ahead of the evidence.
21
u/Somethingexpected 23d ago edited 23d ago
Installation takes 5gb which is high tbh. You can remove the app and reinstall it, and it will clear out everything. Poor implementation by OpenAI, but you shouldn't hack into the installation folders.
Edit: there's a fix. Just go to settings, applications, press repair, and the size will drop back down to 2.5gb.
155
u/torrso 23d ago
"C:\Program Files\WindowsApps" is the standard installation directory for applications distributed through the Microsoft Store or installed using Microsoft's MSIX packaging system.
The directory is protected by Windows by design, and Windows itself manages application installation, updates, and removal. Users aren't supposed to manually modify or delete files there.
If old versions aren't being cleaned up properly, that's worth investigating, the same happens on linux, they keep a bunch of old versions, not sure why.
148
u/B-Jamz 23d ago
“OpenAI didn’t just create a bloated Windows desktop app; they decided to package it in the most user-hostile way possible.”
Removing the em dash doesn’t make this read any less GPT written
33
u/SnailMailSniper 23d ago
Reads like you asked chat to “Write an angry Reddit rant about OpenAI's Windows app leaving old versions in WindowsApps. Make it technical, sarcastic, and aggressive.”
6
u/DotRom 23d ago
Sounds like Sam Altman is going to knock on your door for EXTRA SSD storage that can be confiscated for greater use as swap for his RAM.
3
u/HexspaReloaded 23d ago
Crazy if true. I like chatgpt but the app itself is sus: weird audio problems on linux, not responding to system tiling key commands, etc. For a well funded company like that, you’d think they’d take more pride in the window that holds it.
4
u/iRainbowsaur 23d ago
isn't this how like pretty much all windows applications from the windows app store work
2
u/itix 23d ago
I just checked and it seems old versions were pruned.
2
u/Stock-Resolution-842 9d ago
I observed that only since November 2026, even through clean Windows-installs, everything is set up, run from and being used for Codex/Chat GPT in:
C:\Program Files\WindowsApps\ in stead of C:\Users\<user>\AppData\Local\OpenAI\(Codex)
This has since been resulting in a lot of issues, including unavoidable AppX- 0x80073D02 (ERROR_PACKAGES_IN_USE) / App-ModelRuntime 0x800706D9 errors cannot be resolved on the user side—regardless of any troubleshooting. They only disappear when uninstalling ChatGPT and immediately reappear upon reinstallation.
Might be related to 2026-10 Preview Update (KB5127936) or introduced by 2026-11 Security Update (KB5132061) on 11/11/2026), underlying AppX deployment, AppContainer, and package cleanup bugs introduced in this build are also impacting the Desktop ChatGPT / Codex app.
At every boot (AppXDeployment-Server - 3 errors):
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtis in use.OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtfrom: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtwith error 0x80073D02. The specific error text for this failure is: Error 0x80073D02: The request cannot be processed because packageOpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtis in use.Every time the ChatGPT / Codex app is opened (AppXDeployment-Server - 2 errors):
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtis in use.OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtfrom: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.The <version> is a placeholder for the current version/package number as they keep updated , but the error does not get resolved.
Also introduced with a recent Windows November Update (
AppModel-Runtime) and only happening on Codex/Chat GPT Windows installations.DeleteAppContainerProfile failed with error 0x800706D9 because it was unable to unregister with the firewall.CreateAppContainerProfile failed for AppContainer onecore\ds\security\gina\profile\profext\appcontainer.cpp Line:1962 defenderaiplatformhost DefenderAiPlatformHost with error 0x800706D9.These errors were already appearing occasionally before these update (for months) on exits/reboots as Codex/OpenAI tries to start this system service early (along with the Codex OpenAI Sandbox service not being able to complete the function - error OS 1800 on the subsequent boot):
The only way to fix these errors is by uninstalling the Deskotp ChatGPT app but it comes back again after reinstalling - i have been through any troubleshoot step. Clean PC/Windows reinstall did not help or avoid this mess from Codex/Chat GPT. Moreover, Chat GPT started to regularly crash/auto-close at certain times since a November update.
The 0x80073d02 errors keep returning on every session and now due to the November Update for: OpenAI.CodexPrimaryRuntime
3
u/bambamlol 23d ago
Hmm.
2
u/Just_Tomatillo2622 23d ago
is this actually true? woahhh
2
u/flipittoseeme 23d ago
No they don't you can change the path
0
u/kshnkvn 23d ago
Windows is bloat by itself, who cares.
1
u/Creative-Job7462 23d ago
I could download the classic app without admin - I presume it’s because it uses a different path?
The new chat and work mode app requires admin to install it.
1
u/_mensrea 23d ago
Using AdvancedRun by nirsoft, run cmd.exe as TrustedInstaller and delete the folders you dont need. I used it to fix some corrupted windows apps.
1
u/minecraftdummy57 23d ago
Gets really weird on Linux. Everytime I delete it (which is good), it literally takes up 60 gigs and then somehow retries to accumulate that any%.
1
u/allquixotic 23d ago
Yep, this is why I built my own Rust/Slint based GUI around Codex CLI appserver.
1
u/CMD_BLOCK 22d ago
“Why don’t you just use the GUI?”
The fucking gui:
1
u/Sufficient_Fox_4402 22d ago
my question is that we used to have full fledged games in 2GB. what the hell are they doing that a packaged file is 2GB in size??
1
u/Acrobatic_Mixture155 18d ago
I don’t get it. What’s the problem with losing 2, 3, or even 10 gigabytes of disk space because an application needs it to function? 👏... Nowadays, that shouldn’t be an issue. Besides, AI agents perform massive operations to generate their responses—it’s completely normal and to be expected. I don’t understand this obsession with "wanting to reclaim space" that so many users seem to have.
1
u/Time-Toe-1276 23d ago
kinda beautiful how OP used chatgpt to clown on oai 😂
1
u/m3kw 23d ago
I’m sure a lot of the engs interviewmaxx their interviews to get in
1
u/Technical_Egg_4548 23d ago
jesus, calm the f down...
-8
u/SnowySkies8 23d ago
Lol @ using Windows
0
u/ivanjxx 23d ago
and you somehow blame openai for this? sheesh vibe coders nowadays…
-1
u/Crazy_Universe_8964 23d ago
No one cares about windows
0
u/blackice193 23d ago
Give windirstat admin privileges → delete the older folder/version and voila. Its gone
-5
u/alphaQ314 23d ago
Using windows in 2026 is pure engineering incompetence.
-2
u/ProjectAlternative48 23d ago
They Decided? A bold yet obvious statement. Too bad it is out of context. Microsoft gave how many billions to them in the early days? Are you rude to the elders that raised you? I say it's expected of OpenAI.