If you try to install .NET Framework 3.5 on Windows 8.1 and download method fails, Microsoft suggest an Offline installation method (http://support.microsoft.com/kb/2785188) by entering the following command at an elevated command prompt.
Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:E:\sources\sxs /LimitAccess
Unfortunately, this may fail with the following output.
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Enabling feature(s)
[===========================65.8%====== ]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to 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
There are various solutions online mostly suggesting removal of updates KB2966826 and KB2966828.
There is on other scenario not mentioned, and that is the installation of Windows Display Language Packs prior to the installation of .NET Framework 3.5.
To uninstall a Language Pack go to Control Panel Language Settings.
For every language you should see either "Windows display language: Available for download" or "Windows display language: Available" . The later one, means that the language pack is already installed and must be removed. Click Options and "Uninstall language pack" to remove it.
If those options aren't available means that language override has been enabled.
Go to Control Panel Language, click "Advanced settings" and from the drop down of "Override for Windows display language" select "Use language list (recommended)" and Save.
Now you should be able to see which languages have display language installed and be able to remove it.
Afterwards, run the command which previously failed to get the following successful installation message.
There is on other scenario not mentioned, and that is the installation of Windows Display Language Packs prior to the installation of .NET Framework 3.5.
To uninstall a Language Pack go to Control Panel Language Settings.
For every language you should see either "Windows display language: Available for download" or "Windows display language: Available" . The later one, means that the language pack is already installed and must be removed. Click Options and "Uninstall language pack" to remove it.
If those options aren't available means that language override has been enabled.
Go to Control Panel Language, click "Advanced settings" and from the drop down of "Override for Windows display language" select "Use language list (recommended)" and Save.
Now you should be able to see which languages have display language installed and be able to remove it.
Afterwards, run the command which previously failed to get the following successful installation message.
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.