• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1072
  • Last Modified:

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
0
George R. Kasica
Asked:
George R. Kasica
  • 8
  • 3
  • 2
  • +4
1 Solution
 
SeanSystem EngineerCommented:
0
 
Cliff GaliherCommented:
Does the machine have unblocked internet access and do you use patch management software?
0
 
Pete LongTechnical ConsultantCommented:
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
George R. KasicaSr. 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. KasicaSr. 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. KasicaSr. 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
 
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. KasicaSr. 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. KasicaSr. 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. KasicaSr. 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. KasicaSr. 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. KasicaSr. Systems AdministratorAuthor Commented:
Rebuilt server in order suggested
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 8
  • 3
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now