Skip to content

[Windows][26.1002.7124.0] Update leaves Start Menu shortcut targeting removed versioned WindowsApps executable #52066

Open

Description

@edwardswhiskeyblues-alt

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

  1. Have the Windows MSIX desktop app installed at 26.928.3736.0 with the generated ChatGPT.lnk Start Menu shortcut.
  2. Update/install 26.1002.7124.0.
  3. Confirm Get-AppxPackage OpenAI.Codex reports the new package with Status: Ok.
  4. Close the application and launch it through the retained ChatGPT shortcut.
  5. Observe the brief busy cursor and no usable window.
  6. Inspect the shortcut and observe that it still targets the removed 26.928.3736.0 directory.
  7. 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

  1. added
    bug
    app
    windows-os
    on Oct 8, 2026
  2. fangzz commented on Nov 6, 2026

    @fangzz

    Confirmed on another Windows x64 machine on 2026-11-06, with a newer Store/MSIX package.

    Observed state

    • Installed package: OpenAI.Codex 26.1029.7803.0, Status: Ok.
    • %APPDATA%\Microsoft\Windows\Start Menu\Programs\ChatGPT.lnk still targeted:
      C:\Program Files\WindowsApps\OpenAI.Codex_26.1027.6604.0_x64__2p2nqsd0c76g0\app\ChatGPT.exe.
    • The shortcut's working directory also referenced that old version.
    • Read-only checks confirmed the old package directory and executable no longer existed; the current version's executable existed.
    • Get-StartApps showed two entries named ChatGPT: com.openai.codex and the registered OpenAI.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

    1. Backed up the existing ChatGPT.lnk and verified that the backup's SHA-256 matched the original.
    2. Changed only the shortcut's launch fields to:
    Target: C:\Windows\explorer.exe
    Arguments: shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App
    Start in: C:\Windows
    
    1. Read the saved shortcut back and verified those fields.
    2. Manually tested afterward: launching through the repaired shortcut worked.

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions