Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<3>WSL (358) ERROR: CreateProcessParseCommon:789: Failed to translate Z:/

I am having some problems using Windows Subsystem for Linux (Ubuntu 22.04.2 LTS). I need to access a folder I have accessed locally by mapping a network drive.

I have installed both WSL and Ubuntu from the Microsoft App Store. I have been using this system for months and never encountered a problem.

Since yesterday, when trying to open a Linux terminal for the folder in the drive I mapped, I get this error:

<3>WSL (358) ERROR: CreateProcessParseCommon:789: Failed to translate Z:/

I do not encounter the same problem when opening a Linux Terminal in any other folder such as Desktop, or anything local.

I am not familiar with these kinds of errors, so anything to try would help a lot.

like image 467
Sofia Avatar asked Sep 09 '25 15:09

Sofia


2 Answers

You are most probably using Docker Desktop, Docker Dekstop makes it own distro and sets it as default, this is what causes the issue.

To make the default distro you mount to you can change it using the following command

wsl --list
wsl --setdefault <DISTRO_NAME>

This should solve your issue.

like image 161
GuruRandapa Avatar answered Sep 12 '25 13:09

GuruRandapa


The Z drive is likely not mounted.

sudo mount -t drvfs Z: /mnt/z
like image 25
Superblar Avatar answered Sep 12 '25 13:09

Superblar