Cannot enable Windows Features (like .NET 3.5 and Subsystem for Linux) through PowerShell or Control Panel

1

I can’t enable Windows features through the Control Panel, features on demand, downloading them online, or through the Command Line or PowerShell. It fails with error code 0x80070002. I think it can’t find the files and I tried running a command to restore system files but after searching multiple sites I can’t fix it. I can provide any more information you need, I just need help activating these features. I have another computer which works fine so if I need to copy files over I can do that if you can tell me which ones. Thanks!

Edit: Thanks for the feedback . I will clarify some things. First, my Windows information is: Windows 10 Enterprise, Version 1803, OS build 17134.472. Next, I tried to turn both .NET 3.5 and Subsystem for Linux on through Windows Features and it still failed with error code 0x80070002. As for the command I ran, it was sfc /scannow

windows-10
powershell
.net-framework
.net-3.5
asked on Super User Jan 4, 2019 by potatohotdog • edited Jan 5, 2019 by potatohotdog

1 Answer

0

Its because those are not in the Control Panel. they're in Windows Features and the install has changed for WSL a bit.

Just hit the Windows key and type Windows Features to get to them.

Windows Subsystem for Linux Installation Guide for Windows 10

https://docs.microsoft.com/en-us/windows/wsl/install-win10

answered on Super User Jan 4, 2019 by postanote

User contributions licensed under CC BY-SA 3.0