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


This problem occurs when you try to install the Microsoft .NET Framework 3.5 on a computer that is running Windows 10, Windows Server 2016, Windows Server version 1709, Windows 8.1, Windows Server 2012 R2, Windows 8 or Windows Server 2012.

Note Installation of the Microsoft .Net framework may throw errors that are not listed in this article, but you might be able to try the following steps to fix those errors as well.

Resolutions for Windows 8.1, Windows Server 2012 R2, Windows 8 or Windows Server 2012


Error code 0x800F0906
This error code occurs because the computer cannot download the required files from Windows Update.

Method 1: Check your internet connection

This behavior can be caused by network, proxy, or firewall configurations or by network, proxy, or firewall failures. To fix this problem, try to connect to the Microsoft Update website.

If you cannot access this website, check your Internet connection, or contact the network administrator to determine whether there is a configuration that blocks access to the website.

Method 2: Configure the Group Policy setting

This behavior can also be caused by a system administrator who configures the computer to use Windows Server Update Services (WSUS) instead of the Microsoft Windows Update server for servicing. In this case, contact your system administrator and request that they enable the Specify settings for optional component installation and component repair Group Policy setting and configure the Alternate source file path value or select the Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) option.

To configure the Group Policy setting, follow these steps:

  1. Start the Local Group Policy Editor or Group Policy Management Console.

    Windows 8 and Windows Server 2012: Point to the upper-right corner of the screen, click Search, type group policy, click Settings, and then click Edit group policy.
    Start Group Policy in Windows 8


    Windows 8.1 and Windows Server 2012 R2: Point to the upper-right corner of the screen, click Search, type group policy, and then click Edit group policy.
    Open group policy in Windows 8.1
  2. Expand Computer Configuration, expand Administrative Templates, and then select System. The screen shot for this step is listed below.
    The screen shot for this step
  3. Open the Specify settings for optional component installation and component repair Group Policy setting, and then select Enabled. The screen shot for this step is listed below.
    The screen shot for this step
  4. If you want to specify an alternative source file, in the Alternate source file path box, specify a fully qualified path of a shared folder that contains the contents of the \sources\sxs folder from the installation media.
    Example of a shared folder path: \\server_name\share\Win8sxs
    Or, specify a WIM file. To specify a WIM file as an alternative source file location, add the prefix WIM: to the path, and then add the index of the image that you want to use in the WIM file as a suffix.
    Example of a WIM file path: WIM:\\server_name\share\install.wim:3
    Note In this example, 3 represents the index of the image in which the feature files are found.
  5. If it is applicable to do this, select the Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) check box.
  6. Tap or click OK.
  7. At an elevated command prompt, type the following command, and then press Enter to apply the policy immediately:
    gpupdate /force

Method 3: Use Windows installation media

You can use the Windows installation media as the file source when you enable the .NET Framework 3.5 feature. To do this, follow these steps:
  1. Insert the Windows installation media.
  2. At an elevated command prompt, run the following command:
    Dism /online /enable-feature /featurename:NetFx3 /All /Source:<drive>:\sources\sxs /LimitAccess
    Note In this command, <drive> is a placeholder for the drive letter for the DVD drive or for the Windows 8 installation media. For example, you run the following command:
    Dism /online /enable-feature /featurename:NetFx3 /All /Source:D:\sources\sxs /LimitAccess

Method 4: Alternative steps for Windows Server 2012 and for Windows Server 2012 R2

In Windows Server 2012 and Windows Server 2012 R2, you can also specify an alternative source by using Windows PowerShell cmdlts or by using the Add Roles and Features Wizard.

To use Windows PowerShell, follow these steps:

  1. Insert the Windows installation media.
  2. In an elevated Windows PowerShell command window, run the following command:
    Install-WindowsFeature name NET-Framework-Core source <drive>:\sources\sxs
    Note In this command, <drive> is a placeholder for the drive letter for the DVD drive or for the Windows installation media. For example, you run the following command:
    Install-WindowsFeature name NET-Framework-Core source D:\sources\sxs
To use the Add Roles and Features Wizard, follow these steps:
  1. Insert the Windows installation media.
  2. Start the Add Roles and Features Wizard.
  3. On the Select features page, select the .Net Framework 3.5 Features check box, and then click Next.
  4. On the Confirm installation selections page, click the Specify an alternate source path link. The screen shot for this step is listed below.

    The
  5. On the Specify Alternate Source Path page, type the path of the SxS folder as a local path or as a network share path. The screen shot for this step is listed below.

    The
  6. Click OK.
  7. Click Install to finish the wizard.
