Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Net 3.5 Framework on Windows Server 2012 without DVD

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.

http://en.community.dell.com/techcenter/os-applications/w/wiki/4146.installing-net-3-5-framework-on-microsoft-windows-server-2012.aspx

Since I do not have DVD I have been searching for where to download this feature.

like image 321
Glowie Avatar asked May 13 '14 12:05

Glowie


People also ask

How do I enable .NET 3.5 on Windows Server?

On the Select installation type screen, select Role-based or feature-based installation. Select the target server. On the Select features screen, check the box next to . Net Framework 3.5 Features.


3 Answers

To install the .net 3.5 on server 2012 without the disk (or disk image):

  1. Ensure that the server is NOT looking at a WSUS server for updates (must be looking at Windows Update for this to work)
  2. Ensure that any proxy/firewall will allow the connection from the server in question to the Windows update service
  3. 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).

like image 119
user3877269 Avatar answered Nov 12 '22 11:11

user3877269


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:

https://www.404techsupport.com/2012/11/server-2012-you-must-use-the-role-management-tool-to-install-or-configure-microsoft-net/

https://msdn.microsoft.com/en-us/library/windows/desktop/hh848079(v=vs.85).aspx?ppud=4&tduid=(ad1620201cdb131ba52a8e05b8ffef0c)(256380)(2459594)(TnL5HPStwNw-mxEPD8HDp4sXn1EnYFo1cA)()

like image 24
SergeyA Avatar answered Nov 12 '22 10:11

SergeyA


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.

like image 2
Madgui Avatar answered Nov 12 '22 10:11

Madgui