Situatie
This article helps fix Microsoft .NET Framework 3.5 installation errors.
Original product version: Windows 10 – all editions, Windows Server 2019, Windows Server 2012 R2
Original KB number: 2734782
Solutie
Error code 0x800F0906
- This error code occurs because the computer cannot download the required files from Windows Update.
- To resolve this issue, use one of the following methods:
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 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:
- Start the Local Group Policy Editor or Group Policy Management Console.Point to the upper-right corner of the screen, click Search, type group policy, and then click Edit group policy.
- Expand Computer Configuration, expand Administrative Templates, and then select System. The screenshot for this step is listed below.
- Open the Specify settings for optional component installation and component repair Group Policy setting, and then select Enabled. The screenshot for this step is listed below.
- 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. - 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.
- Tap or click OK.
- At an elevated command prompt, type
gpupdate/force
, and then press Enter to apply the policy immediately.
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:
- Insert the Windows installation media.
- At an elevated command prompt, run the following command:
Console
Dism /online /enable-feature /featurename:NetFx3 /All /Source:<drive>:\sources\sxs /LimitAccess
In this command, <drive> is a placeholder for the drive letter for the DVD drive. 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
In Windows Server 2012 R2, you can also specify an alternative source by using Windows PowerShell cmdlets or by using the Add Roles and Features Wizard.
To use Windows PowerShell, follow these steps:
- Insert the Windows installation media.
- In an elevated Windows PowerShell command window, run the following command:
PowerShell
Install-WindowsFeature name NET-Framework-Core source <drive>:\sources\sxs
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:
- Insert the Windows installation media.
- Start the Add Roles and Features Wizard.
- On the Select features page, select the .NET Framework 3.5 Features check box, and then click Next.
- On the Confirm installation selections page, click the Specify an alternate source path link. The screenshot for this step is listed below.
- 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 screenshot for this step is listed below.
- Click OK.
- 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:
- Start Local Group Policy Editor or Group Policy Management Console as applicable in your environment.
- Expand Computer Configuration, expand Administrative Templates, and then select System.
- Open the Specify settings for optional component installation and component repair Group Policy setting, and then select Enabled.
- 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.
- 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
- Path of a shared folder:
- If you want, select the Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) check box.
- Tap or click OK.
- At an elevated command prompt, type the
gpupdate/force
, and then press Enter to apply the policy immediately.
Resolution for Windows 10
- Error code 0x800F0906, 0x800F081F, or 0x800F0907To fix the error codes for Windows 10, follow these steps:
- 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.
- Configure the Group Policy and also follow these steps:
- Mount the ISO image that’s created in step 1.
- Point the Alternate source file path to the ISO
sources\sxs
folder from the ISO. - Run the
gpupdate/force
command. - Add the .NET Framework feature.
- Error code 0x800F0922The 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:
- Open the .NET Framework installation files folder.
- Open Sources folder
- Right-click the SXS folder, and then click Properties.
- Click Security and make sure that there is a check mark next to Read & Execute. If the check mark isn’t there, click the Edit button and turn it on.
- Press Windows Key + X keyboard shortcut.
- Click Command Prompt (Admin).
- In the Command Prompt window, type the following command and press Enter:
-
dism /online /enable-feature /featurename:netfx3 /all /source:c:\sxs /limitaccess
- In the Command Prompt window, type the following command and press Enter:
dism /online /Cleanup-Image /RestoreHealth
Leave A Comment?