WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG error: I couldn't install with (wsl --install)

Open PhytoncideCoding opened this issue 7 months ago • 8 comments

Windows Version

Windows 11 Home( OS build 26100.4061)

WSL Version

I could not install any version of WSL. I want to install WSL2

Are you using WSL 1 or WSL 2?

  • [ ] WSL 2
  • [ ] WSL 1

Kernel Version

I could not start installing WSL because of Error: REGDB_ECLASSNOTREG

Distro Version

I want to install Ubuntu 24.04.02 LTS

Other Software

No response

Repro Steps

#1 I tried to install WSL2 with code( wsl --install in Administrator Mode) -> Error: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG

Image

#2 I tried to intall WSL2 manually. I learned about it (https://learn.microsoft.com/ko-kr/windows/wsl/install) +1 I turned Windows Subsystem for Linux On successfully, using Windows Features On/off +2 I updated Windows Home 11 (OS build : 26100.4061)

Image

+3 I tried to enable Virtual Machine Platform with the code

  • dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
  • But I got error: 50 (It is not supported request)

Image

  • I tried to enable Virtual Machine Platform with Windows Features On/off $ But I got this error: 0x80070032

Image

+4 I retry to turn on Virtual Machine Platform after I set my Windows featrues like this. But I could not turn on Virtual Machine Platform.

  • Windows Hypervisor Platform (state: check)
  • Windows Subsystem for Linux(state: check)
  • Work Folder Client(state:check)
  • .Net Framework 3.5(includes .NET 2.0 and 3.0) (state: -)
  • .Net Framework 4.8 Advanced Services(state: -)
  • Media Features(state: check)
  • Microsoft Print to PDF(state: check)
  • Print and Document Services(state: -)
  • Remote Differential Compression API Support(state: check)

Image

Image

+5 I even try to install linux kernel update package download. I got error like this

Image

Image

Expected Behavior

https://learn.microsoft.com/ko-kr/windows/wsl/install-manual

I eagerly want to install WSL2 for my Final Exam of Linux Programming. I'd like to get remote control service from Microsoft if it is available.

Actual Behavior

#1 wsl --install in Administrator Mode Power Shell -> error: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG

#2 Try to turn on Virtual Machine Platform with the code -> error: 50 (It is not supported request)

#3 Try to turn on Virtual Machine Platform with the Windows Features On/Off -> error: 0x80070032

Consequently, I could not install WSL2.

Diagnostic Logs

No response

PhytoncideCoding avatar May 19 '25 13:05 PhytoncideCoding

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

github-actions[bot] avatar May 19 '25 13:05 github-actions[bot]

I Know! Maybe Upgrade To Windows 11 Pro Becuase Widnows 11 Home Does Not Support VMs And WSL Needs VMs So Just Get A Product Key Of Windows 11 Pro And Use It to Upgrade And Maybe That Will Work.

Coolis1362 avatar May 20 '25 00:05 Coolis1362

To. github-actions

I collected and attached my log. I have mind to install WSL2 with remote control installation from microsoft team if it is possible.

WslLogs-2025-05-20_11-49-17.zip

PhytoncideCoding avatar May 20 '25 03:05 PhytoncideCoding

The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

Diagnostic information
Detected appx version: 2.4.12.0
Found no WSL traces in the logs

github-actions[bot] avatar May 20 '25 03:05 github-actions[bot]

To github-actions I had to wait for long time to try to this code: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

I made my log file.

WslLogs-2025-05-20_12-15-14.zip

PhytoncideCoding avatar May 20 '25 05:05 PhytoncideCoding

Diagnostic information
Detected appx version: 2.4.12.0
Detected user visible error: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG
Detected user visible error: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG

github-actions[bot] avatar May 20 '25 05:05 github-actions[bot]

To. github-actions I tried (in #12278 github actions'suggestion) Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/triage/install-latest-wsl.ps1" -OutFile install-latest-wsl.ps1 Set-ExecutionPolicy Bypass -Scope Process -Force .\install-latest-wsl.ps1 #1 I get Active code page: 949 #2 wsl --install Installing Windows optional component: VirtualMachinePlatform

Deployment Image Servicing and Management tool Version: 10.0.26100.1150

Image Version: 10.0.26100.4061

Enabling feature(s) [==========================100.0%==========================]

Error: 50

The request is not supported.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log Failed to enable Windows component 'VirtualMachinePlatform' (exit code 50) Error code: Wsl/WSL_E_INSTALL_COMPONENT_FAILED

I got another error: Wsl/WSL_E_INSTALL_COMPONENT_FAILED Could you tell me what should I do to solve it?

PhytoncideCoding avatar May 20 '25 11:05 PhytoncideCoding

Try Turning On Intel VT-x or AMD-V In BIOS/UEFI

Coolis1362 avatar May 21 '25 10:05 Coolis1362

I'm also facing similar problem can someone help. I'm from biology background learning Linux for bioinformatics. Please someone help

rockhide-hub avatar May 25 '25 12:05 rockhide-hub