how to enable enable Windows Subsystem for Linux code example
Example: The Windows Subsystem for Linux optional component is not enabled.
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart