when trying to start Ubuntu under Windows Terminal I get:
Code:
Failed to attach disk 'D:\WSL2Distros\ext4.vhdx' to WSL2: Access is denied.
Error code: Wsl/Service/CreateInstance/MountDisk/HCS/E_ACCESSDENIED
The vdhx file moved correctly to the new location.
Also when starting Docker Desktop I get a similar:
Code:
configuring docker in Ubuntu: docker cli config: failed to write file: running wslexec: An error occurred while running the command. Wsl/Service/CreateInstance/MountDisk/HCS/E_ACCESSDENIED: c:\windows\system32\wsl.exe -d ubuntu -e sh -c cat - > ~/.docker/config.json: exit status 0xffffffff (stderr: , wslErrorCode: Wsl/Service/CreateInstance/MountDisk/HCS/E_ACCESSDENIED)
I tried to assign all permissions to my standard user. I also tried to change owner from my user to Administrator, and finally back again. Nothing helped.
Question
MOoD90s 0
The vdhx file moved correctly to the new location.
Also when starting Docker Desktop I get a similar:
I tried to assign all permissions to my standard user. I also tried to change owner from my user to Administrator, and finally back again. Nothing helped.
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.