Skip to content

[Windows 26.1103.4239.0] Run as administrator exits without opening a window after UAC approval #60136

Open

Description

@iambobos21c

What version of the Codex App are you using (From “About Codex” dialog)?

Installed Windows package: OpenAI.Codex_26.1103.4239.0_x64__2p2nqsd0c76g0.
The app is displayed as ChatGPT. Version was verified from the installed package, not the About dialog.

What subscription do you have?

Not provided.

What platform is your computer?

Windows 11 Pro 25H2, x64, build 10.0.26200.9711.

What issue are you seeing?

Starting ChatGPT with Run as administrator and accepting the Windows UAC prompt does not open the app window. Starting it normally works.

The problem persists after rebooting Windows, disabling ChatGPT's startup entry, and performing Repair in Windows Settings. The startup entry was subsequently checked and is disabled.

This prevents use of the documented elevated-launch workflow:
https://learn.chatgpt.com/docs/app/windows#run-commands-with-elevated-permissions

What steps can reproduce the bug?

  1. Disable ChatGPT in Windows Startup apps.
  2. Close ChatGPT and reboot Windows.
  3. Find ChatGPT in Start, choose Run as administrator, and approve UAC.
  4. Observe that no usable ChatGPT window appears.
  5. Launch normally; the app opens.
  6. Performing Windows Settings → Apps → ChatGPT → Advanced options → Repair, then retrying, did not resolve the problem.

What is the expected behavior?

The documented administrator launch should open ChatGPT with the requested elevation, or display an actionable error explaining why startup failed.

Additional information

Read-only diagnostics collected during the failed-launch testing on 2026-11-08 (Asia/Seoul, UTC+09:00):

  • Windows last boot: 00:02:12.
  • AppModel-Runtime event 201 at 00:06:09.323 records creation of a process for OpenAI.Codex_2p2nqsd0c76g0!App.
  • Event 217 at 00:06:10.273 records removal of that launch's desktop AppX container, approximately one second later.
  • That process was no longer present when inspected.
  • A later process created at 00:06:20 remained running and provided the working app session.
  • Direct process-token checks on that working session returned TokenElevation = false for both ChatGPT.exe and codex-computer-use-swift.exe. These checks describe the later working session; they do not establish the token or exit reason of the failed launch.
  • The inspected Windows Application error events did not contain a matching ChatGPT/OpenAI.Codex crash entry. No definitive failure code or root cause has been captured.

Context: this was investigated because Computer Use could capture an elevated Win32 application's window but its input did not affect that application. A Calculator input test succeeded. Earlier token checks showed the input helper at Medium integrity and the target at High integrity. The current report focuses on the failure to launch ChatGPT as administrator, rather than claiming that elevation alone would resolve all Computer Use issues.

Potentially related:

Please investigate the administrator startup path for this package/build. Full conversations, account details, screenshots, and raw application logs are omitted.

