WSL not starting - VM request not supported

Eranda Welgama 0 Reputation points
2024-12-16T12:09:49.3666667+00:00

Some of our colleagues are recently experiencing a problem when start WSL in Windows 11 computers. It was working fine so far, and issue came on last Saturday. below is the error message.

C:\Users\user1>wsl

Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The request is not supported.

Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/HCS/0x80070032

Could you please help me to identify why this is happening and how to sort out?

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-12-17T07:39:09.7+00:00

    Hello

    Thank you for posting in Q&A forum.

    Here are a few steps you can try:

    1. Reset Winsock: Sometimes, resetting the Winsock catalog can help. Open an elevated PowerShell (Run as Administrator) and execute the following command:

    netsh winsock reset

    After running this command, restart your computer and try running WSL again

    1. Check WSL Version: Ensure you are using the latest version of WSL. You can update WSL by running:

    wsl --update

    If you are already on the latest version, you might consider rolling back to a previous version that worked for you. Users have reported success by rolling back to version 2.1.4.0

    1. Verify File Location: Make sure the system.vhd file exists in the specified location. If it doesn't, you might need to copy it from its old location (C:\ProgramData\Microsoft\WSL) to the new location (C:\Program Files\WSL) with elevated rights
    2. Reinstall WSL: If the above steps don't work, you might need to reinstall WSL. You can do this by running:

    wsl --unregister <distro_name>

    Replace <distro_name> with the name of your Linux distribution. After unregistering, reinstall the distribution from the Microsoft Store.

    If these steps don't resolve the issue, you might want to check the GitHub issues page for WSL for more specific solutions or to report your problem.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.