Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, February 13, 2018 6:16 AM
I tried enable it through control panel but it disable on restart.
Then I try enable it through PowerShell with
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
but it saidEnable-WindowsOptionalFeature : One or several parent features are disabled so current feature can not be enabled.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommandMy laptop is Lenovo Legion Y520Windows 10 Home Single Language Version 1709 Build 16299.192Thank you in advance.
All replies (2)
Wednesday, February 14, 2018 4:47 AM âś…Answered
Hi,
Try performing a repair upgrade.
To install bash, open a Command Prompt (Administrator) > type lxrun /install > hit Enter.
Note: The command will ask for a username and password for the user account in the Bash environment.
You may also skip the account setup during the installation of bash, open a Command Prompt (Administrator) > type lxrun /install /y > hit Enter.
Note: The root account will be the default user account without a password.
Best Regards,
Tao
Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, March 7, 2018 4:12 PM
Thank you very much
I got it fixed some time ago and forgot about this thread.
In my case, some windows updates are failed and manual installation fixed it.
But still, much thank you.