none
.net framework 3.5 installation fails

    Question


  • I used the below command to install .net framework 3.5 on WS2012 R2. The source points to the correct sxs locaton from the ws2012 r2 source DVD.

    Install-WindowsFeature NET-Framework-Core –Source \\192.168.99.5\WS2012r2sxs\sxs

    When I ran this command on a WS12 R2 physical machine which was not joined to any domain, the command ran fine and did the needful.

    Today when I ran the command on a Hyper_V VM (2012 R2 guest), which was joined to a domain, the command kept failing

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




    The error thrown is pretty clear but when I copy the files from the network share to a local drive, the command completed successfully. Which means there was no issue with the network and network was functioning fine. The machine which I am pointing to is in the same subnet with virtually no latency.

    My question is, does this command (with sxs source pointing to a network share) fail when I try to install .net framework 3.5 on machine which is joined to the domain? Is this a known behaviour?
    I have written some scripts to automate few tasks, hence my question. If it does keep causing an issue, I may have to change the scripts a bit.

    Thanks

    • Edited by Arvind PR Sunday, April 27, 2014 4:00 AM
    Friday, April 25, 2014 6:20 PM

Answers

  • Hi,

    >>My question is, does this command (with sxs source pointing to a network share) fail when I try to install .net framework 3.5 on machine which is joined to the domain?

    No, I don’t think so.

    >>Today when I ran the command on a Hyper_V VM (2012 R2 guest), which was joined to a domain, the command kept failing

    Is the server a server core or full-installation server? According to the following article:
    For a Windows Server® 2012 core installation that is not connected to the Internet, you can use Windows PowerShell to add .NET Framework 3.5 and provide access to the \sources\sxs folder on the installation media.

    Enable .NET Framework 3.5 by using Windows PowerShell

    http://technet.microsoft.com/en-us/library/dn482068.aspx

    Besides, the following article provides some information about .NET Framework 3.5 installation error 0x800F0906 and can be referred to for more information.

    .NET Framework 3.5 installation error: 0x800F0906, 0x800F081F, 0x800F0907

    http://support.microsoft.com/kb/2734782/en-us

    Best regards,

    Frank Shen

    • Marked as answer by Arvind PR Monday, May 05, 2014 10:48 AM
    Monday, April 28, 2014 12:24 PM
    Moderator

All replies

  • Hi,

    >>My question is, does this command (with sxs source pointing to a network share) fail when I try to install .net framework 3.5 on machine which is joined to the domain?

    No, I don’t think so.

    >>Today when I ran the command on a Hyper_V VM (2012 R2 guest), which was joined to a domain, the command kept failing

    Is the server a server core or full-installation server? According to the following article:
    For a Windows Server® 2012 core installation that is not connected to the Internet, you can use Windows PowerShell to add .NET Framework 3.5 and provide access to the \sources\sxs folder on the installation media.

    Enable .NET Framework 3.5 by using Windows PowerShell

    http://technet.microsoft.com/en-us/library/dn482068.aspx

    Besides, the following article provides some information about .NET Framework 3.5 installation error 0x800F0906 and can be referred to for more information.

    .NET Framework 3.5 installation error: 0x800F0906, 0x800F081F, 0x800F0907

    http://support.microsoft.com/kb/2734782/en-us

    Best regards,

    Frank Shen

    • Marked as answer by Arvind PR Monday, May 05, 2014 10:48 AM
    Monday, April 28, 2014 12:24 PM
    Moderator
  • Thank you
    Monday, May 05, 2014 10:48 AM