We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Microsoft Windows [Version 10.0.22621.2428]
2.0.9.0
5.15.133
N/A
No response
C:\>wsl --mount --vhd --bare E:\test\a.vhdx The operation completed successfully. C:\>wsl --unmount E:\test\a.vhdx The system cannot find the file specified. Error code: Wsl/Service/DetachDisk/ERROR_FILE_NOT_FOUND C:\>cd /d E:\test E:\test>wsl --unmount a.vhdx The operation completed successfully.
The VHDX can be detached with either full path or relative path.
VHDX cannot be detached with full path.
The text was updated successfully, but these errors were encountered:
Fixed with https://github.com/microsoft/WSL/releases/tag/2.0.12.
Sorry, something went wrong.
A workaround in case somebody can't get the update is to use \\?\path, e.g. wsl.exe --unmount \\?\E:\test\a.vhdx. For some reason this works.
\\?\path
wsl.exe --unmount \\?\E:\test\a.vhdx
wsl --unmount
OneBlue
No branches or pull requests
Windows Version
Microsoft Windows [Version 10.0.22621.2428]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133
Distro Version
N/A
Other Software
No response
Repro Steps
Expected Behavior
The VHDX can be detached with either full path or relative path.
Actual Behavior
VHDX cannot be detached with full path.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: