Skip to content

[Windows][Computer Use] Input into elevated apps is blocked although ChatGPT is launched as administrator #45388

Open

Description

@adamdworzanski

Summary

ChatGPT Desktop is launched with Run as administrator and the UAC prompt is accepted. The main process includes the --do-not-de-elevate argument, but both ChatGPT/Codex and the Computer Use helper still run at Medium integrity. Computer Use can capture an elevated application's window, but mouse and keyboard input is silently ignored because the target runs at High integrity.

Environment

  • ChatGPT Desktop package: OpenAI.Codex_26.908.4834.0_x64__2p2nqsd0c76g0
  • Windows: Pro, 25H2, build 26200.9445, x64
  • Agent environment: Windows native
  • Codex configuration: [windows] sandbox = "elevated"
  • Target: a local Win32 desktop application that requires administrator privileges

Steps to reproduce

  1. Fully exit ChatGPT Desktop and verify that its background processes have stopped.
  2. Start ChatGPT Desktop with Run as administrator and accept the UAC prompt.
  3. Start or select a Win32 application running at High integrity.
  4. Ask Computer Use to click a visible control in that application.
  5. Observe the integrity levels of the relevant processes.

Actual result

  • The main ChatGPT.exe command line contains --do-not-de-elevate, but its integrity level is Medium.
  • codex.exe, codex-code-mode-host.exe, and codex-computer-use-swift.exe run at Medium integrity.
  • The target application runs at High integrity.
  • Computer Use successfully captures and displays the target window.
  • Click and keyboard calls report no error, but the target receives no input and its state does not change.
  • The unified Computer Use interface can also return an empty native-app inventory, while the legacy Sky interface can still capture the elevated window.

Expected result

When ChatGPT Desktop is explicitly launched as administrator and the UAC prompt is accepted, the Computer Use helper should be able to interact with an approved High-integrity target, or ChatGPT should clearly report that controlling elevated applications is unsupported. Input operations must not report apparent success when Windows has blocked them.

Diagnostic evidence

ChatGPT.exe (Medium, command line includes --do-not-de-elevate)
├─ codex.exe (Medium)
└─ codex-computer-use-swift.exe (Medium)

Target Win32 application (High)

The shell token used by the agent reports S-1-16-8192 (Medium mandatory level), and the Administrators group is present only as deny only. Querying the target's token from the agent process returns Access Denied, consistent with the High-integrity boundary. Repeated Computer Use clicks and an Alt keypress leave the target unchanged.

Security-preserving suggested behavior

Please either provide a supported brokered interaction path for explicitly approved elevated windows, launch the Computer Use input component with the documented inherited elevation while preserving per-app approval boundaries, or detect the UIPI mismatch and return an actionable error instead of reporting a successful input operation.

