Solveme.net

You receive Error 0x800f0906: “Windows couldn't connect to the Internet to download necessary files. Make sure that you're connected to the Internet, and click Retry to try again.” during install or add the Microsoft .NET Framework 3.5 feature on a computer that is running Windows 8.1, Windows Server 2012 R2, Windows 8 or Windows Server 2012.

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

Solution

This behavior can be caused by network, proxy, or firewall configurations or by network, proxy, or firewall failures. To resolve this problem, try to connect to the Microsoft Update website - http://update.microsoft.com/.

If you cannot access this page, Then check your internet connection or firewall/proxy setting which cause the access and download files from microsoft site.

Step 1 :- Try again by restarting BITS and DNS client service - How to restart BITS see http://networkingstudy.net/forums/index.php?topic=906.0

If nothing happens, Try to disable/stop firewall service. If still you are facing problem go to Next Step

Step 2 :- May configure the windows update from WSUS (Windows Software Update Service) by group policy. In that case you have to additional

Group Policy configuration for “Optional component installation and component repairon domain controller.

If you are using standalone Windows without domain or not configure windows update via WSUS Skip this step.

  • Open Group Policy Management Console from Administrative Tools or Run - gpmc.msc

  • Edit wsus group policy

  • Go to - Computer Configuration | Administrative Template | System | Double click on Specify settings for optional component installation and component repair, Select Enable.

  • 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

  • Now run the gpupdate /force on server and client machine.

Step 3 :- Install or Add Microsoft .Net 3.5 features in Windows 8 by offline or Using 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. Open Command Prompt by Run as Administrator, Help- How to run command as administrator

  3. Type - 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

  • During running the command, If you get the error code - 0x800F0907, That means you don’t have a correct files in media, try to by using other/change source files or media.

Step 4 :- This step is only for server 2012 / 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. Open Power Shall by Run as Administrator

  3. Type - Install-WindowsFeature –name NET-Framework-Core –source <drive>:\sources\sxs

Example - 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.

  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.

  6. Click Ok and Click Install