OpenAI Expands Codex Capabilities to Power Windows Desktop Automation
On May 31, 2026, OpenAI released a significant update, dramatically expanding the functionality of its Codex desktop application. The core of this update introduces a “Computer Use” feature for the Microsoft Windows platform and, for the first time, adds support for remote control from Android devices.
Previously, similar features were primarily available within the macOS ecosystem. With this update, the vast community of Windows users can now experience the power of an AI Agent. Users can issue commands to Codex in natural language, which will then automatically control the mouse and keyboard to operate local applications (like Microsoft PowerPoint or WeChat) to perform tasks such as file organization, content creation, and information processing. This feature transforms Codex from a pure code generation tool into a personal AI assistant capable of directly interacting with a graphical user interface (GUI).
PC Setup Guide: Installing and Enabling the “Computer Use” Module
Successfully deploying the Codex desktop automation feature requires two main steps: installing the application and configuring the core module.
1. Installing the Codex Desktop App
First, download the latest version of the Codex for Windows installer from the official OpenAI website. The installation process is similar to that of standard software, but on the first launch, the system will require a one-time login verification. After verification is complete, you can access the main application interface.
2. Enabling the “Computer Use” Feature
To activate desktop control, navigate to the “Computer Use” option in the Codex app’s “Settings” menu. This page contains two key components that you need to install by clicking “Install” for each. For automating Google Chrome, the system will guide you to install a dedicated browser extension. Once installed successfully, the corresponding status indicators will turn from red to green, signaling that the module is ready.
Key Troubleshooting: Resolving “Sandbox Initialization Failed” Errors
After enabling the “Computer Use” feature, some users may encounter an error message when executing a task, such as “Failed to connect to the Windows desktop automation channel” or “Windows sandbox failed: spawn setup refresh.” This is usually caused by an obstruction during sandbox environment initialization. Here are the verified solutions:
- Disable Security Software: Temporarily disable all antivirus software and system security managers to prevent them from blocking Codex’s sandbox processes.
- Clear State Files: Completely close the Codex desktop application. Then, navigate to the path
C:\Users\[Your Username]\.codex\ in File Explorer and delete or rename all files and folders in this directory for backup.
- Restart as Administrator: Restart your computer, then right-click the Codex shortcut and select “Run as administrator.” This will force Codex to re-initialize the sandbox environment. The issue is resolved when the system shows a “Sandbox is ready” notification.
- Confirm Plugin Status: Return to the “Computer Use” settings page and check if all components are in a normal, installed state. Reinstall if necessary.

Mobile Integration: Guide to Connecting an Android Device to PC Codex
Another major highlight of this update is the ability to connect and control a PC remotely from an Android device via the ChatGPT app. However, the standard QR code scanning method may not work for Android users, requiring the following specific procedure.
1. Connection Prerequisites
On the PC, ensure that your proxy tool used for the network connection has “TUN Mode” or a similar global tunnel mode enabled. The name might vary between different tools, but its core function is to create a virtual network adapter, allowing the mobile device to discover the PC on the same local area network (LAN).
2. Authorization Process
- Initiate Connection: On your PC, run Codex as an administrator and go to the “Codex Mobile” or “Settings - Connection” page, keeping the QR code screen visible.
- Phone Operation: Open the ChatGPT app on your Android phone, ensuring both the phone and PC are connected to the same Wi-Fi network. The app will usually auto-detect the local Codex instance and display an “Authentication required” prompt.
- Complete Authorization: Follow the on-screen instructions on your phone, tap “Continue,” and log in with the same OpenAI account used on the PC. After successful authorization, the connection status indicator in the PC Codex app will turn green.
After connecting, be sure to go into the connection options on the PC and enable all relevant permission toggles, such as “Enable Computer Use,” to ensure the phone can issue remote desktop commands.
Use Cases and Current Limitations
Once configured, users can assign tasks to their home or office computer from anywhere using their phone, such as, “Create a three-slide PowerPoint presentation on second-quarter sales performance” or “Organize all screenshot files on the desktop into the ‘Screenshot Backup’ folder.”
During task execution, Codex takes full control of the PC’s desktop, preventing the user from performing other actions, though they can observe every step the AI takes in real-time. According to user feedback, this differs from the macOS version, which supports background execution, and is a current limitation of the Windows version. Nevertheless, this feature significantly enhances the flexibility of remote work and task automation, opening up new possibilities for AI technology in the realm of personal productivity.