Skip to content

The process cannot access the file because it is being used by another process #35

Open
@sisrfeng

Description

@sisrfeng

Describe the bug

After this:
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions