Cowork VM fails on Windows 11 Home: wrong DNS config, missing sessiondata.vhdx, no NAT
Environment
- OS: Windows 11 Home (Build 26200)
- Claude Desktop: v1.1.2685.0 (Microsoft Store)
- Architecture: x64
Summary
Cowork workspace fails to reach the Claude API on Windows 11 Home. The VM boots successfully (startup completes in ~11s, SDK installs fine, guest connection works), but the API is always reported as unreachable. Three bugs were identified:
Bug 1: Wrong DNS configuration in HNS endpoint
cowork-svc.exe configures the VM's DNS server as 192.168.0.1, but the actual WiFi DNS is 192.168.1.1. This was confirmed via Get-HnsEndpoint:
Name : cowork-vm-eth0
IPAddress : 172.16.0.21
GatewayAddress : 172.16.0.1
DNSServerList : 192.168.0.1 <-- WRONG, should be 192.168.1.1
Even after deleting and letting cowork-svc recreate the HNS network, the DNS is always 192.168.0.1. The VM cannot resolve api.anthropic.com.
Bug 2: sessiondata.vhdx not created during workspace reinstall
When clicking "Reinstall the workspace", the bundle downloads rootfs.vhdx, vmlinuz, initrd, and copies smol-bin.vhdx from app resources, but never creates sessiondata.vhdx. The VM then fails with:
HCS operation failed: HRESULT 0x80070002
'cowork-vm': Attachment 'sessiondata.vhdx (Lun 2)' could not be found
We had to manually create a VHDX file to get past this error.
Bug 3: MSFT_NetNat WMI class missing on Windows 11 Home
The New-NetNat / Get-NetNat PowerShell cmdlets fail with "Invalid class". The NetNatCim.dll and NetNat.mof files are missing from C:\Windows\System32\wbem\. The WinNat service runs but has no NAT rules configured.
The HNS network is created with Type: NAT, but without the WMI provider, NAT rules may not be properly applied. This means the VM (on 172.16.0.0/24) has no source NAT to reach the internet through WiFi.
Bug 4: Network diagnostics use macOS commands on Windows
The log shows the app trying to run macOS commands for network diagnostics on Windows:
Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT
Failed to spawn /usr/sbin/scutil: spawn /usr/sbin/scutil ENOENT
Reproduction steps
- Install Claude Desktop from Microsoft Store on Windows 11 Home
- Open Cowork
- VM boots and connects but API is always "UNREACHABLE"
Log excerpt (key lines)
[VM:start] Startup complete, total time: 10669ms
[Keepalive] Starting (interval=2000ms)
[VM] API reachability: PROBABLY_UNREACHABLE
[VM] API reachability: UNREACHABLE
[VM:network] API is unreachable
What we tried (none fixed the API connectivity)
- Rebooting multiple times
- Reinstalling workspace (triggered sessiondata.vhdx bug)
- Enabling IP forwarding (
IPEnableRouter = 1) - Enabling per-interface forwarding on vEthernet and WiFi
- Installing WSL2 (hoping it would register NetNat WMI class — it didn't)
- Attempting ICS (Internet Connection Sharing) — changed adapter IP, broke VM connectivity
- Deleting/recreating HNS network — DNS always comes back as 192.168.0.1
- Running DISM /RestoreHealth
Full log
<details>
<summary>cowork_vm_node.log</summary>
See attached or available at: %APPDATA%\Claude\logs\cowork_vm_node.log
</details>
Showing cached comments. Read the full discussion on GitHub ↗
15 Comments
Full cowork_vm_node.log
<details>
<summary>Click to expand (929 lines)</summary>
</details>
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
[BUG] Cowork Windows — VM fails with "sandbox-helper: failed to unmount host share (tried both virtiofs and Plan9): invalid argument"
Preflight Checklist
Environment
What's Wrong
Cowork workspace fails to start. After multiple rounds of troubleshooting, the final error is:
This replaced an earlier "VM service not running" error after enabling Hyper-V (see troubleshooting steps below).
Expected Behavior
Cowork workspace should boot, connect to the Claude API, and allow task execution — including plugin installation (Legal plugin).
Steps to Reproduce
Troubleshooting Already Attempted
All of these were tried in order. None resolved the issue.
1. Disabled IPVanish VPN adapters
ncpa.cpl2. Restarted Claude Desktop (multiple times)
3. Restarted computer (multiple times)
4. Reinstalled Claude Desktop
5. Enabled Hyper-V and related Windows features
6. Confirmed network is fine
What Was NOT Tried
vm_bundlesfrom%AppData%\Claudeand%LocalAppData%\Claude(ran out of patience after 5 rounds of troubleshooting)Related Issues
This appears related to the cluster of Windows Cowork VM bugs reported this week:
Additional Context
The error progression suggests the VM infrastructure is partially working but the sandbox file-sharing layer (virtiofs/Plan9) is broken:
This is a fresh Windows 11 machine with no prior VM/container tooling installed. The only complicating factor was IPVanish VPN (installed but not running), whose adapters have since been disabled.
Issue 3: EFS encryption on
claudevm.bundlefolder preventssmol-bin.vhdxcopy and VM bootEnvironment: Windows 11, Claude Desktop 1.1.2685.0 (Microsoft Store), Max plan
The app creates the
claudevm.bundlefolder with the EFS encryption attribute set. Runningcipheron the folder shows: "New files added to this directory will be encrypted" — even though the parent folders (Claude\,vm_bundles\) do not have this attribute. The app itself is setting it.This causes two failures:
copyfilefromWindowsApps\...\smol-bin.vhdxinto the bundle folder fails with "unknown error" because the destination inherits the encryption attribute, and the MSIX-sandboxed copy operation can't encrypt the file.smol-bin.vhdxinto the folder viarobocopy /COPY:D, Hyper-V cannot open it because it gets encrypted on arrival. HCS fails withHRESULT 0x80071772: "The specified file is encrypted and the user does not have the ability to decrypt it."Workaround (partial): After each failed setup attempt, without restarting Claude:
Plus manually creating
sessiondata.vhdxviadiskpart. However the app deletessmol-bin.vhdxon restart and re-applies the encryption attribute to the folder on each retry, making this unsustainable.Root cause: The app is creating the bundle directory with the EFS encryption flag. This may not reproduce on all systems — it likely depends on a Windows policy or user profile configuration that triggers EFS inheritance for new folders created by MSIX-packaged apps.
Issue 5: EFS encryption on
claudevm.bundlefolder preventssmol-bin.vhdxcopy and VM bootEnvironment: Windows 11, Claude Desktop 1.1.2998.0 (Microsoft Store, updated today), Max plan
Still broken on the latest release (v1.1.2998.0). The version changed from 1.1.2685.0 but the error is identical.
The app creates the
claudevm.bundlefolder with the EFS encryption attribute set. Runningcipheron the folder shows: "New files added to this directory will be encrypted" — even though the parent folders (Claude\,vm_bundles\) do not have this attribute. The app itself is setting it.This causes two failures:
copyfilefromWindowsApps\...\smol-bin.vhdxinto the bundle folder fails with "unknown error" because the destination inherits the encryption attribute.smol-bin.vhdxviarobocopy /COPY:D, Hyper-V cannot open it because it gets encrypted on arrival. HCS fails withHRESULT 0x80071772: "The specified file is encrypted and the user does not have the ability to decrypt it."Workaround (partial, not sustainable): After each failed setup, without restarting Claude:
Plus manually creating
sessiondata.vhdxviadiskpart. However the app deletessmol-bin.vhdxon restart and re-applies the encryption attribute on each retry.This may not reproduce on all systems — it likely depends on a Windows policy or user profile configuration that triggers EFS inheritance for new folders created by MSIX-packaged apps.
Update: Still broken on v1.1.3189.0 (14 Feb 2026). Same EFS encryption error, but the source filename has changed from smol-bin.vhdx to smol-bin.x64.vhdx, suggesting architecture-specific builds were added. The copy still fails identically. That's three consecutive releases without a fix (1.1.2685.0 → 1.1.2998.0 → 1.1.3189.0).
Still broken on v1.1.3363.0 (22 Feb 2026). Same EFS encryption error on smol-bin.x64.vhdx copy. That's four consecutive releases now (1.1.2685.0 → 1.1.2998.0 → 1.1.3189.0 → 1.1.3363.0). Note that #24974 has been merged into this issue.
Update 3: v1.1.3963.0 (25 Feb 2026) — still broken. Five consecutive releases with the same EFS encryption error on smol-bin.x64.vhdx copy. Is anyone at Anthropic able to reproduce this or investigate the EFS attribute being set on the claudevm.bundle folder?
Bug seems to be fixed on Claude 1.1.4328 (d8e391). I am able to use Cowork without any issue
Networking issues like this were fixed in v1.1.4328
Leaving this open to track EFS which is proving hard to reproduce internally
Update 4: v1.1.4173.0 (1 Mar 2026) — still broken. Six consecutive releases with the same EFS encryption error on the smol-bin.x64.vhdx copy. This has been unfixed for nearly three weeks now.
Was working just fine till yesterday and now getting constant messages that VM Service is not available. What gives?
Update 6: v1.1.8359.0 (24 Mar 2026) — EFS copy issue is now fixed. smol-bin.x64.vhdx copies successfully. sessiondata.vhdx still not auto-created.
New blocker: CoworkVMService crashes immediately with "signature verification initialization failed: failed to get service executable path: The system cannot find the path specified."
The HCS and HCN layers initialize fine — the crash occurs when the service tries to verify its own executable signature.
The registered service path (C:\Program Files\WindowsApps\Claude_1.1.8359.0_x64__...\app\resources\cowork-svc.exe) exists and is accessible, but the service's internal path resolution fails.
Detailed log at C:\ProgramData\Claude\Logs\cowork-service.log shows HCS and HCN initializing successfully before the signature verification failure.
Update 7: Workaround for "signature verification initialization failed: failed to get service executable path"
After resolving the EFS encryption blocker (documented in my earlier comments), the next failure was CoworkVMService crashing immediately on startup with:
signature verification initialization failed: failed to get service executable path: The system cannot find the path specified.The cowork-service.log showed HCS and HCN initializing successfully before the crash. The root cause appears to be MSIX path resolution — the service process running under the Service Control Manager cannot resolve its own executable path within the WindowsApps directory, likely due to the conditional ACE requiring a WIN://SYSAPPID token attribute that SCM-launched services don't carry.
Workaround: Copy cowork-svc.exe out of the WindowsApps directory and run it interactively from an elevated prompt:
(Replace XXXX with your version — find it via
Get-AppxPackage -Name *Claude* | Select-Object InstallLocation)When run interactively, the binary enters debug mode and sets signature verification to
Enforce: false. The service starts successfully, HCS/HCN initialize, the named pipe server listens, and Claude Desktop connects. The console window must stay open.Important notes:
Tested on Windows 11 Pro, v1.1.8359.0. Cowork fully functional with this workaround. Related issues: #29941, #32481.
Update 7: Interactive workaround confirmed working, including on the new v1.19367.0.0 build
Following on from the EFS work documented above, the next and current blocker is that CoworkVMService (cowork-svc.exe) will not start in normal Windows service mode. Started by the SCM it crashes immediately with:
signature verification initialization failed: failed to get service executable path: The system cannot find the path specified.The cowork-service.log shows HCS and HCN initializing successfully before the crash. The root cause appears to be MSIX path resolution: an SCM-launched service (running as LocalSystem) cannot resolve the path to its own executable inside C:\Program Files\WindowsApps, likely because it lacks the WIN://SYSAPPID token attribute that the conditional ACE on that directory requires. This is consistent with the reports on #29941, #32481, and #37070.
Workaround. Run cowork-svc.exe interactively from an elevated prompt instead of as a service. It must first be copied out of WindowsApps (the same ACE blocks direct execution). In an elevated PowerShell:
Stop-Service CoworkVMService -Force -ErrorAction SilentlyContinue
copy "C:\Program Files\WindowsApps\Claude_<VERSION>_x64__pzs8sxrjxfjjc\app\resources\cowork-svc.exe" "C:\Temp\cowork-svc.exe"
& "C:\Temp\cowork-svc.exe"
(Find <VERSION> via Get-AppxPackage -Name Claude | Select-Object InstallLocation.)
Run this way, the binary logs "interactive/debug mode", sets signature verification to Enforce: false, starts the named pipe server, and Claude Desktop connects. The VM then boots fully: sessiondata.vhdx is auto-created, the compute system starts, network reaches CONNECTED, and the guest reports "sdk-daemon is ready". Cowork works normally after that.
Confirmed on v1.19367.0.0. After this build auto-updated (note the version format changed from 1.1.XXXX.0), service mode still crashes identically, but the interactive workaround still works. One migration note: the update landing while the previous interactive binary was still running corrupted the VM bundle mid-setup (EPERM rename on rootfs.vhdx.tmp, with vmwp.exe holding the VHDX locked). Recovery was: quit Claude, stop vmcompute, kill vmwp, delete the claudevm.bundle folder, restart vmcompute, then reapply the workaround with the fresh binary.
Caveats.
A proper fix for service-mode startup (so the interactive window and its CPU overhead aren't needed) would be the real resolution here.