[BUG] Cowork Windows - VM boots but cannot reach Claude API (Windows 10 Pro, Hyper-V)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Environment:
- Claude Desktop: 1.1.2685 (MSIX/Windows Store)
- OS: Windows 10 Pro
- Hyper-V: Enabled (full, not Home edition)
- VPN software installed: Yes (was fully stopped during testing)
- Docker Desktop: Installed but stopped
Problem:
Cowork consistently fails with "Failed to start Claude's workspace — Can't reach the Claude API from Claude's workspace." The Cowork Hyper-V VM boots and connects to the host over vEthernet (cowork-vm-nat) on 172.16.0.0/24, but cannot reach the external internet to contact api.anthropic.com. Regular Chat mode works perfectly.
Root cause investigation:
- The app creates an HNS network (
cowork-vm-nat, type: NAT, subnet: 172.16.0.0/24, gateway: 172.16.0.1) but does NOT create a corresponding WinNAT rule (Get-NetNatreturns empty). - IP Forwarding is NOT enabled on
vEthernet (cowork-vm-nat). - Without NAT + forwarding, the VM can reach the host but has no route to the internet.
- Manually creating the NAT rule (
New-NetNat) and enabling forwarding does not persist — the app recreates the HNS network on restart without the WinNAT rule. - The host machine can reach
api.anthropic.comwithout issues (port 443, DNS, TLS all verified).
What Should Happen?
The app should create both the HNS network AND the corresponding WinNAT rule (New-NetNat), and enable IP forwarding on the vEthernet (cowork-vm-nat) virtual adapter. The Cowork VM should be able to reach api.anthropic.com through the host's internet connection.
Error Messages/Logs
From cowork_vm_node.log — every startup attempt shows this pattern:
[VM] Network status: NOT_CONNECTED
[VM:network] Not connected, will show error in 30000ms if not resolved
[VM] Network status: CONNECTED
[VM] API reachability: PROBABLY_UNREACHABLE
[VM] API reachability: UNREACHABLE
[VM:network] API is unreachable
Network diagnostics from host:
- Get-NetNat returns empty (no WinNAT rule exists)
- Get-NetIPInterface shows Forwarding=Disabled on vEthernet (cowork-vm-nat)
- Get-HnsNetwork shows cowork-vm-nat exists (type: NAT, 172.16.0.0/24) but without WinNAT backing
- Host can reach api.anthropic.com on port 443 (TLS succeeds, DNS resolves)
Steps to Reproduce
- Install Claude Desktop (MSIX/Windows Store) on Windows 10 Pro with Hyper-V enabled
- Open Claude Desktop and navigate to Cowork
- Attempt any task in Cowork
- Observe "Failed to start Claude's workspace — Can't reach the Claude API from Claude's workspace"
- Verify host can reach api.anthropic.com (it can)
- Check
Get-NetNatin admin PowerShell — returns empty - Check
Get-HnsNetwork— shows cowork-vm-nat exists as type NAT but no WinNAT backing - Check
Get-NetIPInterface -InterfaceAlias "vEthernet (cowork-vm-nat)"— Forwarding=Disabled
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.34 (Claude Code in Cowork VM) / Claude Desktop 1.1.2685 (MSIX)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
This appears to be a Day 1 issue with Cowork on Windows (launched Feb 10, 2026). Possibly related to #24918.
Manually creating the NAT rule and enabling forwarding via admin PowerShell temporarily allows the VM to work, but Claude Desktop recreates the HNS network on restart without re-establishing the WinNAT rule, so the fix does not persist.
VPN software (ExpressVPN) was installed but fully stopped during all testing — same result with or without it running.
12 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I have a client that is also running into this issue. From his claude.ai-web.log:
2026-02-12 10:41:10 [error] Connecting to 'https://a-api.anthropic.com/v1/m' violates the following Content Security Policy directive: "connect-src 'self' https://api.segment.io https://.segment.io https://.segment.com https://a-cdn.anthropic.com https://.google.com https://.facebook.com https://.facebook.net https://.doubleclick.net". The action has been blocked.Mismo problema, intentando resolver con Claude Code me dice que es el conflicto con Docker Desktop que quieren utilizar los mismos recursos
Environment:
Windows 11 Pro
Claude Desktop 1.1.2685
No VPN, no third-party antivirus
Network: stable, host can reach api.anthropic.com via curl without issues
Symptoms:
Cowork fails with "Failed to start Claude's workspace — Can't reach the Claude API"
Later changed to: "failed to create network endpoint: HcnCreateEndpoint failed with HRESULT 0x800706bf"
Troubleshooting attempted (none resolved):
Verified host reaches api.anthropic.com (auth error confirms connectivity)
Manually created WinNAT rule for 172.16.0.0/24 and 172.17.0.0/24 (subnet changed after reinstall)
Enabled IP forwarding on vEthernet (cowork-vm-nat)
Set DNS to 8.8.8.8 / 1.1.1.1 on the cowork adapter
Removed HNS network + NAT rules + restarted HNS service + recreated NAT before launching Claude
Full reboot, clean reinstall of Claude Desktop (including deleting %APPDATA%\Claude)
Disabled firewall — no change
Observations:
HNS network gets created as NAT type but no WinNAT rule is created by the app
Subnet changed from 172.16.0.0/24 to 172.17.0.0/24 after reinstall
Even with correct NAT rule and forwarding enabled, VM fails to create network endpoint
After full cleanup, app fails at HcnCreateEndpoint before the adapter is even created
Debug logs shared via the error banner
I am experiencing the same issue.
[BUG] Cowork Windows - WinNAT creation fails when Hyper-V Default Switch (ICS) is active
Preflight Checklist
Environment
Problem Summary
Cowork fails with "Failed to start Claude's workspace - Can't reach the Claude API from Claude's workspace" on a Windows 11 Enterprise machine with an existing Hyper-V Default Switch configuration.
Root cause identified: Windows cannot run WinNAT and ICS (Internet Connection Sharing) simultaneously. The Hyper-V Default Switch uses ICS for networking. Claude Desktop creates an HNS network (
cowork-vm-nat) but fails to create the backing WinNAT rule because ICS is already running. Without the WinNAT rule, the Cowork VM can reach the host but has no route to the internet.Diagnostic Evidence
1. Host API connectivity confirmed
2. Cowork virtual adapter exists
3. HNS networks show both Default Switch (ICS) and Cowork (NAT)
4. No WinNAT rule exists (this is the problem)
5. Manual WinNAT creation fails due to ICS conflict
6. ICS service is running (required by Default Switch)
7. Cannot stop ICS or remove Default Switch
Root Cause Analysis
Windows has a fundamental limitation: WinNAT and ICS cannot coexist. They both manage NAT at the kernel level.
The Hyper-V Default Switch is a protected, built-in switch that:
Claude Desktop's Cowork feature:
cowork-vm-nat)This affects any Windows user who has Hyper-V enabled with the Default Switch present—which is the default configuration for Hyper-V on Windows 10/11.
Workarounds Attempted (All Failed)
| Attempt | Result |
|---------|--------|
| Manual
New-NetNatcreation | Blocked by ICS conflict || Stop ICS service | Service refuses to stop (Default Switch dependency) |
| Remove Default Switch | Protected, cannot be removed |
| Reboot and create NAT before ICS starts | ICS starts automatically with Default Switch |
| Different NAT name (
ClaudeVMNat) | Same error |Expected Behavior
Claude Desktop should either:
Suggested Fix
Consider using an External virtual switch connected to the host's physical NIC instead of creating a NAT network. This would:
Alternatively, detect when ICS is running and either:
Related Issues
This appears related to the broader pattern of Windows Cowork networking failures:
However, this issue identifies a specific root cause (ICS/WinNAT conflict) that may not be covered in those reports.
Additional Context
I just got a new work laptop, and Cowork works on my new one, but fails on my old one. I have had Docker Desktop, Tailscale and several VMs on my old one, but have not installed any of those on my new one yet.
New laptop, Windows 11 Business
Old laptop, Windows 10 Pro
Confirming the same issue here.
Environment:
Error:
"Failed to start Claude's workspace — Can't reach the Claude API from Claude's workspace."
What I've tried (none resolved it):
Regular Chat mode works perfectly on the same machine and network. This is isolated to Cowork's VM networking.
This is a completely default Windows setup — no VPN, no third-party security software, no unusual network configuration. If this doesn't work out of the box on a standard Windows machine, it's going to affect the majority of Windows users.
Following this solved my issue https://github.com/anthropics/claude-code/issues/25144#issuecomment-3894386161
Confirmed still reproducible on Claude Desktop 1.1.3541.0 (MSIX, Windows 11 25H2) as of 2026-02-19.
Environment:
1.1.3541.0(MSIX package:Claude_1.1.3541.0_x64__pzs8sxrjxfjjc)2.1.4510.0.26200)Diagnostic output (admin PowerShell):
Log pattern (cowork_vm_node.log):
Same root cause as described in this issue. Bug not fixed in latest MSIX release. My separate issue (#26846) was flagged as duplicate and is being closed in favour of this thread.
Environment
What's Wrong?
Cowork consistently fails to connect to the Claude API. The workspace starts and the VM boots, but API reachability always ends as UNREACHABLE. Regular Chat mode works perfectly — only Cowork is affected.
Troubleshooting Steps Already Attempted
New-NetNatreturned a duplicate name error, suggesting an internal conflictGet-HNSNetworkshowscowork-vm-vnetof type ICS with subnet 172.16.0.0/24Set-NetIPInterface -InterfaceAlias "vEthernet (cowork-vm-vnet)" -Forwarding Enabled→ confirmed EnabledTcpTestSucceeded: TrueObserved Behavior
After enabling ICS sharing, Cowork now shows "Taking longer than expected to connect to Claude API... retrying" before eventually failing with "Can't reach the Claude API from Claude's workspace." This is an improvement over the immediate failure seen before ICS configuration, suggesting the VM gets partial network access but still cannot route traffic to api.anthropic.com.
Expected Behavior
Cowork workspace should start successfully and connect to the Claude API, the same way regular Chat mode works without issues.
Related Issues
This appears related to #25155 and #25308.
Networking issues like this were fixed in v1.1.4328
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.