Skip to content

Plugin doesn't seem to work if /mnt/c is not available #11333

@mfsysprog

Description

@mfsysprog

I prefer not to mount the windows filesystem from WSL by default, so I have the following in /etc/wsl.conf:

[automount]
# do not mount under /mnt/c by default
enabled=false

When trying to install the WSL plugin this leads to:

[2025-11-27 14:19:02.254] wsl: Failed to translate 'c:\Users\<username>\.vscode\extensions\ms-vscode-remote.remote-wsl-0.104.3'
[2025-11-27 14:19:02.254] sh: 1: /scripts/wslServer.sh: not found
[2025-11-27 14:19:02.254] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
[2025-11-27 14:46:01.594] Update check by another window detected, skipping.

I hoped that by enabling the automount, installing the plugin and subsequently disabling the automount again it would work, but it seems the plugin requires the windows filesystem to be mounted.

Is there any way to circumvent this issue?

Metadata

Metadata

Assignees

Labels

wslIssue in vscode-remote WSL

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions