Skip to content

Windows connected-PC commands repeatedly block npm registry despite approval #60810

Open

Description

@kolbyn24

I’m repeatedly seeing npm registry network blocks when the assistant runs commands on my connected Windows PC. Approving access hasn’t resolved the latest block, but the same checks work when I run them directly in PowerShell.

Latest occurrence, November 11, 2026

  • Around 14:22 UTC, I approved npm registry access. The assistant retried npm.cmd run typecheck and reported: “network access to https://registry.npmjs.org:443 was blocked by policy.”
  • Around 14:25 UTC, I ran the type check and production build in PowerShell from the same project directory. Both passed. The scripts run next typegen && tsc --noEmit and next build.
  • The successful build used Next.js 16.4.1, generated route types, compiled, completed TypeScript, and generated all 12 static pages.

Earlier occurrences

  • On November 5, my PowerShell connection test to the registry on port 443 succeeded.
  • On November 7, an assistant-run npm audit was reportedly blocked by the same registry policy error.
  • There have also been successful checks between failures. I don’t know whether they used the same effective task environment or policy.

Environment
Windows desktop app and a connected local PC. Versions recorded November 9 were OpenAI.Codex 26.1103.4239.0 and bundled CLI 0.167.0-alpha.3.2. These are historical and haven’t been verified for the latest failure. Current Windows, Node and npm versions are also unconfirmed.

Expected: The assistant can run the approved check, or the app clearly identifies any overriding policy and how to resolve it.

Actual: The assistant reports a policy denial and I have to run checks manually. My successful PowerShell run doesn’t establish that future assistant-run commands will work.

Which effective network policy controls commands on a connected Windows PC? Why didn’t approval resolve this restriction, and what sanitized diagnostics would help determine whether it’s expected behavior, a configuration mismatch, or a defect?

Potentially related reports: Windows permission mismatch and npm registry access errors. I’ve omitted personal paths, credentials and private project details.

Activity

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