2

As mentioned in the GitHub issue I went to Windows Security but both vmvp.exe and vmcompute.exe didn't have any overrides, also there is no override called Code Flow Guard, but two overrides called Code Integrity Guard and Control Flow Guard ( I suspect this is due to Windows 11 ).

overrides for vmcomputeCFG unchecked

I still get this error so if anyone could clarify it would be greatly appreciated ubuntu wsl2 error

Other Info:

  • OS: Windows 11 Home
  • AMD CPU

Output of Get-WindowsOptionalFeature -Online | Where-Object { $_.State -eq "Enabled" } | Select-Object FeatureName | clip

FeatureName                                
-----------                                
Windows-Defender-Default-Definitions       
Printing-PrintToPDFServices-Features       
Printing-XPSServices-Features              
SearchEngine-Client-Package                
WorkFolders-Client                         
Printing-Foundation-Features               
Printing-Foundation-InternetPrinting-Client
MSRDC-Infrastructure                       
MicrosoftWindowsPowerShellV2Root           
MicrosoftWindowsPowerShellV2               
NetFx4-AdvSrvs                             
WCF-Services45                             
WCF-TCP-PortSharing45                      
SMB1Protocol                               
SMB1Protocol-Client                        
SMB1Protocol-Deprecation                   
MediaPlayback                              
WindowsMediaPlayer                         
Microsoft-Windows-Subsystem-Linux

Related Links:

Jytesh
  • 157

1 Answers1

2

As user @NotTheDr01ds noted, VirtualMachinePlatform was disabled, but even after enabling it the issue persisted, I needed to enable Hyper-V to make it work, Hyper-V is not installed in Windows Home versions so I followed this tutorial to install it, after that I disabled WSL , restarted enabled it and restarted again to make it work.

Hyper-V in Home installation : https://www.how2shout.com/how-to/download-and-install-hyper-v-on-windows-10-home.html

Jytesh
  • 157