Windows 10: Unable to get WSL running in my development Windows 11 VM

Discus and support Unable to get WSL running in my development Windows 11 VM in Windows 10 Software and Apps to solve the problem; I'm trying to get WSL 2 working on my Windows 11 KVM based VM but I'm stuck in a vicious cycle as follows:* Enable-WindowsOptionalFeature -Online... Discussion in 'Windows 10 Software and Apps' started by Anthony Kamau, May 27, 2023.

  1. Unable to get WSL running in my development Windows 11 VM


    I'm trying to get WSL 2 working on my Windows 11 KVM based VM but I'm stuck in a vicious cycle as follows:* Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform* reboot* preparing automatic repair* attempt to access safe mode to resolve* we couldn't complete the features...* something didn't go as planned...* back at desktop* feature is not enabledI even thought that maybe the issue was only affecting Windows 11 21H2 so I upgraded to 22H2 only to end up in the same quagmire. Is there a known solution for this? Please let me know what you need to help me get out of this h

    :)
     
    Anthony Kamau, May 27, 2023
    #1

  2. Does WSL work on a Windows VM?

    I would like to know if WSL (Windows subsystem for Linux) can be used on a Windows VM?
     
    Sridhar1803, May 27, 2023
    #2
  3. Does WSL work on a Windows VM?

    Hi Sridhar

    I am Sumit, an Independent Advisor and a 3 year Windows Insider MVP here to help.

    As long as the VM is 64 bit, WSL should work.
     
    Sumit (Independent Advisor), May 27, 2023
    #3
  4. Unable to get WSL running in my development Windows 11 VM

    Can not install WSL on Windows 11

    Kristijan -



    Let's back up and go over the basic fixes for WSL failing to install in Windows 11, since these fixes often work for a variety of causes:

    WSL --install Failing on Fresh Windows 11 Install · Issue #9453 · microsoft/WSL

    https://www.partitionwizard.com/partitionmagic/...

    https://stackoverflow.com/questions/75673706/i-...

    https://www.isunshare.com/windows-11/error-fix-...

    Cannot install WSL from PowerShell · Issue #3777 · microsoft/WSL

    For further help with this, since it's so heavily developer dependent at this early stage, I would post at GitHub or StackOverflow above to get developer expertise. You can also post at these Developers' forums:

    https://social.msdn.microsoft.com/Forums/en-US/...

    Stack Overflow - Where Developers Learn, Share, & Build Careers

    https://developer.microsoft.com/en-us/windows/s...

    https://www.quora.com/What-are-the-top-10-websi...



    I hope it helps.

    Feel free to ask back any questions. Based on the results you post back, I will have other suggestions if necessary.

    ____________________________________________

    Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.
     
    Greg Carmack, May 27, 2023
    #4
Thema:

Unable to get WSL running in my development Windows 11 VM

Loading...
  1. Unable to get WSL running in my development Windows 11 VM - Similar Threads - Unable WSL running

  2. Windows Developer VM or images

    in Windows 10 Gaming
    Windows Developer VM or images: I changed job this spring. I am a software tester, I used to use virtualbox, but want to use HyperV if it does in fact function. I'm on win11 Enterprisey version, I have a MSDN/visual studio.I always used to download the 1-2 month demo images for testing software on, but...
  3. Windows Developer VM or images

    in Windows 10 Software and Apps
    Windows Developer VM or images: I changed job this spring. I am a software tester, I used to use virtualbox, but want to use HyperV if it does in fact function. I'm on win11 Enterprisey version, I have a MSDN/visual studio.I always used to download the 1-2 month demo images for testing software on, but...
  4. Trying to get Windows 11 running on VM

    in Windows 10 Gaming
    Trying to get Windows 11 running on VM: I need a copy of Windows running on a VM so we can test software. I tried with the latest ISO on Hyper-V. It completed the installation, but then never let me log in. I tried various Insider Edition ISOs including Release Preview, Beta, and Dev. Same behavior for all...
  5. Trying to get Windows 11 running on VM

    in Windows 10 Software and Apps
    Trying to get Windows 11 running on VM: I need a copy of Windows running on a VM so we can test software. I tried with the latest ISO on Hyper-V. It completed the installation, but then never let me log in. I tried various Insider Edition ISOs including Release Preview, Beta, and Dev. Same behavior for all...
  6. VMMEM running and consuming 1.5gb, with no VM or WSL installed

    in Windows 10 Gaming
    VMMEM running and consuming 1.5gb, with no VM or WSL installed: I have a PC that was only installed 2 weeks ago that is running the VMMEM process and is consuming 1.5gb of RAM. I don't have HyperV, Docker or any other VM product installed nor do I have WSL installed.I understand that VMMEM is actually jsut a Task Manager virtual process,...
  7. VMMEM running and consuming 1.5gb, with no VM or WSL installed

    in Windows 10 Software and Apps
    VMMEM running and consuming 1.5gb, with no VM or WSL installed: I have a PC that was only installed 2 weeks ago that is running the VMMEM process and is consuming 1.5gb of RAM. I don't have HyperV, Docker or any other VM product installed nor do I have WSL installed.I understand that VMMEM is actually jsut a Task Manager virtual process,...
  8. VMMEM running and consuming 1.5gb, with no VM or WSL installed

    in Windows 10 BSOD Crashes and Debugging
    VMMEM running and consuming 1.5gb, with no VM or WSL installed: I have a PC that was only installed 2 weeks ago that is running the VMMEM process and is consuming 1.5gb of RAM. I don't have HyperV, Docker or any other VM product installed nor do I have WSL installed.I understand that VMMEM is actually jsut a Task Manager virtual process,...
  9. Unable to get WSL running in my development Windows 11 VM

    in Windows 10 Gaming
    Unable to get WSL running in my development Windows 11 VM: I'm trying to get WSL 2 working on my Windows 11 KVM based VM but I'm stuck in a vicious cycle as follows:* Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform* reboot* preparing automatic repair* attempt to access safe mode to resolve* we couldn't...
  10. WSL & website development

    in Windows 10 Software and Apps
    WSL & website development: For years I've used the Windows environment to develop websites that eventually end up in a Linux environment. As an experiment I've installed Ubuntu 18 in WSL, along with an Apache server, MySQL & PHP. Then cloned one of my github repos in my home folder (to allow IDE...