50

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.

76

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
  • Perfect, worked immediately. – brettdj Jan 25 '16 at 3:21
  • 10
    I was stumped when this was failing as well but then found out I had a group policy blocking me from enabling windows features. gpedit.msc >> Computer Configuration >> Administrative Templates >> System >> Specify settings for optional component installation and component repair. Set to Enabled and check Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) - source: askvg.com/… – StrikeForceZero Feb 9 '16 at 18:19
  • 1
    What if I have no windows 10 DVD with me. Can we download it from some location and point it to that location? – Kurkula May 27 '16 at 22:32
  • @Chandana you can download the ISO from Microsoft: microsoft.com/en-us/software-download/techbench – magicandre1981 May 28 '16 at 7:22
  • 1
    For me, only the last command DISM.EXE /Online /Add-Package /PackagePath:C:\Features\Microsoft-Windows-NetFx3-OnDemand-Package.cab worked. It is crucial that the cabinet file resides at a location considered "safe" by Windows. Installing from a USB thumb drive might lead to error 800F0950. I ended up copying the file to C: as shown in the example provided. – Hermann Jan 15 '18 at 14:40
1

Windows Side by Side (WinSxS) location is probably empty in the registry.

From the GUI called from APPWIZ.CPL this results in error code: 0x800F081F

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Servicing]
"LocalSourcePath"="d:\\sources\\sxs"

Check/add the subkey 'Servicing', and the value of 'LocalSourcePath'. It should contain a correct string (e.g. 'd:\sources\sxs'), data type (REG_SZ). Where "d:" represents your Windows media drive letter.

  • All other suggestions here never worked, but this has on 4 PCs for me now. Thanks very much! – neildeadman Mar 13 '18 at 14:30
0

I was stumped when this was failing as well but then found out I had a group policy blocking me from enabling windows features. gpedit.msc >> Computer Configuration >> Administrative Templates >> System >> Specify settings for optional component installation and component repair. Set to Enabled and check Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) - source:https://www.askvg.com/fix-cant-install-microsoft-net-framework-3-5-in-windows-8-and-later/

From strikeforcezero comment

-3

Try: https://www.youtube.com/watch?v=fdfvJCAN0Mw

Preparation: Windows 10 DVD, ISO image or your bootable flash drive with Windows 10

Directions:

  1. Insert your Windows 10 DVD, or double click its ISO image, or insert your bootable flash drive with Windows 10, depending on what you have.

  2. Open 'This PC' in File Explorer and note the drive letter of the installation media you have inserted. In my case it is disk I:

  3. Open CMD with administrative privileges and type the following command: Dism /online /enable-feature /featurename:NetFx3 /All /Source:X:\sources\sxs /LimitAccess

Replace X with your drive letter for Windows 10 installation media.

It takes 20 minutes to complete.

protected by Community Oct 16 '15 at 8:57

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.