George R. Kasica
asked on
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_Downloa d_Failure, Microsoft. Windows.Se rverManage r.Commands .AddWindow sF
eatureCommand
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False No Failed {}
dism.zip
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)
[=========================
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.
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}:
Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Cbs_Downloa
eatureCommand
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False No Failed {}
dism.zip
Does the machine have unblocked internet access and do you use patch management software?
ASKER
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_Downloa d_Failure, Microsoft. Windows.Se rverManage r.Commands .AddWindow sF
eatureCommand
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False No Failed {}
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}:
Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Cbs_Downloa
eatureCommand
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False No Failed {}
ASKER
Server has unrestricted access to Internet and can run Windows Update though we use KACE to monthly push updates.
ASKER
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 >
Went through your items also and no joy.
C:\Users\gkasica\Downloads
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Enabling feature(s)
[=========================
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.
C:\Users\gkasica\Downloads
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
Download the .NET tool, install it and run it.
For the DISM command, you need to point it to a valid source such as an installation disk
ASKER
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.
Did you try .NET FX verifier?
Did you copy correct disk?
ASKER
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
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)
[=========================
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
ASKER
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
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
ASKER
Shaun - yes we have the 2012R2 install iso: IR5_SSS_X64FREV_EN-US_DV9
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.
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.
ASKER
Rebuilt server in order suggested
You may download it here:
https://support.microsoft.com/en-us/help/3005628/update-for-the--net-framework-3-5-on-windows-8--windows-8-1--windows-s