Skip to content

Ubuntu installation stuck on WSL (Windows 10 Pro Insider Preview) #6405

@djrranga

Description

@djrranga

Identified Workarounds (Added by WSL maintainers)

Fix App and browser control

  1. Open "Window Security"
  2. Open "App & Browser control"
  3. Click "Exploit protection settings" at the bottom
  4. Switch to "Program settings" tab
  5. Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
  6. Click "Edit"
  7. Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" (CFG must be ON for this app!)
  8. Reboot

#6405 (comment)
Thank you to: @shtormish !!

Press ctrl+c

#6405 (comment)
Thank you @sparcbr

Original issue content (End of content added by WSL maintainers)

Environment

Windows build number: 21277
Your Distribution version: Ubuntu 20.04
Whether the issue is on WSL 2 and/or WSL 1: 2

Steps to reproduce

  1. Install the latest build of Windows Insider Preview (Dev Channel)
  2. Set up Windows
  3. Enable Hyper-V, Hypervisor Platform, Containers
  4. In cmd.exe (Admin): wsl --install
  5. Reboot
  6. Ubuntu window opens, says "Installing, this may take a few minutes" for several hours.

WSL logs:

Expected behavior

Ubuntu should install and ask me to configure my user account.

Actual behavior

Hangs on "installing" with no errors.

Edit 2024: Workarounds

Workaround 1 @sparcbr
Workaround 2 @shtormish

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions