10/30/2020 How To Install Netfx3 In Windows Server 2012
How to install NetFx3 on Windows Server 2012R2. The required source files for the.Net Framework 3.5 are in Windows Server 2012 (R2) DVD (or in the related ISO file); on this virtual machine, the DVD device is associated to the letter “ F “. Therefore, you can specify this alternative path “ F: Sources SxS “. This article explains how to install.NET Framework 3.5 on Windows 2012. Framework 3.5 is required for certain features of SQL Server 2012 and especially. To install NetFx3 we have to open the Server Manager Tool on Windows Server 2012 (R2) and then we have to click on the Add Roles and Features item in the Manage menu If we have not already specified that we want to ignore the preliminary operations, it will show the Before you begin section of the Add Roles and Feature wizard as shown in the. Install Net 3.5 Framework on Windows Server 2012 without DVD. NetFX3 /all allows the results to be more easily viewed. Share| improve this answer. Answered Jun 17 '15 at 16:04. Gray2Hairs Gray2Hairs. Unable to Install.net framework in Windows 2012 server. SQL Server 2014 on Windows 10.
Active1 month ago
How can the answer be improved?
So I am trying to Install .net 3.5 on a windows 2012 R2 Server. I have tried via the Add Feature and via DISM both fail.
When trying via Add Features GUI I am using the “Specify Alternate Path” This fails with the error “installing of one of more roles, role services, or features failed”
When trying via an Elevated PowerShell to use DISM I am using the following command.
This fails with
Error: 0x800f0906 The source files could not be downloaded. Use the 'source' option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077
The DISM log file can be found at C:WindowsLogsDISMdism.log
I have followed the KB listed above (243077) to set the group policy location for the SXS folder. Rebooted and still the same error. The DSIM log shows the following
Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0906)
A quick google shows that a lot of people are having problems with this and that you should uninstall KB2966826 and KB2966828 this server hasn’t got either installed.
I have also tried the offline .Net installer and it says that I must add it via windows features. All commands have been run as an administrator and via an elevated prompt.
While writing this I searched noticed the 'Similar Questions' and took at look at this Unable to install .net 3.5 on Windows server 2012
Running
Produced the same error as above.
Community♦
ZaptoZapto
1,57966 gold badges2020 silver badges3939 bronze badges
10 Answers
The command I use to install .NET Framework 3.5 on Windows 8.1 and Server 2012 R2 is:
Where D: is the mounted ISO or DVD drive. The only difference from yours is the /LimitAccess, but I believe that is the important part, as it prevents it from attempting to contact Windows Update or WSUS. For whatever reason, this aspect (contacting Windows Update) is totally broken for .NET Framework 3.5 on Windows 8/8.1 and Server 2012/2012R2 and will always cause it to fail.
See also: http://blogs.technet.com/b/askcore/archive/2012/05/14/windows-8-and-net-framework-3-5.aspx
Joshua McKinnonJoshua McKinnon
1,05611 gold badge1111 silver badges2424 bronze badges
I had the same issue when I mount the Windows install disk or use the physical DVD, and here's how I fixed it:
For whatever reason, my optical drive shows the files on the disk, but the DISM doesn't like it, but copying the files to C: seems to have worked.
PeterPeter
None of the above methods worked for me.It turned out I had a WSUS server configured. The only way I could install it was
1) Regedit
2) Go to Computer->HKEY_LOCAL_MACHINE->SOFTWARE->Policies->Microsoft->Windows->WindowsUpdate
3) Made note of the values of the two keys: WUServer and WUStatusServer
4) Deleted/Renamed these keys
5) Stopped and Started WindowsUpdate
6) Added the .Net3.5 feature
7) Put the keys back and restarted WindowsUpdate.
I hope it helps
formicaformica
The solution for me was a combination of these answers. I was on a machine with Windows Server 2012 R2.
![]()
I tried working around the fact that I did not have an ISO of the OS on-hand. But could not get it to work. So I was forced to find an ISO for Windows Server 2012 R2.
1.) Start the Local Group Policy Editor or Group Policy Management Console (WIN+R and type gpedit.msc).
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.) Select the 'Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)' checkbox. Click Apply, Click Ok.
5.) Download an ISO of the OS and mount the image. I downloaded one here: https://www.technig.com/download-windows-server-2012-r2-essentials-iso-file/
*Note: it's a 3Gb file.
6.) Open an elevated Powershell and run:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:sourcessxs
*Note: the ISO was mounted to the 'E: drive' in this case.
*This thread was a life-saver. Thanks to all contributors, especially @Joshua McKinnon!
Guy Clark RimelGuy Clark Rimel
When the DISM command skips the media specified by the /Source switch and goes looking for the files online, it means that the source files in the specified media is either corrupted or not applicable to your server (version mismatch).
The error code 0x800f0906 further proves this behavior as documented by Microsoft: https://technet.microsoft.com/en-us/library/dn482067.aspx
Your best bet is to help solve this problem is to:
If all of the above fails, I highly recommend that you provide the DISM servicing logs to do any further troubleshooting, but at this stage, I would leaning more to do a full server rebuild.
Noor KhaldiNoor Khaldi
2,97211 gold badge1212 silver badges2727 bronze badges
Your DISM command isn't finding the required resources because it's checking for the source 'online'. Windows 6.2+ will (by default) check only with the update source server for component install/repair if an update source is specified for the Windows Update Service.
If you don't want to set up your update source (usually WSUS) server as the source for repairing/installing components, then you can enable the following Group Policy:
![]()
Computer Configuration Administrative Templates System
Specify settings for optional component installation and component repair
Make sure to check this option:
Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)
austinianaustinian
1,48322 gold badges1212 silver badges2727 bronze badges
Install Windows Server 2012 R2
Make sure your Sources media absolutely match your version of Windows.
I spent half a day trying to use Server 2012 ISO to install .NET35 on Server 2012 R2. Once the source is correct, DISM command (from this answer) works flawlessly.
Community♦
alex.zalex.z
I have had the exact same issue. My resolution was to remove the server from Active Directory, Install .Net 3.5, then add back to AD. I'm sure it has to do with WSUS at some layer, but that solved it for us. We just make sure we install 3.5 on all servers before adding to the domain.
Chris SatolaChris Satola
How To Install Netfx3 In Windows Server 2012 Download
I've been able to solve this by using the server manager add features wizard and there specifying an alternate source there.
Got this info from http://www.danielclasson.com/install-net-framework-35-server-2012/
Option 1 did not work for me either, option 2 completed successfully.
MickeybyteMickeybyte
There's lots of stuff on the internet on this and most of it was summarized in the answers here. We tried it all and none of it worked. Even when pointing at various copies of the sxs folder, it still would get a variation of the 'source files not found' error.
I finally pointed it at a share of the the winsxs folder on another fully patched server that did have .net 3.5 (c:windowswinsxs) and it worked:
How To Install Server 2012
My theory is that the install process was looking for source files that matched the current KBs on the server. I know there are other articles pointing to the removal of two particular KBs, but those did not show up in our list of installed patches.
Also note that add/remove features did not work with this share. I had to use DISM.
How To Install Netfx3 On Windows Server 2012
b_levittb_levitt
Windows 2012 R2 InstallNot the answer you're looking for? Browse other questions tagged windowswindows-server-2012-r2.net-3.5 or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |