WSL: WSL --install fails with "Error: 0x80070424 The specified service does not exist as an installed service"

Windows Version

Microsoft Windows [Version 10.0.22631.2715]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu

Other Software

No response

Repro Steps

Installing subsystem distro fails if i run wsl --install Ubuntu

Already tried following: -Remove and reinstall Hyper-V and Subsystem

Expected Behavior

image

Actual Behavior

C:\Users\user>wsl --install ubuntu Ubuntu on jo asennettu. Käynnistetään Ubuntu… Installing, this may take a few minutes… WslRegisterDistribution failed with error: 0x80070424 Error: 0x80070424 The specified service does not exist as an installed service.

Diagnostic Logs

WslLogs-2023-11-15_08-54-49.zip

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 16 (1 by maintainers)

Most upvoted comments

Hi I’m an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

You can give me feedback by thumbs upping or thumbs downing this comment.

In my case, I needed to enable the following from Programs and Features -> Turn Windows Feature on or off:

  • Virtual Machine Platform
  • Windows Subsystem for Linux

Re-Enabling Virtual Machine Platform solved my issue. https://github.com/microsoft/WSL/issues/10760

go to Applications select windows linux subsystem app, advanced options, repair

It’s not just a problem installing WSL, the same error is happening when launching already-installed WSL after Windows Update. See #10755 (someone already closed it on account of workarounds, which might help here too, but the issue remains).