To enable WSL 2, Open the Windows Features window by navigating to Control Panel | Programs | Turn Windows feature on or off. Ensure that the Virtual Machine Platform and Windows Subsystem for Linux features are selected. After clicking on the OK button, Windows will enable WSL 2.