cannot access VHDX : ERROR_SHARING_VIOLATION #11717
Replies: 1 comment
|
THIS is definitely too late but i was looking for answer for i had the same problem today; the problem is that the "extv4.vhdx" file is already is attached to windows even if the WSL thought it wasn't, when i started the terminal (In my case) WSL tried to reattach it again and failed ,hence : error_sharing violation, failed to attach disk, HERE's what you can do: |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
on Windows 10 or 11, i have often an issue:
Failure to attach disk "C:\devenv\windows\vdx\ext4.vhdx" to WSL2: The process cannot access the file because it is being used by another process.
Error code: Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_SHARING_VIOLATION
Do you know why i have this error and how i can solve definitevely this error ?
Regards
Tony
All reactions