Repository navigation
Description
Summary
Local Shell execution remains network-restricted on Windows even after explicitly enabling Local Network Access in ChatGPT Work settings.
The issue is reproducible in both Work and Codex modes. In both cases, the execution environment reports network_access=restricted and CODEX_SANDBOX_NETWORK_DISABLED=1.
The Windows host can successfully resolve DNS, establish TCP connections, and access the npm Registry over HTTPS. However, the Codex-managed Shell cannot resolve the same domain.
This prevents dependency installation and blocks TypeScript builds in newly created projects.
Environment
Component | Details -- | -- ChatGPT desktop version | 26.1111.10934 Codex Primary Runtime | 26.1111.574.0 Operating system | Windows 11, build 26200, x64 Shell | PowerShell Core 7.6.9 Execution environment | Native Windows sandbox ChatGPT subscription | Personal Pro Workspace | Personal account Sandbox mode | workspace-write Effective network access | restricted Network disabled environment variable | CODEX_SANDBOX_NETWORK_DISABLED=1 Reproducible modes | Work and CodexThe source tests passed using Node.js native TypeScript type stripping. This does not constitute successful type checking or compilation.
The inability to download new dependencies prevents completion of otherwise functional development workflows.
This is particularly disruptive when creating new projects, compared with modifying existing projects that may already have dependencies installed.
Configuration and Policy Investigation
The following checks have already been performed:
1. Personal workspace
The active ChatGPT workspace is a personal Pro account. No institutional ChatGPT workspace is shown.
2. Windows organizational enrollment
dsregcmd /status reports:
AzureAdJoined : NO
EnterpriseJoined : NO
DomainJoined : NO
WorkplaceJoined : NO
AzureAdPrt : NO
EnterprisePrt : NO3. System-level Codex configuration
The following files were checked and were not present:
C:\ProgramData\OpenAI\Codex\requirements.toml
C:\ProgramData\OpenAI\Codex\managed_config.tomlThe following registry query returned no RequirementsPath value:
Get-ItemProperty `
-Path 'HKLM:\SOFTWARE\Policies\OpenAI\Codex' `
-ErrorAction SilentlyContinue |
Select-Object RequirementsPathThese checks did not reveal a conventional organization-managed policy. They do not conclusively exclude all possible higher-priority or remotely supplied policies.
4. User configuration
The user-level configuration contains:
[windows]
sandbox = "elevated"No explicit network policy was found in the inspected user configuration.
The application also reports an unrelated unrecognized setting:
computer_use.windows.always_allowed_app_ids is ignoredNo causal relationship between this warning and the network failure has been established.
5. Workspace diagnostics
The built-in Codex workspace diagnostic reports a healthy status.
Despite this, the local Shell remains network-restricted.
Possible Causes
The available evidence suggests several possibilities:
Local Network Access settings are not propagated correctly to the execution sandbox.
A higher-priority session policy overrides the user-selected network permission.
Work and Codex sessions share a network-restricted execution configuration regardless of the selected UI setting.
A Windows-specific runtime or permission-handling regression affects network access.
The precise underlying cause remains unverified.
Requested Investigation
Could the Codex/ChatGPT team clarify:
Should enabling Local Network Access in Work settings allow DNS and HTTPS requests from its local Shell?
Is
CODEX_SANDBOX_NETWORK_DISABLED=1expected when that setting is enabled?Which configuration layer determines the effective
network_access=restrictedpolicy?Is the same network restriction expected in both Work and Codex modes?
Is there a supported way to inspect the effective permission source or determine why the UI setting is not reflected in the execution session?
I can provide additional sanitized diagnostics and screenshots if needed.
Additional Notes
No security software was disabled.
No sandbox restrictions were bypassed.
No system PATH or global tool installations were modified.
All development tests were conducted in isolated temporary workspaces.
The failure is reproducible with a newly created session.
The exact behavior of the underlying Windows network-blocking mechanism has not been established.
Activity
github-actions commentedon Nov 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action