When you try to install .NET Framework in Windows Server 2008/R2, Windows Server 2012/R2 or even in Windows 8/8.1/10 and you get errors and cannot install it, you can try the technique of the “Alternate source file path“.
Here’s what you can try.
Click on Start -> Run and enter: gpedit.msc
The above will open Local Group Policy Editor:
Then navigate to “Administrative Templates” -> “System” and double click on the entry “Specify settings for optional component installation and component repair“:
If the above entry is disabled, you can enable it and specify below in “Options” the “Alternate source file path” which is actually the location that has .NET framework available, for example, if drive E: has the Windows media mounted (ISO, etc.) you can try specifying as “Alternate source file path” the following path: E:\sources\sxs
You then click on “Apply” and “OK” and that’s it! You can now try adding .NET Framework 3.5 from the “Turn Windows features on or off” functionality in Windows. Remember when you start this process, to select to specify the alternate source file path in order for Windows to search in that path for the required .NET Framework installation files.
After you finish the installation of .NET Framework, if you like, then you can again disable the local group policy entry “Specify settings for optional component installation and component repair”.
Learn more about interesting technology topics on our eBook: “Tech How To’s Vol. 1“
Reference: TechHowTos.com (http://www.techhowtos.com)
Rate this article:
Recommended eBooks on SQL Server: