Cannot install .net 3.5 as feature on Windows Server 2012 R2

We are failing from multiple methods to get this installed. We've used the Server Manager, PowerShell and DSIM from an elevated command prompt.

We have the 2012R2 ISO mounted as X: and an alternative path as X:\Sources\sxs

Here are the command lines we've used without success:

C:\>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:X:\sources\sxs

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Enabling feature(s)
[===========================66.2%======                    ]

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

Powershell:
PS C:\> Install-WindowsFeature NET-Framework-Core –Source X:\Sources\sxs
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 NET-Framework-Core –Source X:\Sources\sxs
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
    Exception
    + FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.AddWindowsF
   eatureCommand

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
False   No             Failed         {}
dism.zip
George R. KasicaLead Systems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SeanSystem EngineerCommented:
0
Cliff GaliherCommented:
Does the machine have unblocked internet access and do you use patch management software?
0
Pete LongTechnical ConsultantCommented:
0
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

George R. KasicaLead Systems AdministratorAuthor Commented:
Just ran it as admin....no help. NDPFixit-KB3005628-X64.exe

PS C:\> Install-WindowsFeature NET-Framework-Core –Source X:\Sources\sxs
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 NET-Framework-Core –Source X:\Sources\sxs
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
    Exception
    + FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.AddWindowsF
   eatureCommand

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
False   No             Failed         {}
0
George R. KasicaLead Systems AdministratorAuthor Commented:
Server has unrestricted access to Internet and can run Windows Update though we use KACE to monthly push updates.
0
George R. KasicaLead Systems AdministratorAuthor Commented:
Pete:

Went through your items also and no joy.

C:\Users\gkasica\Downloads>dism /online /enable-feature /featurename:NetFx3 /ALL /Source:C:\sxs /LimitAccess

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Enabling feature(s)
[===========================66.2%======                    ]

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

C:\Users\gkasica\Downloads>
0
RaminTechnical AdvisorCommented:
Download this cab file:
http://www.mediafire.com/file/gaflwfg9tth889o/microsoft-windows-netfx3-ondemand-package.cab

Copy it to C:\
Open a command prompt as Administrator.

Copy below line and paste it to Command prompt.
Dism.exe /Online /Enable-Feature /FeatureName:NetFX3 /source:C:\ /LimitAccess
Hit Enter.

If none of above suggestions worked then Reset / Reinstall Windows,  then enable.net 3.5 before installing any updates.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnBusiness Consultant (Owner)Commented:
Run the .NETFX Setup Verifier for all .NET that it finds and see if it can repair what is there.

http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

Download the .NET tool, install it and run it.
0
Shaun VermaakTechnical Specialist/DeveloperCommented:
For the DISM command, you need to point it to a valid source such as an installation disk
0
George R. KasicaLead Systems AdministratorAuthor Commented:
Shaun. Both of those location X:\sources\sxs and C:\sxs are the side by side files from the install disk, X is that actual ISO we just copied to C to speed things up.
0
JohnBusiness Consultant (Owner)Commented:
Did you try .NET FX verifier?
0
Shaun VermaakTechnical Specialist/DeveloperCommented:
Did you copy correct disk?
0
George R. KasicaLead Systems AdministratorAuthor Commented:
Ramin: Ran your suggestion and it appeared to work however the following was the output:

C:\>Dism.exe /Online /Enable-Feature /FeatureName:NetFX3 /source:C:\ /LimitAcces
s

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Enabling feature(s)
[==========================100.0%==========================]

Error: 50

The operation is complete but NetFx3 feature was not enabled.
A required parent feature may not be enabled. You can use the /enable-feature /a
ll option to automatically enable each parent feature from the following list. I
f the parent feature(s) are already enabled, refer to the log file for further d
iagnostics.
NetFx3ServerFeatures
dism.zip
0
George R. KasicaLead Systems AdministratorAuthor Commented:
John:

Yes we ran the verifier and the Fix tools. Fix said it couldn't fix it and shipped a bunch of logs to Microsoft....probably useless as it didn't allow is to add any contact info...attached below.
Verify-net-3.5.zip
netfix-logs.zip
0
George R. KasicaLead Systems AdministratorAuthor Commented:
Shaun - yes we have the 2012R2 install iso: IR5_SSS_X64FREV_EN-US_DV9
0
JohnBusiness Consultant (Owner)Commented:
Maybe also try running SFC.    Open cmd.exe with Run as Administrator and run SFC /SCANNOW.  Allow to complete and then (at a convenient moment) restart the server and test.

If DISM did not correct, if all the other things did not correct, and if SFC does not correct, you may need to try a Repair Install on the server.
0
George R. KasicaLead Systems AdministratorAuthor Commented:
Rebuilt server in order suggested
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET35

From novice to tech pro — start learning today.