[WSL2] Enabled WSL2 on old CPU, disable the "Virtual Machine Platform" feature?
I've tested Docker Desktop with WSL2 integration on an old computer. I've seen that some of the features to add are disabled, because this old CPU does not have Second Level Address Translation (SLAT).
But I'm able to install the "Virtual Machine Platform" feature as shown in this screenshot:

Describe the solution you'd like I wonder if this feature should be also disabled in the Windows-Features dialog on these kind of machines.
Another finding The "WSL2" feature is also a little hard to find in the list, because it's translated to other languages. So, it doesn't appear at the same position of the list. In Germany for example it's called "Plattform für virtuelle Computer"
But when the user runs a wsl.exe command that needs version 2, the error messages refers to the english feature name "Virtual Machine Platform":
Aktivieren Sie bitte das Windows-Feature „Virtual Machine Platform” und stellen Sie sicher, dass die Virtualisierung im BIOS aktiviert ist.
Weitere Informationen finden Sie unter https://aka.ms/wsl2-install
Let me add some more details about the CPU of this computer.
PS C:\WINDOWS\system32> $(Get-WmiObject Win32_Processor) | ConvertTo-json -Depth 1
Click to expand!
{
"Scope": {
"IsConnected": true,
"Options": "System.Management.ConnectionOptions",
"Path": "\\\\localhost\\root\\cimv2"
},
"Path": {
"Path": "\\\\INSPIRON\\root\\cimv2:Win32_Processor.DeviceID=\"CPU0\"",
"RelativePath": "Win32_Processor.DeviceID=\"CPU0\"",
"Server": "INSPIRON",
"NamespacePath": "root\\cimv2",
"ClassName": "Win32_Processor",
"IsClass": false,
"IsInstance": true,
"IsSingleton": false
},
"Options": {
"UseAmendedQualifiers": false,
"Context": "",
"Timeout": "10675199.02:48:05.4775807"
},
"ClassPath": {
"Path": "\\\\INSPIRON\\root\\cimv2:Win32_Processor",
"RelativePath": "Win32_Processor",
"Server": "INSPIRON",
"NamespacePath": "root\\cimv2",
"ClassName": "Win32_Processor",
"IsClass": true,
"IsInstance": false,
"IsSingleton": false
},
"Properties": [
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData"
],
"SystemProperties": [
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData",
"System.Management.PropertyData"
],
"Qualifiers": [
"System.Management.QualifierData",
"System.Management.QualifierData",
"System.Management.QualifierData",
"System.Management.QualifierData"
],
"Site": null,
"Container": null,
"PSComputerName": "INSPIRON",
"__GENUS": 2,
"__CLASS": "Win32_Processor",
"__SUPERCLASS": "CIM_Processor",
"__DYNASTY": "CIM_ManagedSystemElement",
"__RELPATH": "Win32_Processor.DeviceID=\"CPU0\"",
"__PROPERTY_COUNT": 57,
"__DERIVATION": [
"CIM_Processor",
"CIM_LogicalDevice",
"CIM_LogicalElement",
"CIM_ManagedSystemElement"
],
"__SERVER": "INSPIRON",
"__NAMESPACE": "root\\cimv2",
"__PATH": "\\\\INSPIRON\\root\\cimv2:Win32_Processor.DeviceID=\"CPU0\"",
"AddressWidth": 64,
"Architecture": 9,
"AssetTag": " ",
"Availability": 3,
"Caption": "Intel64 Family 6 Model 15 Stepping 11",
"Characteristics": null,
"ConfigManagerErrorCode": null,
"ConfigManagerUserConfig": null,
"CpuStatus": 1,
"CreationClassName": "Win32_Processor",
"CurrentClockSpeed": 2400,
"CurrentVoltage": 12,
"DataWidth": 64,
"Description": "Intel64 Family 6 Model 15 Stepping 11",
"DeviceID": "CPU0",
"ErrorCleared": null,
"ErrorDescription": null,
"ExtClock": 266,
"Family": 1,
"InstallDate": null,
"L2CacheSize": 8192,
"L2CacheSpeed": null,
"L3CacheSize": 0,
"L3CacheSpeed": 0,
"LastErrorCode": null,
"Level": 6,
"LoadPercentage": 23,
"Manufacturer": "GenuineIntel",
"MaxClockSpeed": 2400,
"Name": "Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz",
"NumberOfCores": 4,
"NumberOfEnabledCore": 4,
"NumberOfLogicalProcessors": 4,
"OtherFamilyDescription": null,
"PartNumber": " ",
"PNPDeviceID": null,
"PowerManagementCapabilities": null,
"PowerManagementSupported": false,
"ProcessorId": "BFEBFBFF000006FB",
"ProcessorType": 3,
"Revision": 3851,
"Role": "CPU",
"SecondLevelAddressTranslationExtensions": false,
"SerialNumber": " ",
"SocketDesignation": "Socket 775",
"Status": "OK",
"StatusInfo": 3,
"Stepping": "11",
"SystemCreationClassName": "Win32_ComputerSystem",
"SystemName": "INSPIRON",
"ThreadCount": 4,
"UniqueId": null,
"UpgradeMethod": 4,
"Version": "Modell 15, Stepping 11",
"VirtualizationFirmwareEnabled": true,
"VMMonitorModeExtensions": true,
"VoltageCaps": null
}
Did you get a solution for this issue?
Are you running WSL 2 ? I have a similar situation on Xeon X3360 and can change WSL version for my installed ubuntu app from 1 to 2. I have even "Virtual Machine Platform" enabled in features, but when I'm trying to set wsl version, I'm getting this:
wsl --set-version Ubuntu-18.04 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/wsl2-install
Is this the end of the line for CPUs without the SLAT support?
@danielsballes No, I don't expect a solution to run WSL2 on old CPU's. I asked if the UI could grey out the check bot to ~~let~~ prevent users from installing that feature that doesn't seem to work.
@Chaturanga42 Well, I just tried to use WSL2 to see edge cases during our development in Docker Desktop to support Windows 10 Home. Agreed, if you want to use WSL2 it's the end of these old CPUs.
Agreed.
After successfully installed WSL2, I tried to start Debian and stumbled the ambiguous error 0x80370102. Wasted hours before finding out that WSL2 requires SLAT.
I have the same problem, I have enabled the Virtual Machine Platform and Hyper-V too.
But when I start ubuntu, I got
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/wsl2-install
Press any key to continue...
The following is the output of systeminfo
C:\Users\Liu.D.H>systeminfo
Host Name: DESKTOP-LDH
OS Name: Microsoft Windows 10 Education
OS Version: 10.0.19041 N/A Build 19041
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: Windows User
Registered Organization:
Product ID: 00328-10000-00001-AA635
Original Install Date: 2020-05-11, 22:13:14
System Boot Time: 2020-06-05, 16:57:51
System Manufacturer: Dell Inc.
System Model: Vostro 3900
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 60 Stepping 3 GenuineIntel ~3601 Mhz
BIOS Version: Dell Inc. A10, 2015-07-30
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
System Locale: zh-cn;Chinese (China)
Input Locale: zh-cn;Chinese (China)
Time Zone: (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi
Total Physical Memory: 16,301 MB
Available Physical Memory: 10,313 MB
Virtual Memory: Max Size: 33,709 MB
Virtual Memory: Available: 26,425 MB
Virtual Memory: In Use: 7,284 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \\DESKTOP-LDH
Hotfix(s): 6 Hotfix(s) Installed.
[01]: KB4552925
[02]: KB4534170
[03]: KB4537759
[04]: KB4545706
[05]: KB4557968
[06]: KB4556803
Network Card(s): 4 NIC(s) Installed.
[01]: TAP-Windows Adapter V9
Connection Name: 以太网
Status: Media disconnected
[02]: Realtek PCIe GBE Family Controller
Connection Name: Ethernet_Realtek
DHCP Enabled: Yes
DHCP Server: 113.55.112.1
IP address(es)
[01]: 113.55.127.140
[02]: fe80::3d0a:ecde:2178:d77c
[03]: 2001:250:2800:cc09:6600:6aff:fe16:df31
[03]: Realtek RTL8188CU Wireless LAN 802.11n USB 2.0 Network Adapter
Connection Name: Wi-Fi 2
Status: Media disconnected
[04]: Microsoft KM-TEST Loopback Adapter
Connection Name: Npcap Loopback Adapter
DHCP Enabled: Yes
DHCP Server: 255.255.255.255
IP address(es)
[01]: 169.254.104.11
[02]: fe80::d8bf:11ab:7b05:680b
Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
C:\Users\Liu.D.H>
And the bcdedit output
C:\Users\Liu.D.H>bcdedit
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {8c132511-806f-11e9-8860-f798d1b7a8f1}
displayorder {current}
{89f269f4-cc9f-11e6-8727-64006a16df31}
{8c132516-806f-11e9-8860-f798d1b7a8f1}
toolsdisplayorder {memdiag}
timeout 5
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \WINDOWS\system32\winload.exe
description Windows 10
locale en-US
inherit {bootloadersettings}
recoverysequence {8c132514-806f-11e9-8860-f798d1b7a8f1}
displaymessageoverride Recovery
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \WINDOWS
resumeobject {8c132511-806f-11e9-8860-f798d1b7a8f1}
nx OptIn
bootmenupolicy Legacy
hypervisorlaunchtype Auto
Windows Boot Loader
-------------------
identifier {89f269f4-cc9f-11e6-8727-64006a16df31}
device partition=\Device\HarddiskVolume1
path \Windows\system32\winload.exe
description Windows 7
locale zh-CN
inherit {bootloadersettings}
osdevice partition=\Device\HarddiskVolume1
systemroot \Windows
resumeobject {89f269f3-cc9f-11e6-8727-64006a16df31}
nx OptIn
detecthal Yes
Windows Boot Loader
-------------------
identifier {8c132516-806f-11e9-8860-f798d1b7a8f1}
device partition=C:
path \WINDOWS\system32\winload.exe
description Windows10 no Hyper-V
locale en-US
inherit {bootloadersettings}
recoverysequence {8c132514-806f-11e9-8860-f798d1b7a8f1}
displaymessageoverride Recovery
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \WINDOWS
resumeobject {8c132511-806f-11e9-8860-f798d1b7a8f1}
nx OptIn
bootmenupolicy Legacy
hypervisorlaunchtype Auto
C:\Users\Liu.D.H>
Agreed.
After successfully installed WSL2, I tried to start Debian and stumbled the ambiguous error 0x80370102. Wasted hours before finding out that WSL2 requires SLAT.
Thank you, you just saved me some time. I've been googling for "WSL2 Requirements", and I'm surprised that I can't find these clearly stated anywhere. The closest I've come is an omgubuntu page stating: Windows 10 (1903) or later Hyper-V Support
To add on this, you need all 4 Hyper-V functionalities.
Lastly, you need to ensure it's enabled on you BIOS/UEFI.