-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to translate all drives randomly. #12273
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
Diagnostic information
|
Update: This does not happen when starting wsl from admin terminal. |
Thank you for reporting this @StrixLake. Looking at the logs, I can see that WSL is getting access denied when trying to open the disks:
What permissions do you have on those disks ? Do you have any installed programs that could interface with WSL accessing those when non-elevated ? |
I did not change any permissions. For Drive C and D, admins have full control and users have read & execute, as seen from drive properties under security tab. Let me know if I can send you any other log file. |
Ok interesting. Could you share which permissions you have the drive's root folders ? |
All the folders in both the drives have same permissions for admins and users. Creator Owner and System don't have any permissions for C:\Windows, C:\Program files(x86) and C:\Program files but have full permissions for C:\Users and all folders in D:. |
Same issue here. We run BeyondTrust Privilege Management, so maybe there is an issue.
|
Same issue here, I'm connecting to the machine over ssh, and launching
But in the local machine, |
Windows Version
Microsoft Windows [Version 10.0.22631.4460]
WSL Version
2.3.26.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.167.4-1
Distro Version
No response
Other Software
No response
Repro Steps
Just starting WSL.
Expected Behavior
Windows directories should be available inside wsl and wsl should start without errors.
Actual Behavior
My PC only has C: and D: drive. Both never been changed, removed or renamed.
Running dir inside wsl for c and d in /mnt prints nothing.
Sometimes it happens randomly and just fixes itself randomly too.
Here is the terminal output when starting wsl.
PS C:\Users\yasha> wsl
<3>WSL (23) ERROR: CreateProcessParseCommon:763: Failed to translate C:\Users\yasha
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\PowerShell\7
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\bin
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\libnvvp
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\system32
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\Wbem
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\OpenSSH
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\dotnet
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA Corporation\Nsight Compute 2024.3.2
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\PowerShell\7
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\yasha\AppData\Local\Microsoft\WindowsApps
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\yasha\AppData\Local\Programs\Microsoft VS Code\bin
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\yasha.dotnet\tools
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\yasha\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg.Shared_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.1-full_build-shared\bin
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\yasha\AppData\Local\Programs\Microsoft VS Code\bin
<3>WSL (23) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\yasha\AppData\Local\Programs\Git\cmd
[root@Zephyrus ~]#
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: