Skip to content

[Windows] Local network access remains restricted despite being enabled in settings (Work & Codex) #61114

Closed

Description

@ayr1k

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 Codex

The 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    : NO

3. 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.toml

The following registry query returned no RequirementsPath value:

Get-ItemProperty `
  -Path 'HKLM:\SOFTWARE\Policies\OpenAI\Codex' `
  -ErrorAction SilentlyContinue |
  Select-Object RequirementsPath

These 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 ignored

No 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:

  1. Local Network Access settings are not propagated correctly to the execution sandbox.

  2. A higher-priority session policy overrides the user-selected network permission.

  3. Work and Codex sessions share a network-restricted execution configuration regardless of the selected UI setting.

  4. 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:

  1. Should enabling Local Network Access in Work settings allow DNS and HTTPS requests from its local Shell?

  2. Is CODEX_SANDBOX_NETWORK_DISABLED=1 expected when that setting is enabled?

  3. Which configuration layer determines the effective network_access=restricted policy?

  4. Is the same network restriction expected in both Work and Codex modes?

  5. 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

  1. added
    bug
    app
    windows-os
    sandbox
    connectivity
    on Nov 12, 2026
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

    appbugconnectivitysandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions