Wednesday, February 13, 2019

Server 2019 - .Net 3.5 install failure

When spinning up a 2019 Server you may get a .Net 3.5 Error.

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.
Image result for install .net 3.5 on 2019 from powershell or Image result for install .net 3.5 on 2019 from powershell
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.

No comments:

Post a Comment