claude-code - 💡(How to fix) Fix [BUG] Cowork "Add folder" silently fails on Windows MSIX install — wrong vmStorageDir path [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47751Fetched 2026-04-15 06:43:17
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Error Message

Adding a folder to a Cowork session silently fails with "Session VM process not available." The folder picker opens, a folder is selected, but it is never added to the session. No error is shown beyond the initial banner message.

Error Messages/Logs

Error Messages/Logs The log ends here — no error, no mount attempt, no further output. The vmStorageDir path (C:\Users\Matt\AppData\Roaming\Claude\claude-code-vm) does not exist on MSIX installs. The correct base path is C:\Users\Matt\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude. Manually creating the missing directory tree did not resolve the issue. Observe: folder is never added, "Session VM process not available" error appears The failure appears to be that getVMStorageSubpath uses a non-virtualized %APPDATA% path instead of the MSIX-virtualized one, and then silently swallows the resulting error with no log output

Code Example

Error Messages/Logs
From main.log:
[info] LocalAgentModeSessions.addFolderToSession: sessionId=local_f2407164-58e1-47f6-bfcc-9edda515e9e1, path=(picker)
[info] [VM] getVMStorageSubpath: vmStorageDir=C:\Users\Matt\AppData\Roaming\Claude\claude-code-vm, subpath=c/Users/Matt/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude/claude-code-vm
The log ends here — no error, no mount attempt, no further output. The vmStorageDir path (C:\Users\Matt\AppData\Roaming\Claude\claude-code-vm) does not exist on MSIX installs. The correct base path is C:\Users\Matt\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\. Manually creating the missing directory tree did not resolve the issue.
Note: The VM itself starts and runs successfully — cowork-service.log and coworkd logs both confirm full boot, network connectivity, Plan9 share mounting, and API reachability.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Adding a folder to a Cowork session silently fails with "Session VM process not available." The folder picker opens, a folder is selected, but it is never added to the session. No error is shown beyond the initial banner message.

What Should Happen?

The selected folder should be mounted into the Cowork VM and appear in the session.

Error Messages/Logs

Error Messages/Logs
From main.log:
[info] LocalAgentModeSessions.addFolderToSession: sessionId=local_f2407164-58e1-47f6-bfcc-9edda515e9e1, path=(picker)
[info] [VM] getVMStorageSubpath: vmStorageDir=C:\Users\Matt\AppData\Roaming\Claude\claude-code-vm, subpath=c/Users/Matt/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude/claude-code-vm
The log ends here — no error, no mount attempt, no further output. The vmStorageDir path (C:\Users\Matt\AppData\Roaming\Claude\claude-code-vm) does not exist on MSIX installs. The correct base path is C:\Users\Matt\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\. Manually creating the missing directory tree did not resolve the issue.
Note: The VM itself starts and runs successfully — cowork-service.log and coworkd logs both confirm full boot, network connectivity, Plan9 share mounting, and API reachability.

Steps to Reproduce

Install Claude Desktop via MSIX on Windows 10 Pro Open Cowork Click to add a folder to the session Select any folder in the picker Observe: folder is never added, "Session VM process not available" error appears

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

1.2278.0.0

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

CoworkVMService is running and set to Automatic Hyper-V, VirtualMachinePlatform, and HypervisorPlatform are all Enabled VM bundle exists at C:\Users\Matt\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\vm_bundles\claudevm.bundle The failure appears to be that getVMStorageSubpath uses a non-virtualized %APPDATA% path instead of the MSIX-virtualized one, and then silently swallows the resulting error with no log output

extent analysis

TL;DR

The issue is likely due to the incorrect usage of the %APPDATA% path in the getVMStorageSubpath function, which is not compatible with MSIX installations, and a workaround may involve modifying the path to use the MSIX-virtualized directory.

Guidance

  • Verify that the vmStorageDir path is correctly set to the MSIX-virtualized directory, which is C:\Users\Matt\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\ instead of C:\Users\Matt\AppData\Roaming\Claude\claude-code-vm.
  • Check the getVMStorageSubpath function to ensure it is using the correct path, and consider modifying it to handle MSIX installations correctly.
  • Manually creating the missing directory tree did not resolve the issue, so further investigation into the getVMStorageSubpath function and its error handling is needed.
  • Review the logs again to see if there are any other clues about what might be causing the "Session VM process not available" error.

Example

No code snippet is provided as the issue is more related to the configuration and path handling.

Notes

The issue seems to be specific to MSIX installations on Windows 10 Pro, and the correct solution may involve modifying the getVMStorageSubpath function to handle this case correctly. Further investigation is needed to determine the root cause and the best solution.

Recommendation

Apply a workaround by modifying the getVMStorageSubpath function to use the correct MSIX-virtualized directory path, as this is likely to resolve the issue. This is recommended because the current implementation is not compatible with MSIX installations, and a workaround is needed to ensure correct functionality.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING