- Open Powershell as Administrator
- Run the following script:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Restart your computer for changes to take effect
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux