Avatar of David_zu
David_zu
 asked on

Failed to install .Net Framework 3.5 in Windows 2012 R2

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_Download_Failure,Microsoft.Wi
   ndows.ServerManager.Commands.AddWindowsFeatureCommand

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
False   No             Failed         {}
Windows Server 2012Windows OSWindows Server 2008

Avatar of undefined
Last Comment
David_zu

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Kimputer

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
David_zu

ASKER
Still having error. I upload the dism log file.
dism.log
SOLUTION
Kimputer

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
David_zu

ASKER
Yes sure. The file is copied from original iso image. This image is used to install the existing sever. It is from Lenovo OEM.
SOLUTION
*** Hopeleonie ***

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
David_zu

ASKER
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.

I am not sure whether https://support.microsoft.com/en-us/kb/2734782 helps me. I am pretty sure the ISO image I am using is the correct one. I used this ISO to install the existing Windows.

Is there any possibility that security update 2966827 or 2966828 are preinstalled or integrated in the Windows image provided by OEM vendor? But I cannot see this two updates in the list.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
David_zu

ASKER
I find something interesting from CBS log. It tells me ACCESSDENIED message while I am using Administrator account and have full access to every directory. Any one has idea?
CBS-1603071631.log