The following feature couldn't be installed:
.NET Framework 3.5 (includes .NET 2.0 and 3.0)
For .NET Framework 3.5, sometimes it will not install with
the GUI and a message will be displayed.
or
To install it via PowerShell:
DISM /Online
/NoRestart /Enable-Feature /FeatureName:NetFx3ServerFeatures
/Source:D:\sources\sxs
DISM /Online
/NoRestart /Enable-Feature /FeatureName:NetFx3 /Source:D:\sources\sxs
You may get an error after the first command, but the second
command will fix that. D: is your DVD Drive, change that if it’s mounted
elsewhere.