Repository navigation
Description
What version of the Codex App are you using?
Current installed package: OpenAI.Codex 26.1002.7124.0 (Microsoft Store/MSIX, x64).
The stale shortcut still targeted the previous package directory: OpenAI.Codex_26.928.3736.0_x64__2p2nqsd0c76g0.
What platform is your computer?
Windows x64, OS build 26300.
What issue are you seeing?
After updating the Windows desktop app, one Start Menu shortcut was left pointing directly to the removed version-specific executable:
C:\Program Files\WindowsApps\OpenAI.Codex_26.928.3736.0_x64__2p2nqsd0c76g0\app\ChatGPT.exe
The current package was installed and healthy:
Name : OpenAI.Codex
Version : 26.1002.7124.0
Status : Ok
Clicking the stale shortcut produced only a brief busy cursor and no usable window. The user could still open the current application through the installer's Open action or through stable AppX activation, so this was not a broken current package registration.
Inspection of %APPDATA%\Microsoft\Windows\Start Menu\Programs\ChatGPT.lnk confirmed that its target referred to the removed 26.928.3736.0 WindowsApps directory and that the target no longer existed.
A second shortcut using the stable AppUserModelID remained valid. Replacing the stale shortcut with the following restored normal launching:
Target: C:\Windows\explorer.exe
Arguments: shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App
Steps to reproduce
- Have the Windows MSIX desktop app installed at
26.928.3736.0with the generatedChatGPT.lnkStart Menu shortcut. - Update/install
26.1002.7124.0. - Confirm
Get-AppxPackage OpenAI.Codexreports the new package withStatus: Ok. - Close the application and launch it through the retained
ChatGPTshortcut. - Observe the brief busy cursor and no usable window.
- Inspect the shortcut and observe that it still targets the removed
26.928.3736.0directory. - Activate
shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App; the current package opens successfully.
Expected behavior
The updater should refresh or replace every installer-managed shortcut so it uses the current package registration, preferably the stable AppUserModelID rather than a versioned WindowsApps executable path.
Additional information
This report intentionally isolates the stale-shortcut defect. It does not claim that other Windows launch failures with a healthy AppX package have the same cause.
The failure was repaired without reinstalling, resetting application data, or changing the current package by replacing only the stale shortcut with stable AppX activation.
Activity
fangzz commentedon Nov 6, 2026
Confirmed on another Windows x64 machine on 2026-11-06, with a newer Store/MSIX package.
Observed state
OpenAI.Codex 26.1029.7803.0,Status: Ok.%APPDATA%\Microsoft\Windows\Start Menu\Programs\ChatGPT.lnkstill targeted:C:\Program Files\WindowsApps\OpenAI.Codex_26.1027.6604.0_x64__2p2nqsd0c76g0\app\ChatGPT.exe.Get-StartAppsshowed two entries named ChatGPT:com.openai.codexand the registeredOpenAI.Codex_2p2nqsd0c76g0!App.The reported symptom was a Windows dialog titled WindowsApps, saying “你当前无权访问该文件夹” (“You don't currently have permission to access this folder”), with Continue/Cancel buttons. It appeared during launch without deliberately browsing the installation folder.
Verified workaround
ChatGPT.lnkand verified that the backup's SHA-256 matched the original.No reinstall, application-data reset, WindowsApps ownership change, or ACL modification was needed.
This confirms a stale, version-specific shortcut and a working stable-activation workaround on this machine. Automatic relaunch after the next update has not been tested, and the exact internal path that produced the folder-permission dialog was not traced.
Please have the app/updater create and maintain shortcuts using the stable application identity rather than a version-specific WindowsApps executable path.