Error code 0x800F081F
This error code can occur when an alternative installation source is specified and one of the following conditions is true:
  • The location that is specified by the path does not contain the files that are required to install the feature.
  • The user who tries to install the feature does not have at least READ access to the location and to the files.
  • The set of installation files is corrupted, incomplete, or invalid for the version of Windows that you are running.
To fix this problem, make sure that the full path of the source is correct (x:\sources\sxs) and that you have at least Read access to the location. To do this, try to access the source directly from the affected computer. Verify that the installation source contains a valid and complete set of files. If the problem persists, try to use a different installation source.
Error code 0x800F0907
This error code occurs if an alternative installation source is not specified or is invalid and if the Specify settings for optional component installation and component repair Group Policy setting is configured to "Never attempt to download payload from Windows Update."

To fix this problem, review the policy setting to determine whether it is appropriate for your environment. If you do not want to download feature payloads from Windows Update, consider configuring the "Alternate source file path" value in the Group policy setting.

Note You must be a member of the Administrators group to change Group Policy settings on the local computer. If the Group Policy settings for the computer that you want to manage are controlled at the domain level, contact your system administrator.

To do this, follow these steps:

  1. Start Local Group Policy Editor or Group Policy Management Console as applicable in your environment.
  2. Expand Computer Configuration, expand Administrative Templates, and then select System.
  3. Open the Specify settings for optional component installation and component repair Group Policy setting, and then select Enabled.
  4. Determine whether the Never attempt to download payload from Windows Update Group Policy setting is enabled, and then determine the desired setting for your environment.
  5. If you want to specify an alternate source file, in the Alternate source file path box, specify a fully qualified path of a shared folder that contains the contents of the \sources\sxs folder from the installation media. Or, specify a WIM file. To specify a WIM file as an alternative source file location, add the prefix WIM: to the path, and then add the index of the image that you want to use in the WIM file as a suffix. The following are examples of values that you can specify:
    • Path of a shared folder: \\server_name\share\Win8sxs
    • Path of a WIM file, in which 3 represents the index of the image in which the feature files are found: WIM: \\server_name\share\install.wim:3
  6. If you want, select the Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) check box.
  7. Tap or click OK.
  8. At an elevated command prompt, type the following command, and then press Enter to apply the policy immediately:
    gpupdate /force

Resolution for Windows 10


Error code 0x800F0906, 0x800F081F, or 0x800F0907

To fix the error codes for Windows 10, follow these steps:
  1. Download the Windows Media Creation tool, and create an ISO image locally, or create an image for the version of Windows that you have installed.
  2. Configure the Group Policy as in Method 2, but also follow these steps:
    1. Mount the ISO image that's created in step 1.
    2. Point the "Alternate source file path" to the ISO sources\sxs folder from the ISO.
    3. Run the gpupdate /force command.
    4. Add the .Net framework feature.
Error code 0x800F0922

The following error message occurs when you do Windows 10 upgrade:

0x800F0922 CBS_E_INSTALLERS_FAILED: Processing advanced installers and generic commands failed.

Note This error code is not specific to .NET Framework.

To fix this issue, follow these steps:
  1. Open the .NET Framework installation files folder.
  2. Open Sources folder
  3. Right-click the SXS folder, and then click Properties.
  4. Click Security and make sure that there is a check mark next to Read & Execute. If the check mark isnt there, click the Edit button and turn it on.
  5. Press Windows Key + X
  6. Click Command Prompt (Admin)
  7. In the Command Prompt window, type the following command and press Enter:
    dism /online /enable-feature /featurename:netfx3 /all /source:c:\sxs /limitaccess
  8. In the Command Prompt window, type the following command and press Enter:
    dism /online /Cleanup-Image /RestoreHealth

More Information


These errors may occur when you use an installation wizard, the Deployment Image Servicing and Management (DISM) tool, or Windows PowerShell commands to enable the .NET Framework 3.5.

In Windows 10, Windows 8.1, Windows 8, Windows Server 2012 R2, and Windows Server 2012, the .Net Framework 3.5 is a Feature on Demand. The metadata for Features on Demand is included. However, the binaries and other files associated with the feature are not included. When you enable a feature, Windows tries to contact Windows Update to download the missing information to install the feature. The network configuration and how computers are configured to install updates in the environment can affect this process. Therefore, you may encounter errors when you first install these features.

Post a Comment

2 Comments