Windows 10: Error: 0x1bc when wsl --set-default-version 2

Discus and support Error: 0x1bc when wsl --set-default-version 2 in Windows 10 Ask Insider to solve the problem; I installed Ubuntu 20.04 after reinstalling a fresh install of Windows 10 after formatting. When I run the following command, I notice Ubuntu is using... Discussion in 'Windows 10 Ask Insider' started by /u/kautica0, Aug 17, 2020.

  1. Error: 0x1bc when wsl --set-default-version 2


    I installed Ubuntu 20.04 after reinstalling a fresh install of Windows 10 after formatting. When I run the following command, I notice Ubuntu is using Version 1.

    PS C:\Windows\system32> wsl --list --verbose NAME STATE VERSION * Ubuntu-20.04 Running 1

    When I try to set default version to 2, I get an error.

    PS C:\Windows\system32> wsl --set-default-version 2 Error: 0x1bc For information on key differences with WSL 2 please visit https://aka.ms/wsl2

    when I try to add a apt-key in Ubuntu I get issues. Not sure if related.

    $ curl https://baltocdn.com/helm/signing.asc | sudo apt-key add - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1700 100 1700 0 0 26153 0 --:--:-- --:--:-- --:--:-- 26153 gpg: can't connect to the agent: IPC connect call failed

    What should I do?

    submitted by /u/kautica0
    [link] [comments]

    :)
     
    /u/kautica0, Aug 17, 2020
    #1
  2. NickJP Win User

    Cannot upgrade installed distros in WSL to version 2

    After installing the Win10 2004 build 19041 update (running winver shows "version 2004 (OS build 19041.388)", I've tried to upgrade a couple of installed distros I had in WSL version 1 to WSL version 2 following the instructions at https://docs.microsoft.com/en-us/win.../install-win10. All the steps in the instructions compete successfully, up to the point where I try to change the WSL version of one of the installed distros to 2 at which point I see the messages below:

    Code:
    I have enabled the Virtual Machine Platform feature (it shows as on with a tick against it in Control Panel Windows features), Intel-vt virtualization is enabled in the BIOS, and running msinfo32 shows, at the bottom of the system summary listing:

    Code:
    I also tried installing another distro with the WSL default version set to 2, but attempting to launch it shows the error:

    Code:
    Any suggestions on how to get around this problem? From what I've read, WSL2 gives worthwhile speed increases over WSL1, and so is worth using if I can get it to work.
     
    NickJP, Aug 31, 2020
    #2
  3. WSL 2

    I want to make use of WSL 2 feature with the new update of Windows version 2004 , in order to use WSL 2 i need to enable Virtualization in my pc bios settings. So when i enable virtualization my windows starts lagging and all the animations of scrolling
    etc etc lags...Please suggest me something to fix that so that i could use the new virtualization feature.
     
    Legend Hunter 3, Aug 31, 2020
    #3
  4. Error: 0x1bc when wsl --set-default-version 2

    Resolving WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2?

    # Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2

    I am currently on the `Windows 10 Pro Insider Preview build 18922.rs_prerelease`, and am trying to install a Linux distribution to access via Windows Subsystem for Linux (2). I have tried this for both the Ubuntu and Debian distros and have encountered the
    same error in each.

    I have successfully downloaded both distros from the Microsoft store, but when I try to first "run" the Ubuntu or Debian "app" the respective console comes up and prints the following text:

    Code:
    Installing, this may take a few minutes...
    
    WslRegisterDistribution failed with error: 0x80370102
    
    Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.
    
    Press any key to continue...
    Pressing a key at this point automatically exits the console.
    ---

    ## Additional information:

    - Using the `wsl -l` command shows no installed distros.

    - I do have Hypervisor installed and running `bcdedit` does show that `hypervisorlaunchtype` is set to `Auto` in the `Windows Boot Loader` section.

    - I did previously have Ubuntu installed and working under WSL 1 before switching to the Windows Insider Program Fast Ring and gaining access to WSL 2, but I was encountering another issue when trying to have it use WSL 2. After
    trying to use the command `wsl --set-version Ubuntu 2` I was met with a request to "Enable the Virtual Machine Platform". I had already run `Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform` prior, according to the official microsoft
    tutorial here Install Windows Subsystem for Linux (WSL) on Windows 10, but for good measure I did it again and got the same error, and Ubuntu was still on version 1 (I haven't explicitly mentioned it but I was restarting/shutting down when requested/suggested
    by windows and tutorials, so I don't believe me not restarting is a cause). In hopes to find a workaround, I ended up uninstalling Ubuntu and hoping I could reinstall it and have it obey the default defined by the `wsl --set-default-version 2` command (suffice
    it to say, this did not go as I'd hoped).

    - This might be an unrelated issue, but when I initially attempted reinstalling Ubuntu, the Microsoft store had a bit of a fit and could not complete the download- encountering an 'unknown error'. I did a restart, tried again, and
    got the same error, but then after telling it to 'try again' it succeeded. I had no such issues installing Debian from the store.

    ---

    ## Suggestions Welcome

    I've searched for a bit and can't find mention of this error code in particular anywhere else.

    In addition, is there anywhere I can look up/access these error codes in any sort of documentation? Ideally so I can make a better informed work-around attempt before bothering you all on here.

    All help is appreciated!
     
    SamuelLudwig, Aug 31, 2020
    #4
Thema:

Error: 0x1bc when wsl --set-default-version 2

Loading...
  1. Error: 0x1bc when wsl --set-default-version 2 - Similar Threads - Error 0x1bc wsl

  2. installing WSL 2 messes with the power settings

    in Windows 10 Gaming
    installing WSL 2 messes with the power settings: after installing wsl 2, pc won't shutdown or hibernate, if I try to shutdown in signs out and goes back to the lock screen, if I try to hibernate it locks the screen, that's all, tried checking for updates, tried checking power settings, tried uninstalling wsl 2 and...
  3. installing WSL 2 messes with the power settings

    in Windows 10 Software and Apps
    installing WSL 2 messes with the power settings: after installing wsl 2, pc won't shutdown or hibernate, if I try to shutdown in signs out and goes back to the lock screen, if I try to hibernate it locks the screen, that's all, tried checking for updates, tried checking power settings, tried uninstalling wsl 2 and...
  4. installing WSL 2 messes with the power settings

    in Windows 10 Customization
    installing WSL 2 messes with the power settings: after installing wsl 2, pc won't shutdown or hibernate, if I try to shutdown in signs out and goes back to the lock screen, if I try to hibernate it locks the screen, that's all, tried checking for updates, tried checking power settings, tried uninstalling wsl 2 and...
  5. Why does WSL version indicate 1.x if updated to WSL 2?

    in Windows 10 Gaming
    Why does WSL version indicate 1.x if updated to WSL 2?: As titled https://answers.microsoft.com/en-us/windows/forum/all/why-does-wsl-version-indicate-1x-if-updated-to-wsl/ff9ebfd4-9682-45af-9532-6c3ab7aa360a
  6. Why does WSL version indicate 1.x if updated to WSL 2?

    in Windows 10 Software and Apps
    Why does WSL version indicate 1.x if updated to WSL 2?: As titled https://answers.microsoft.com/en-us/windows/forum/all/why-does-wsl-version-indicate-1x-if-updated-to-wsl/ff9ebfd4-9682-45af-9532-6c3ab7aa360a
  7. WSL 2 Error

    in Windows 10 Gaming
    WSL 2 Error: I Installed WSL 2 recently and started getting the following error , once I open the windows/Ubuntu terminalOperation did not complete successfully because the file contains a virus or potentially unwanted software. Error code: Wsl/Service/CreateInstance/CreateVm/0x800700e1...
  8. WSL 2 Error

    in Windows 10 Software and Apps
    WSL 2 Error: I Installed WSL 2 recently and started getting the following error , once I open the windows/Ubuntu terminalOperation did not complete successfully because the file contains a virus or potentially unwanted software. Error code: Wsl/Service/CreateInstance/CreateVm/0x800700e1...
  9. WSL 2

    in Windows 10 BSOD Crashes and Debugging
    WSL 2: I want to make use of WSL 2 feature with the new update of Windows version 2004 , in order to use WSL 2 i need to enable Virtualization in my pc bios settings. So when i enable virtualization my windows starts lagging and all the animations of scrolling etc etc lags...Please...
  10. WSL 1 to WSL 2 Upgrade

    in Windows 10 Support
    WSL 1 to WSL 2 Upgrade: Been using Windows Subsytem for Linux for some time. How do I get it upgrade to WSL 2. 132527