Windows 2012 dotnet 3.5
For a Windows Server 2012 or later installation that isn't connected to the Internet, you can use PowerShell to add.NET Framework 3.5 and provide access to the \sources\sxs .Install Net Framework 2.0, 3.0 and 3.5 On Windows Server 2012 & 2012 R2
This “How To” is intended for anyone that is having difficulty with installing Net Framework 2.0, 3.0 and 3.5 on Windows Server 2012 & 2012 R2.
Step 1: Method 1 - Try The Installation Via Server Manager
Typically, the easiest way to install Net Framework 2.0, 3.0 & 3.5 is to go to Server Manager…
Open “Server Manager”
Click on “Manage”
Select “Add Roles and Features”
On the “Before you begin” page click "Next
On the next page, ensure that “Role-based or feature-based installation” is selected, and again click “Next”
Select your local server out of the list and continue to click “Next”
Bypass the “Server Roles” page by clicking “Next” again
Onto the “Features” page now, put a “check” in the “Net Framework 3.5 Features” box and again click “Next”
Select “Install” to begin the installation
Step 2: Method 2 - Specify Alternate Source Files If Method 1 Fails
If the installation fails, you can specify the alternate source path/files which are contained on your Windows Server 2012 / 2012 R2 installation disc or .iso
Insert your installation disc or mount your .iso within Server 2012 / 2012 R2
Open “Server Manager”
Click on “Manage”
Select “Add Roles and Features”
On the “Before you begin” page click "Next
On the next page, ensure that “Role-based or feature-based installation” is selected, and again click “Next”
Select your local server out of the list and continue to click “Next”
Bypass the “Server Roles” page by clicking “Next” again
Onto the “Features” page now, put a “check” in the “Net Framework 3.5 Features” box and again click “Next”
This time, click on “Specify an alternate source path” and type the path of your Server 2012 or 2012 R2 installation media e.g.
D:\Sources\SxS (Where D:\ is your DVD Drive containing the installation disc)Select “Install” to begin the installation
Step 3: Method 3 - Installing Using The Command Line
Should you have trouble with methods 1 & 2, you can try to install using the command line.
Insert your Windows Server 2012 or 2012 R2 Installation media or mount your .iso in Windows Explorer.
Open “Command Prompt” with administrator privileges
Type in the following command (Where D:\ is your installation media path):
dism.exe /online /enable-feature /featurename:NetFX3 /Source:D:\sources\sxs /LimitAccessA progress bar will be displayed along with the installation results.
Step 4: Method 4 - Installing Using The Command Line (Alternate Method)
Should you have trouble with method 3, you can try to install again without the /LimitAccess switch using the command line.
The /LimitAccess switch prevents the installation from contacting Windows Update (instead it would contact your WSUS server)
For me, I was setting up a lab environment without WSUS being configured, so Windows Update was the next best choice for me, and should anything be missing or corrupt on the installation disc/image, it would gather the files from Windows Update
Insert your Windows Server 2012 or 2012 R2 Installation media or mount your .iso in Windows Explorer.
Open “Command Prompt” with administrator privileges
Type in the following command (Where D:\ is your installation media path):
dism.exe /online /enable-feature /all /featurename:NetFX3 /Source:D:\sources\sxsA progress bar will be displayed along with the installation results.
Step 5: Method 5 - Force (Using Group Policy) For The Install To Contact Windows Update For Install Content
I was still unfortunate and could not get either of the previous 4 methods to work, in the end I had to do the following
Open up Group Policy (gpedit.msc)
Navigate to the following:
Computer Configuration → Administrative Templates → System
Double-click on “Specify settings for optional component installation and component repair”
Click on “Enabled” and select the check-box stating “Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)”
Click on “Apply”
Close Group Policy
Open “Command Prompt” with administrator privileges
Type in the following command (Where D:\ is your installation media path):
dism.exe /online /enable-feature /all /featurename:NetFX3 /Source:D:\sources\sxsA progress bar will be displayed along with the installation results.
Hopefully i will find a synonym for "giebel":, your Server 2012 or 2012 R2 will have Net Framework 2.0, 3.0 and 3.5 installed successfully…don’t forget to run “Windows Update” to install all the latest updates and security patches!
14 Spice ups