I knew that Linux is installed at my Windows Installation. And if I choose Ubuntu among the installed apps, I could use it. But not with WSL, then the error. It was the same as from command line, PowerShell. It also didn't allow me to execute any Linux utils within 'wsl -e ... '

The error was like this.

>wsl

<3>WSL (12 - Relay) ERROR: CreateProcessParseCommon:863: Failed to translate 
<3>WSL (12 - Relay) ERROR: CreateProcessParseCommon:909: getpwuid(0) failed 2
<3>WSL (12 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin
<3>WSL (12 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin
<3>WSL (12 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Windows\system32
<3>WSL (12 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Windows
<3>WSL (12 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Windows\System32\Wbem
<3>WSL (12 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0\
<3>WSL (12 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Windows\System32\OpenSSH\
<3>WSL (12 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common

This happens if you also have Docker installed. Then sometimes Windows starts to think, that the main Linux subsystem is a Docker container. So, we need to fix the error and here is how to do it.

1. Open command line (cmd) and get the list of available WSL

>wsl --list

The result for me is:

Windows Subsystem for Linux Distributions:
docker-desktop-data (Default)
Ubuntu
docker-desktop

2. Set Ubintu as a default WSL

> wsl --set-default Ubuntu

After that, if you enter WSL in the command line, you got something like this.

Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.167.4-microsoft-standard-WSL2 x86_64)
 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

That's all.