Activity

  1. added
    bug
    app
    windows-os
    on Nov 7, 2026
  2. 1457380085 commented on Nov 9, 2026

    @1457380085

    I am seeing the same administrator-launch symptom on Windows 10 with OpenAI.Codex version 26.1103.4239.0 (displayed as ChatGPT).

    • Normal launch works.
    • After fully quitting the app, choosing "Run as administrator" and approving the UAC prompt does not open a window.
    • I have repeated the fully-quit-and-retry sequence several times with the same result.
    • AppModel-Runtime records show the Codex process being created and its associated application container being destroyed within the same second on multiple attempts. These records do not establish the exit reason.

    Expected behavior: administrator launch should open the app, or display an actionable error explaining why it could not start.

    Adding this Windows 10 reproduction here rather than opening a duplicate. The symptoms resemble this issue, but a shared root cause has not been confirmed. No raw logs or personal paths are attached.

  3. Asylum831 commented on Nov 10, 2026

    @Asylum831

    Additional Windows 11 reproduction on MSIX 26.1103.7773.0, reported on November 10, 2026 with the affected user's explicit authorization.

    User-observed behavior

    • Previously, Start menu → Run as administrator could open the app.
    • Now, after closing the client, choosing Run as administrator produces no usable window and appears to do nothing.
    • Ordinary left-click launch still opens the app.
    • No controlled elevated relaunch was performed during this inspection, to avoid interrupting the working session.

    Verified environment

    • Windows 11 Home Chinese edition, x64, build 26200.
    • Installed OpenAI.Codex package 26.1103.7773.0; package status Ok.
    • Packaged app/ChatGPT.exe has a valid OpenAI Authenticode signature.

    Read-only local evidence (November 10, UTC+08:00)

    • 17:07:41.631: AppModel-Runtime event 201 records creation of app process PID 33696.
    • 17:07:41.851: event 217 records destruction of that launch's desktop AppX container, approximately 220 ms later.
    • No desktop log file named for PID 33696 was found in the inspected day's normal desktop log directory.
    • 17:08:39.559: event 201 records a later process, PID 16912. That process was verified as the currently running main ChatGPT.exe and has a desktop log.
    • The inspected Windows Application event window did not show a matching application crash/hang report.

    Interpretation and limits
    This supports an early launch failure before normal desktop logging for one attempt, rather than a window merely taking a long time to load. However, AppModel events alone do not identify the requested elevation mode, the process exit code, or whether a child handoff occurred. The user describes elevated failure versus ordinary success; the event-to-elevation mapping was not captured in a controlled test. Container destruction alone is not a crash diagnosis.

    No specific damaged file, missing package identity, Chromium automatic de-elevation, UAC rejection, single-instance conflict, or shared root cause has been established on this machine. Please investigate the elevated MSIX activation / early executable startup / process-handoff path, and provide an actionable error and the fixed desktop build. This adds evidence on 26.1103.7773.0 to the existing 26.1103.4239.0 report.

    No app reset, sign-out, cache deletion, signed-file modification, or security-setting change was performed. No private paths, usernames, account identifiers, conversation/project/memory content, raw logs, or screenshots are attached.

  4. harunazz commented on Nov 13, 2026

    @harunazz

    I can reproduce the same administrator-launch symptom on Windows with the ChatGPT desktop app (OpenAI.Codex version 26.1106.6628.0), a newer build than 26.1103.4239.0 in the original report.

    Steps and observed behavior

    1. Fully quit ChatGPT.
    2. From the Start menu, choose Run as administrator for ChatGPT and click Yes in the Windows UAC prompt.
    3. No ChatGPT window appears. Windows creates the app process, but it exits without showing a UI. No ChatGPT.exe processes remain when checked afterward.
    4. Launching ChatGPT normally opens the window. In an earlier test, the window appeared only after I separately launched the app normally following the failed elevated attempt.

    Diagnostics

    • PowerShell launches successfully as administrator and runs commands normally.
    • Get-AppxPackage OpenAI.Codex reports Status: Ok.
    • Microsoft-Windows-AppModel-Runtime/Admin recorded events 201, 210, 211, and 217 on November 12, 2026 (local time, UTC+08:00):
      • 22:16:36: PID 35512 was created and added to a desktop AppX container. That container was destroyed at 22:16:58.
      • 22:17:08: PID 14508 was created and added to a desktop AppX container. That container was destroyed within the same second.
    • No matching ChatGPT or OpenAI.Codex events with IDs 1000 or 1001 were found in the Windows Application log for the inspected time window.
    • OpenAI.CodexPrimaryRuntime version 26.1111.570.0 reported Status: NotAvailable. I have not established whether this is related.

    I expected the elevated launch to open the app or show an actionable error. The event records show process creation and container teardown, but they do not establish the exit reason or whether this shares the original report’s root cause.

  5. New-Sphere commented on Nov 17, 2026

    @New-Sphere

    Additional affected user on Windows 10 Pro, x64, build 19045, with the ChatGPT desktop app package OpenAI.Codex version 26.1111.2228.0.

    Recent and repeated reproduction by the affected user

    • I tried Run as administrator approximately 18 times about an hour before reporting this on November 17, 2026, with the same failure each time.
    • Choosing Run as administrator produces a loading cursor briefly, but no application window appears, even after waiting.
    • I have also been trying this repeatedly every day for approximately a week and a half. My PC is frequently restarted following power outages, and after startup I manually try the elevated launch again.
    • Launching the app normally opens it successfully.
    • I have not established which version introduced the problem.

    Verified locally on November 17, 2026

    • Installed package name: OpenAI.Codex.
    • Installed package version: 26.1111.2228.0 (read from Windows package information, not the About dialog).
    • Windows: Windows 10 Pro, 64-bit, version 10.0.19045.
    • The package reported Status: Ok during read-only inspection.
    • A PowerShell process launched by the currently working, normally started app was verified as not elevated.

    Instrumented restart on November 17, 2026 (times below are UTC)
    With my explicit authorization, an independent elevated PowerShell collector closed the old app and verified that its old processes had stopped. It then invoked runas on the registered shell:AppsFolder application item. The invocation came from that collector, rather than a manual Start-menu click.

    • 01:04:55.909: new main ChatGPT.exe, PID 7500, started.
    • 01:04:56.038: direct process-token inspection confirmed TokenElevation=1, with no window.
    • 01:04:58.007: the retained process object reported ExitCode=15. An independent Win32_ProcessStopTrace event also reported ExitStatus=15 for PID 7500. Two elevated child ChatGPT processes exited with code 0.
    • During the 55-second observation period no usable app window appeared.
    • 01:05:48: the collector separately requested a normal launch through Explorer.
    • 01:06:13: that normal launch had a working window, with TokenElevation=0. The app session was recovered.
    • AppModel-Runtime events 201/211 were captured for the activation attempts. No explanatory Application or CodeIntegrity event was found in the inspected interval.

    This confirms that an elevated app process was actually created and then exited before producing a usable window. The meaning of application exit code 15 and the underlying cause are not established. Exit codes of the old processes intentionally stopped during preparation are excluded from this finding. The user's approximately 18 recent manual attempts remain separate observations from this single instrumented attempt. No raw logs, state snapshots, personal paths, or conversation data are attached.

    Expected behavior: the documented Run as administrator workflow should open the application and allow the agent to inherit elevated permissions, or display an actionable explanation if startup fails.

    Adding this here as another affected user on a newer desktop build rather than opening a duplicate.

  6. grahamgunderson commented on Nov 21, 2026

    @grahamgunderson

    Adding a firsthand reproduction on November 20, 2026: in the Windows ChatGPT desktop app, ordinary launch works, but Run as administrator followed by UAC approval produces no usable application window. I have not collected a package version or diagnostic logs, so I am not claiming a particular root cause.

    This blocks the documented elevated-launch workflow during recovery of an SD card. The practical requirement is to authorize one scoped recovery process rather than return to the workstation for repeated UAC prompts. Disabling UAC globally is not an acceptable substitute.

    Please restore reliable elevated launch (or show an actionable error) and clarify a supported way to perform an approved, multi-step elevated task without repeated human intervention.

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