Activity

  1. added
    bug
    app
    windows-os
    on Sep 14, 2026
  2. SergVorontsov commented on Sep 24, 2026

    @SergVorontsov

    Temporary workaround for unattended/remote shell operations

    I found a temporary workaround for a related part of this problem: running administrative PowerShell operations from a Codex Remote session when nobody is physically present to accept the Windows UAC prompt.

    This is not a fix for the Computer Use / UIPI issue described above. The Computer Use helper still runs at Medium integrity and may still be unable to send mouse or keyboard input to an existing High-integrity application.

    The workaround only allows a Medium-integrity Codex shell to launch a separate elevated PowerShell process through Start-Process -Verb RunAs without requiring an interactive UAC confirmation.

    Caution

    This significantly weakens an important Windows security boundary.

    ConsentPromptBehaviorAdmin=0 silently approves elevation requests for all processes running under an administrator account, not only ChatGPT or Codex.

    Use this at your own risk. I would only consider it temporarily on a tightly controlled, single-user, isolated development or automation machine with no untrusted workloads. I would not use it on a shared or general-purpose workstation.

    I use two PowerShell scripts. Before leaving the computer and expecting a remote deployment or another administrative operation, I run the enable script from an already elevated PowerShell session. When I return, I immediately run the restore script.

    UAC itself remains enabled with EnableLUA=1; only the administrator consent-prompt behavior is changed.

    Enable unattended administrator elevation

    #requires -Version 7.0
    #requires -RunAsAdministrator
    
    Set-StrictMode -Version Latest
    $ErrorActionPreference = 'Stop'
    
    $policyPath = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
    $backupPath = Join-Path $PSScriptRoot 'uac-policy-backup.json'
    
    if (-not (Test-Path -LiteralPath $backupPath -PathType Leaf)) {
        $current = Get-ItemProperty -LiteralPath $policyPath
    
        [pscustomobject]@{
            EnableLUA                  = [int]$current.EnableLUA
            ConsentPromptBehaviorAdmin = [int]$current.ConsentPromptBehaviorAdmin
            PromptOnSecureDesktop      = [int]$current.PromptOnSecureDesktop
        } |
            ConvertTo-Json |
            Set-Content -LiteralPath $backupPath -Encoding utf8NoBOM
    }
    
    # Keep UAC enabled, but approve administrator elevation without prompting.
    New-ItemProperty `
        -LiteralPath $policyPath `
        -Name 'EnableLUA' `
        -PropertyType DWord `
        -Value 1 `
        -Force | Out-Null
    
    New-ItemProperty `
        -LiteralPath $policyPath `
        -Name 'ConsentPromptBehaviorAdmin' `
        -PropertyType DWord `
        -Value 0 `
        -Force | Out-Null
    
    $effective = Get-ItemProperty -LiteralPath $policyPath
    
    if ([int]$effective.EnableLUA -ne 1 -or
        [int]$effective.ConsentPromptBehaviorAdmin -ne 0) {
        throw 'UAC policy verification failed.'
    }
    
    $effective |
        Select-Object EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop

    Restore the previous UAC policy

    #requires -Version 7.0
    #requires -RunAsAdministrator
    
    Set-StrictMode -Version Latest
    $ErrorActionPreference = 'Stop'
    
    $policyPath = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
    $backupPath = Join-Path $PSScriptRoot 'uac-policy-backup.json'
    
    if (-not (Test-Path -LiteralPath $backupPath -PathType Leaf)) {
        throw "UAC policy backup was not found: $backupPath"
    }
    
    $backup = Get-Content -LiteralPath $backupPath -Raw | ConvertFrom-Json
    
    $values = [ordered]@{
        EnableLUA                  = [int]$backup.EnableLUA
        ConsentPromptBehaviorAdmin = [int]$backup.ConsentPromptBehaviorAdmin
        PromptOnSecureDesktop      = [int]$backup.PromptOnSecureDesktop
    }
    
    if ($values.EnableLUA -notin 0, 1) {
        throw 'Invalid EnableLUA value in backup.'
    }
    if ($values.ConsentPromptBehaviorAdmin -notin 0, 1, 2, 3, 4, 5) {
        throw 'Invalid ConsentPromptBehaviorAdmin value in backup.'
    }
    if ($values.PromptOnSecureDesktop -notin 0, 1) {
        throw 'Invalid PromptOnSecureDesktop value in backup.'
    }
    
    foreach ($entry in $values.GetEnumerator()) {
        New-ItemProperty `
            -LiteralPath $policyPath `
            -Name $entry.Key `
            -PropertyType DWord `
            -Value ([int]$entry.Value) `
            -Force | Out-Null
    }
    
    Get-ItemProperty -LiteralPath $policyPath |
        Select-Object EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop

    My original/default values were:

    EnableLUA                  = 1
    ConsentPromptBehaviorAdmin = 5
    PromptOnSecureDesktop      = 1
    

    After temporarily setting ConsentPromptBehaviorAdmin=0, I verified the behavior from a Medium-integrity Codex shell:

    Start-Process pwsh.exe `
        -Verb RunAs `
        -ArgumentList '-NoProfile', '-File', 'C:\path\to\admin-required-script.ps1' `
        -Wait

    The target script contained #requires -RunAsAdministrator, completed with exit code 0, and no interactive UAC prompt appeared.

    The policy change took effect without a reboot. Microsoft documents this setting as “Elevate without prompting” and explicitly warns that it minimizes the protection provided by UAC:

    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/user-account-control-behavior-of-the-elevation-prompt-for-administrators-in-admin-approval-mode

    Again, this is only a temporary operational workaround. A proper fix would still be an elevation-aware Codex/Computer Use broker with explicit per-action approval and a clear error when Windows blocks Medium-to-High interaction.

  3. dasETD commented on Oct 5, 2026

    @dasETD

    I can also reproduce the symptom described in this issue: capturing the target window succeeds, but click/keypress calls do not visibly affect its controls and the caller receives no actionable error. Reinitializing the automation session and reacquiring the target window did not resolve the symptom.

    Please detect an unsupported input-permission boundary and return a clear failure instead of allowing the operation to appear successful.

    This confirmation contains no device versions, token diagnostics, application inventory, screenshots, session transcripts, or logs.

  4. tomerh2001 commented on Oct 5, 2026

    @tomerh2001

    any updates?

  5. ScottBeeson commented on Oct 5, 2026

    @ScottBeeson

    I'm also having this issue.
    Feedback ID: 01a10ce4-c459-7710-b48c-20cba154d0e8

  6. SimplyShapedGames commented on Oct 11, 2026

    @SimplyShapedGames

    Additional reproduction of the ChatGPT elevation symptom on 11 October 2026.

    Environment:

    • Windows 10 Home, version 10.0.19045, x64.
    • Installed package: OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0.
    • App updater reports version 26.1007.21434, build 13901, prod channel, up_to_date.

    The user reports fully quitting the app, launching its original Start-menu entry with Run as administrator, and accepting a UAC prompt naming ChatGPT. A fresh main ChatGPT.exe process was observed afterward. Direct OpenProcessToken / GetTokenInformation(TokenElevation) inspection returned TokenIsElevated=0. Its command line already includes --do-not-de-elevate. This was rechecked after returning to the chat.

    This confirms the elevation symptom only; no Computer Use input test was performed here. Prior experimental administrator shortcuts were rolled back before this reproduction. No UAC policy, execution policy, package files, or WindowsApps ACLs were changed for this investigation.

    Please clarify a supported way to launch and retain administrator elevation, or correct the Windows documentation stating that starting ChatGPT as administrator gives the agent that permission level: https://learn.chatgpt.com/docs/windows/windows-app

  7. JoJo-chewy commented on Oct 13, 2026

    @JoJo-chewy

    I have encountered what is probably the root issue as well. Can't verify the command line arguments as it's installed from the Windows Store (unless I'm missing something). I want to get it to run some powershell commands as admin (Hyper-V automation).

    • Microsoft Windows 11 Pro, 10.0.26200 Build 26200, x64
    • Version 26.1007.21434, reported up to date.
    • I ensured ChatGPT Desktop was closed, the system tray was closed, and closed another process from Task Manager, before starting from the start menu with elevated privileges and accepting the UAC prompt.
    • The session has (!) Full access too.

    Agent response:

    I checked again. This session still has a medium integrity token: BUILTIN\Administrators is marked “deny only,” Administrator=False, and Get-VM is denied. The restart hasn’t given this command process Hyper-V access yet.

  8. AlanFFM commented on Oct 16, 2026

    @AlanFFM

    Additional reproduction on 15 October 2026, using HorizonXI's bundled Ashita v4 as an elevated Win32 target.

    Environment:

    • Desktop package observed: OpenAI.Codex_26.1007.9446.0_x64.
    • Computer Use plugin: 26.1007.71326.
    • Windows-native @oai/sky window2 API.

    Observed:

    1. Horizon's Ashita-cli.exe requests requireAdministrator. Its game loader inherits elevation.
    2. The user fully quit the desktop app, relaunched it with Run as administrator, and accepted the Windows prompt. Fresh process IDs confirmed that an actual restart occurred.
    3. Read-only OpenProcessToken/GetTokenInformation(TokenElevation) checks still reported TokenIsElevated=0 for ChatGPT.exe, codex.exe, and codex-computer-use-swift.exe, and TokenIsElevated=1 for the game process.
    4. sky.list_windows(), game screenshots, and some window activation work.
    5. sky.press_key({window: gameWindow, key: 'Insert'}) reports no actionable error but does not toggle the Ashita sidebar. The same physical key pressed by the user works. Reconnecting the helper and reacquiring the window did not resolve this.
    6. Some window activation attempts also returned 'failed to activate captured window'.

    Please clarify whether an approved elevated target is supported, and provide the official helper-elevation or brokered input procedure if it is. If unsupported, please detect the integrity mismatch and return a clear error instead of apparent input success. The general Windows documentation's Run as administrator advice has not fixed this reproduction.

    No Windows security policy, app manifest, package files, or helper binaries were modified. No custom injector was used. This report includes no credentials, account identifiers, screenshots, full logs, or session transcripts.

  9. zhoratank-lgtm commented on Oct 17, 2026

    @zhoratank-lgtm

    Additional reproduction with Vectorworks on Windows 11.

    Environment:

    • ChatGPT desktop app: 26.1013.40934, build 20770, prod; built-in updater reports up to date.
    • Windows: 25H2, build 26200.9711.
    • Windows-native Computer Use using the bundled @oai/sky window2 API.

    Observed:

    1. Computer Use successfully moves the pointer, selects files, and navigates in File Explorer.
    2. Vectorworks Design Suite 2026, Task Manager, and HWiNFO64 can be discovered/captured in at least some attempts, but clicks and keypresses do not change their controls. The user observes that the physical cursor does not move during these unsuccessful clicks.
    3. Task Manager's Elevated column shows No for ChatGPT.exe and the Computer Use process (displayed as codex-computer-use…), and Yes for Vectorworks2026.exe and Taskmgr.exe. The full helper process name was truncated in the UI; no token-level inspection was performed.
    4. The user attempted Run as administrator, fully restarting ChatGPT, and rebooting Windows. Subsequent screenshots still show the above elevation mismatch. Reinitializing the automation session and reacquiring current window objects did not fix input.
    5. Some window activation attempts return failed to activate captured window or window is not a usable app window. Some captures show the foreground ChatGPT window instead of the requested target; other captures correctly show Vectorworks but input still has no effect.

    The target applications were not tested without elevation, so UIPI remains a strongly supported hypothesis rather than a proven root cause for this reproduction.

    Please clarify whether approved elevated Win32 targets are supported and provide the official configuration/elevation procedure if so. Otherwise, please detect the permission mismatch and return an actionable failure rather than apparent input success. The documented Run as administrator advice did not produce confirmed elevation in this case.

    The Help Center AI received the reproduction and screenshots but could not confirm human escalation or provide a ticket number. Its suggested /feedback command was received as plain text in the local Work conversation; no feedback form or Session ID was obtained.

    No Windows security policy, target launch configuration, manifests, package files, or helper binaries were modified. This public report intentionally excludes screenshots, email, personal paths, project contents, raw logs, and session transcripts.

  10. maximillian-CPU commented on Oct 23, 2026

    @maximillian-CPU

    Adding a concrete real-world reproduction of this issue (reported October 23, 2026):

    • Target: JD Jingmai (京麦), a Windows merchant-management desktop application, running with administrator privileges.
    • ChatGPT Desktop Computer Use can view the application's window, but its clicks have no effect on the target controls.
    • The user tried launching ChatGPT with Run as administrator, but Computer Use still could not interact with the elevated window.
    • As a control test, the same ChatGPT Computer Use can click and edit text in CorelDRAW successfully, so basic desktop interaction works.
    • The user also tested Claude Desktop launched as administrator, which can interact with Jingmai on the same machine.

    This is a meaningful blocker for merchant workflows, not just a cosmetic issue. It appears consistent with the medium-integrity vs high-integrity/UIPI boundary described in the original report (the precise process tokens on this user's machine have not been independently inspected).

    Request: Please prioritize a supported, explicitly user-authorized way for Computer Use to control elevated Windows apps, preserving per-app consent and Windows security boundaries. At minimum, please surface a clear permissions error instead of reporting an apparently successful click when input is blocked. Please clarify whether a fix is planned and how users can identify a compatible release.

    No personal data or logs are included here.

  11. XeAuCs commented on Nov 17, 2026

    @XeAuCs

    I encountered a similar issue: Computer Use could see an elevated Windows application, but clicks on its visible controls had no effect and the tool did not report an actionable error. I also tried launching the ChatGPT desktop app as administrator, but no window opened and no error was shown.

    Please provide a supported way to interact with user-authorized elevated applications, or detect the permission mismatch and report a clear error when input cannot be delivered.

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

    appbugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions