Search code examples
.netwindowswindows-8.1failed-installation

.NET framework error x800f081f


I have Windows 8.1 64-bit installed on my PC and when i install .net 3.5 it's showing this error

    Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required t
o restore the feature. For more information on specifying a source location, see
 http://go.microsoft.com/fwlink/?LinkId=243077.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

I have found various solutions online which tells me to uninstall some updates but I don't have any of these updates installed on my system.

PS: Files are not corrupted as I have checked it by installing .net on another system.


Solution

  • You need to point it to the Sources\sxs folder on the installation media. Powershell example from another question:

    Enable-WindowsOptionalFeature -online -FeatureName NetFx3 -Source e:\Sources\sxs

    In the last command -Source e:\Sources\sxs is only required if the feature needs to reference the installation media for source files (usually to fix Error: 0x800f081f The source files could not be found). The .NET Framework version 3.5 seems to be the only feature that requires that for the client OS, but there are many others on the Server OS that require referencing the installation media for sources.