I am installing an Windows 2012R2 Server. The Windows is Lenovo OEM. I am going to install .Net Framework 3.5 feature, which is not preinstalled by Windows. I used server manager, and receiving following error:
The request to add or remove features on the specified server failed.
Installation of one or more roles, role services or features failed.
The source file could not be found.
Error: 0x800f081f
==========================
=========
I follow KB and try the patch from
https://support.microsoft.com/en-us/kb/3002547, it doesn't work. Because update KB2966827 and KB2966828 are not in the update list.
Try DISM using Admin rights,
C:\Windows\system32>dism /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:D:\sources\sxs\ /LimitAccess
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Enabling feature(s)
[=========================
==66.5%===
=== ]
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
==========================
=======
I tried PowerShell
Install-WindowsFeature : The request to add or remove features on the
specified server failed.
Installation of one or more roles, role services, or features failed.
The source files could not be downloaded.
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. Error: 0x800f0906
At line:1 char:1
+ Install-WindowsFeature -name NET-Framework-Core -source "D:\sources\sxs\"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localh
ost}:PSObject) [Install-WindowsFeature], Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Cbs_Downloa
d_Failure,
Microsoft.
Wi
ndows.ServerManager.Comman
ds.AddWind
owsFeature
Command
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False No Failed {}