Can’t Install .NET 3.5 on Windows 10 – Solution

.net-3.5windows 10

When I try to install .net 3.5 I get the follwing message:

The following feature couldn't be installed:

.NET Framework 3.5
(includes .NET 2.0 and 3.0)

Error code: 0x800F081F

I tried with a standalone package and through Windows Features.

Update: Internet connection is fine.

Best Answer

Please open a command prompt (cmd.exe) as admin and run the following command to install .Net 3.5:

DISM /Online /Enable-Feature /FeatureName:NetFx3 /Source:d:\sources\sxs /All /LimitAccess 

(replace D: with your mounted Win10 ISO)

In some environment, DISM fails to fetch the file (Proxy, network policies). The DISM command takes the files from the DVD and you're fine.

If you are MSDN subscriber you can also download the Windows 10 Features on Demand ISO, mount the ISO, copy the Microsoft-Windows-NetFx3-OnDemand-Package.cab to C:\Features (or a different folder) and those commands:

DISM.EXE /Online /Add-Capability /CapabilityName:NetFx3~~~~ /Source:C:\Features

If this fails, run this:

DISM.EXE /Online /Add-Package /PackagePath:C:\Features\Microsoft-Windows-NetFx3-OnDemand-Package.cab
Related Question