I am trying to enable Net 3.5 Framework on Windows Server 2012. However, all the instructions I find on the Internet say I must have DVD of Windows Server 2012.
Since I do not have DVD I have been searching for where to download this feature.
I am trying to enable Net 3.5 Framework on Windows Server 2012. However, all the instructions I find on the Internet say I must have DVD of Windows Server 2012.
Since I do not have DVD I have been searching for where to download this feature.
To install the .net 3.5 on server 2012 without the disk (or disk image):
From a command line run:
dism.exe /online /enable-feature /featurename:NetFX3 /all
The elimination of the source switch is done on purpose as this will force the server to look within its own SxS folder, not find the needed files, and then go to Windows Update for the files (hence step 1 where it is not pointing to a WSUS server).
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
to _WindowsUpdate
, then restarting the Windows Update service, then running the DISM command from above. After the install was successful I renamed the key back and restarted Windows Update again. This was especially helpful on Azure as finding the exact media that the install was done with is challenging. –
Suppressive You can configure server to use Windows Update as a source for for optional components installation. And then install .NET 3.5 through the Add Roles and Features Wizard.
You can configure server by registry:
[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Servicing]
"RepairContentServerSource"=DWORD(2)
or by Group Policy:
Computer Configuration -> Administrative Templates -> System
"Specify settings for optional component installation and component repair"
found here:
I just manage to install it using a free trial evaluation of Windows 2012 R2. https://www.microsoft.com/fr-fr/evalcenter/evaluate-windows-10-enterprise I had to decompress the ISO, and Copy/paste the iso/sources/sxs folder to a temp folder to the server (less than 300Mo). Regards.
WSUS is defined within a GPO. I have an AD container that I have specifically defines the GPO to NOT use WSUS so that I can put a computer in that container and run GPUPDATE /FORCE. That computer will then use Microsoft site for updates. When complete I place the computer back in the container that has a GPO that specifies the WSUS server and again rung GPUPDATE /FORCE.
Using the Add Roles and Features does not provide a clear indication of the install process. Using the command dism.exe /online /enable-feature /featurename:NetFX3 /all allows the results to be more easily viewed.
For me, doing a Windows Update (Important updates only) fixed this issue. (This server wasn't connected to WSUS.) So one of the currently available updates corrected it. I'm not sure which one. Also, MS has released a fixit on this.
A fixit package just released for this issue. Please install the update in the following article to correct this issue:
© 2022 - 2024 — McMap. All rights reserved.