-
Notifications
You must be signed in to change notification settings - Fork 152
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
The process cannot access the file because it is being used by another process #35
Comments
Was there no output by the script? I would try to re-register the WSL distro via Registry. |
I think I tried to fix something like this in #32 |
We don't know, as they didn't provide any logs or steps. |
The output of move-wsl.ps1 is : Then I thought everything was OK, and wanted to start using my ubuntu. I searched with keywords "wsl state stop", and found an issue in wsl official repo, and a comment adviced using "re-register the WSL distro via Registry" |
Sorry, I am not on Windows anymore, so I cannot test. Either this or that: microsoft/WSL#4591 (comment) |
@sisrfeng please dont change registry settings without you knowing what they do or you trust the source. I will get back to you once I figure out the root cause for this. |
Hi, any update? |
Hi, @SayakMukhopadhyay, any update? |
Describe the bug
After this:
There was E:\wsl\ext4.vhdx
When I issued
wsl
, a window flashed out and I could not get into ubuntu.I issued
wsl --list --verbose
and could find ubuntu, but its state was "stop".Then I try
wsl --unregister Ubuntu
Now
wsl --list
shows nothing, but E:\wsl\ext4.vhdx is still there.How can I use the E:\wsl\ext4.vhdx? I have important files in that ubuntu distro
In pwsh.exe:
PS C:\Users\MeMeMe> wsl --import Ubuntu E:\wsl E:\wsl\ext4.vhdx
The process cannot access the file because it is being used by another process
The text was updated successfully, but these errors were encountered: