Install Windows Subsystem for Linux
You can install the Windows Subsystem for Linux by issuing the command:
wsl --install
This should also activate, download, and install all Windows features that WSL depends on and requires for operation, and you will need to restart your PC at the end.
Once your PC is ready again, open the Microsoft Store and install “Ubuntu 24.04 ( LTS)” from it. I seem to recall that this version includes some features that the “command line installation” does not.
At the end of the installation, you will need to set your username and password. These can differ from your Windows login credentials.