Answer: To deploy the Codex CLI on Windows using Intune, prepare an IT-owned Win32 package with an unattended installer, uninstaller, and detection logic, generate the .intunewin file with the Microsoft Win32 Content Prep Tool, then create a Windows app (Win32) in Intune, upload the package, set install/uninstall commands and detection rules, and assign it as Required or Available for enrolled devices. Status: Confirmed Entry: tool/codex/admin-and-enterprise/deploy-codex-cli-intune Revision: 1 Digest: sha256:5eaea62b73fd55ed (changes whenever the content changes) Timeline: Created: 2026-11-13T03:50:45Z Last changed: 2026-11-13T03:50:45Z Last verified: 2026-11-20T13:38:59Z Next check: 2026-11-21T13:38:59Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of app type | Windows app (Win32) | [1] | 2026-11-20 packaging tool | Microsoft Win32 Content Prep Tool | [1] | 2026-11-20 example setup script | Install-Codex.ps1 | [1] | 2026-11-20 detection exit code | 0 | [1] | 2026-11-20 assignment options | Required | [1] | 2026-11-20 Sources: [1] OpenAI. "Deploy the Windows app and Codex CLI". https://learn.chatgpt.com/docs/enterprise/windows-deployment.md Role: primary. Accessed: 2026-11-20T13:38:59Z Quote: "In Intune, create a **Windows app (Win32)** and upload the package." (Supports: app type) Quote: "Generate the `.intunewin` file with the Microsoft Win32 Content Prep Tool." (Supports: packaging tool) Quote: "This example assumes your reviewed setup script is named `Install-Codex.ps1`:" (Supports: example setup script) Quote: "Custom detection scripts must exit with code `0` and write to stdout" (Supports: detection exit code) Quote: "Assign it as **Required** or **Available for enrolled devices**." (Supports: assignment options) Snapshot SHA-256: 271ec749bdee9846e86bd4c47314d82dfc20235c618d9af5df4dbc99d1f9334d (captured 2026-11-13T03:50:45Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:50:45Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:38:59Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:38:59Z Last attempt: 2026-11-20T13:38:59Z Notes and limitations: Extracted automatically from a single official source (section "Package and assign the CLI through Intune"). Related: https://latestn.com/tool/codex/admin-and-enterprise/disable-prisma-airs How do I disable or disconnect Prisma AIRS from my Codex workspace? https://latestn.com/tool/codex/admin-and-enterprise/distribute-gateway-configuration How do I distribute Codex gateway configuration to developers? https://latestn.com/tool/codex/admin-and-enterprise/enable-access-token-creation How do I enable access token creation for Codex in a ChatGPT workspace? https://latestn.com/tool/codex/admin-and-enterprise/configure-managed-requirements-defaults How do I configure managed requirements and defaults for Codex and ChatGPT Work in the Admin Console? https://latestn.com/tool/codex/admin-and-enterprise/connect-prisma-airs How do I connect Prisma AIRS to my Codex workspace? https://latestn.com/tool/codex/admin-and-enterprise/create-service-account How do I create a service account for Codex automation in ChatGPT? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:50:45Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/admin-and-enterprise/deploy-codex-cli-intune/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/admin-and-enterprise/deploy-codex-cli-intune POST: https://latestn.com/dispute/tool/codex/admin-and-enterprise/deploy-codex-cli-intune with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/admin-and-enterprise/deploy-codex-cli-intune?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I deploy the Codex CLI on Windows using Intune? Revision 1, last verified 2026-11-20T13:38:59Z. https://latestn.com/tool/codex/admin-and-enterprise/deploy-codex-cli-intune (accessed 2026-11-21T09:54:08Z). @misc{LatestN_tool_codex_admin_and_enterprise_deploy_codex_cli_intune_r1, title = {How do I deploy the Codex CLI on Windows using Intune?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/admin-and-enterprise/deploy-codex-cli-intune}}, note = {Revision 1; digest sha256:5eaea62b73fd55ed; last verified 2026-11-20T13:38:59Z; accessed 2026-11-21T09:54:08Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/admin-and-enterprise/deploy-codex-cli-intune