Wednesday, 7 August 2013

Error while trying to install the .NET Framework 3.5 in Windows 8 and in Windows Server 2012

Error code when trying to install the Microsoft .NET Framework 3.5 on a computer that is running Windows 8 or Windows Server 2012.

Error ode:0x800F0906

Resolution for above error code:-
To configure the Group Policy setting, follow these steps:
  1. Start the Local Group Policy Editor or Group Policy Management Console.
  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. 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. 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:
    1. Path of a shared folder: \\server_name\share\Win8sxs
    2. 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
  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