---------
enable virtualization in bios (my BIOS doesn't even have that option, but the PC still supports WSL)
In Windows features, enable:
- hyper-v
- virtualization
- windows subsystem linux
- hyper-v manager
If hv manager not available, use PowerShell to enable Hyper-V in Windows 11 Pro, Edu, and Enterprise edition of the operating system:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
if error, save and run this
hyperv.bat
----------------
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
pause
------------------
On Windows Server, open Server Manager > Manage > Add roles and features. Move to the Features page and expand Remote server administration tools > Role administration tools > Hyper-V management tools.
------------
cmd:
wsl --set-default-version 2
can now run hyper-v manager, if desired.
----------
stop hyper-v from auto launching on start
cmd
bcdedit /set hypervisorlaunchtype off
-----------
Download and install the Linux kernel update package.
https://docs.microsoft.com/windows/wsl/wsl2-kernel--------
Download Docker Desktop for Windows.
https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe