Skip to content
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

Bug: wsl cannot run.系统找不到指定的文件 #6475

Closed
williamlzw opened this issue Jan 27, 2021 · 6 comments
Closed

Bug: wsl cannot run.系统找不到指定的文件 #6475

williamlzw opened this issue Jan 27, 2021 · 6 comments

Comments

@williamlzw
Copy link

win10 19042.746.
A few days ago I run netsh winsock restart in cmd.
Now I run ubuntu2004.exe.
prompt:系统找不到指定的文件.Press any key to continue...

Then I run DISM.exe /Online /Cleanup-image /Restorehealth in cmd.
run sfc /scannow in cmd.
But still cannot run ubuntu2004.exe.

@crramirez
Copy link
Contributor

Hello,

I didn't understand anything about the problem you are facing. I don't see the relation of the commands and ubuntu2004.

Could you please tell us in English this part? 系统找不到指定的文件

Regards,
Carlos

@williamlzw
Copy link
Author

netsh winsock restart The specified file could not be found.
I restored win10 to fix this problem.

@crramirez
Copy link
Contributor

This error usually happens when you install Ubuntu on another drive than C. But I see this is not the case. Did the Windows restore fixed the problem?

@williamlzw
Copy link
Author

I install Ubuntu on G(mobile hard disk drive).

@williamlzw
Copy link
Author

Maybe the registry is corrupt.
Windows Recovery fixes this problem.

@therealkenc
Copy link
Collaborator

There are similar-ish issues on the books #6341 #5906 #4959 (others). If you can catch it failing again please open a new issue and collect WSL logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants