r/codex • u/carbon1414 • 16d 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.
21
u/Somethingexpected 16d ago edited 16d 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.
7
u/carbon1414 16d ago
After 10-23 I install it. it's drop 7 old version in my C driver used 17Gb. it's so crazy.
5
u/salehrayan246 16d ago
The single reason i didn't install the chatgpt app was because of not being able to choose drives and enormous size bloat that it brings. I don't have much space on my C unfortunately
4
u/Somethingexpected 16d ago
There's a fix to this it seems. Just go to settings and apps, and click "repair". It will reinstall chatgpt while clearing all the temporary install files. It will keep all your settings. My installation dropped from 5gb to around 2.5 gb which I assume is normal considering it has libre office et al. installedl
155
u/torrso 16d 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.
15
1
u/DuranteA 15d 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.
This is correct. I don't think it (or the fact that the OP is transparently LLM slop) changes the fact that the Codex app being distributed (exclusively) through the Microsoft Store is, itself, an absolutely terrible decision.
148
u/B-Jamz 16d 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
40
20
u/MarcelloPaniccia 16d ago
Well, he actually left one of them for good measure: "—a system-protected"
3
13
u/LexMeat 16d ago
Ok, so? OP expressed an opinion, either agree or disagree with them. The fact that they used an LLM to edit their post is not the issue here. Not to mention that as far AI slop goes, this is passable.
6
u/ozone6587 16d ago
OP didn't express it, ChatGPT did.
1
u/Substantial-Dog1726 16d ago
I'm upvoting you but I disagree. What would be difference if a speechwriter wrote a speech that you approve of or a ghostwriter who wrote your book? Sure, the content was not generated directly by you but you still approved it as your own. For me, that should be enough.
7
u/THubert14 16d ago
Imagine how upset they would be if they figure out about almost all of political and media statements are made not by the persons themselves, but by a team of speechwriters behind it.
And that almost all media accounts have whole team of writers that writing media posts on socials on behalf of some person. In example, YouTube channels, when they become moderately big, are heavily moderated by supervisors, with their "recommendations" about what the author "should" say, and what they "shouldn't". And, of course, a team of scriptwriters, with the actor simply voices whatever he is given.1
u/acanthary 16d ago
If everyone used a single ghostwriter who writes obnoxiously for them, then I would be opposed to people using it to write. Why would I want to read the output of your prompt, especially when I can prompt just as well?
4
u/UnknownEvil_ 16d ago
Because you don't have all the time and information to come up with every prompt and idea in the world? There is so much more than the most recent prompt that goes into an LLM response. Were you ever going to ask ChatGpt to explain why it's bad that Codex is in this folder? I didn't even know this so this post helps.
-1
u/acanthary 16d ago
I would rather someone just post/send their prompt or at least spend the effort to decently rewrite the output of the LLM.
7
u/UnknownEvil_ 16d ago
If he posts the prompt and conversation history, then it's not gonna perform as well as a normal post. Ofc it's better if he writes it himself, but if he can't be bothered then I don't really care. Dude doesn't need to spend 20 minutes writing and editing a reddit post for a simple complaint. He signed off on the post that someone wrote for him from his own idea/complaint. Maybe some small edits.
0
u/wuu73 14d ago
Do you know life is very short? when you are still young, you don't pay attention as much to that, but when you cross over into 'damn i'm old, i got x years left!" its scary true.
Do you wanna make each task take longer for... what reason exactly?
I think, that some people have some different definitions of what value is, what work is actually for, due to the media bombarding you/us all your life with "cute phrases" that seems designed to get people to work harder and complain less - to make an already rich person, richer.
We have all been unknowingly competing in contests like "who can work the most hours in one day, or go the most days and years in a row without a vacation" Now i'm not saying it was literally engineered that way by some evil corporate people sitting in a room but it sorta ended up that way over a long time period. This put some warped views into our heads where we think the amount of value something has, is tied to how much time and effort and suffering went into it. Maybe its more of an American thing? (where I live - kinda doubt they're arguing about this same thing as much in Europe?)
So then if suddenly, many things take less time, it feels like somehow it lost value. Point being, I think people are looking at the wrong things to determine that - they're not even looking AT the actual thing being discussed, but rather looking for clues in the process that birthed the thing.
0
u/wuu73 14d ago
Think about it. You go to work and whoever took the least sick days off is going to be celebrated, because profit wants to profit, the incentives are there. The system wants people to shut up about their suffering. Friends will be like yay! when you tell them how crazy of a suffering sprint you did for your employer. It seeps into most of us just from living in this kind of culture.
But people usually will also yay! you when you tell them you figured out how to take some shortcuts to get some big thing done super fast so you can have time to crack open a beer and relax. Thinking of robot lawnmowers - the lawn gets cut either way. Let the guy have his beer and chill instead of manually cutting the grass.
3
u/Mediocre-Writer6635 16d ago
Why would I want to read the output of your prompt, especially when I can prompt just as well?
But you didn't prompt, nor post it. OP did. That's why we're here engaging with the topic OP brought up, beacuse people are interested in the actual content of their post.
All you've brought up is a repetitive "looks like it was written by AI" that is posted x50 a second on reddit. Talk about bot behaviour.
0
u/Substantial-Dog1726 16d ago
Not sure why people are downvoting you. I see your point but this is often more nuanced. We don't know if the author applied edits or other customization to make the output unique. Even now, this could be AI talking to you since I told it to occasionally a word so it sounds like me.
0
u/SorosAhaverom 16d ago
I'm concerned for those artificially intelligent among us who need AI to write even a 4 sentence rant for them.
33
u/SnailMailSniper 16d 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.”
3
u/HexspaReloaded 16d 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.
2
u/Mediocre-Writer6635 16d ago
It has a serious problem wiht just sizing the window in windows. If I move it from monitor to monitor (or sometimes even just expand and collapse it) it goes underneath the taskbar and/or loses the "input" toolbar of the chat making it essentially unusable... it's had some variation of this problem for months if not years.
idk how they achieve this level of bullshit. Electron by itself does not do this.
2
4
u/iRainbowsaur 16d ago
isn't this how like pretty much all windows applications from the windows app store work
3
2
2
0
u/kshnkvn 16d ago
Windows is bloat by itself, who cares.
2
1
u/Creative-Job7462 16d 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 16d 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 16d 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 15d ago
Yep, this is why I built my own Rust/Slint based GUI around Codex CLI appserver.
1
1
u/Sufficient_Fox_4402 14d 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 11d 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/Stock-Resolution-842 2d 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):
Error 0x80073D02: The request cannot be processed because package
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtis in use.Deployment Remove operation with target volume C: on Package
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtfrom: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.AppX Deployment operation failed for package
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):
Error 0x80073D02: The request cannot be processed because package
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtis in use.Deployment Remove operation with target volume C: on Package
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtfrom: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.Informative error 0x80073D02: Failure in the DynamicDependenciesInUse state handler.
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):
AppXDeployment (2) : Failed to start system service: appxsvc with error: 0x8007045B (2)
CodexSandboxService.OpenAI.Codex (2, sometimes 4) : unable to restore package uninstall listener: open the logged-in user's token and os error 1008
(last error records disappeares when DelayedStart 1 is added to the service).
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
1
1
-8
u/SnowySkies8 16d ago
Lol @ using Windows
-1
u/alphaQ314 16d ago
exactly. these clowns don't realise the disservice they're doing to themselves by using windows lmao.
honestly, I wouldn't be surprised, if openai did the C drive thing, because of some architectural issue from windows. its just a massive pain to use.
0
u/ivanjxx 16d ago
and you somehow blame openai for this? sheesh vibe coders nowadays…
-1
u/IceBlitzz 16d ago
I know. I actually blush when reading the comments. The amount of dummies in here is unbelievable.
-1
0
u/blackice193 16d ago
Give windirstat admin privileges → delete the older folder/version and voila. Its gone
0
u/blackice193 16d ago
oh... but its broken now. Ooops. Lol. I don't care but will try and fix this, lol
0
u/blackice193 16d ago
yeah, got it back unfortunately. So yeah. Delete stuff. Uninstall the rest. Reinstall and you will only have one 'OpenAI.Codex....' folders in there
-5
-2
u/ProjectAlternative48 16d 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.

•
u/dextersummary 16d 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.