Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On Windows Server 2008 R2 core I use dism.exe and the featurename: 'NetFx3-ServerCore' this feature is not available on Server 2012 (Windows Server 8).

Using the standard 3.51 Installer on Server 2012 Core tells me: "You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5"

In the GUI version (of Server 2012) I can do this and it downloads a package from Microsoft.com, but how do I do this on Core?

share|improve this question
what does dsim /online /get-features /format:table tell? –  Dmitri Chubarov Apr 30 '12 at 7:50
@DmitriChubarov among many other things it has 'NetFx3ServerFeatures | Disabled' and 'NetFx3 | Disabled with Payload Removed'. When I do a 'dism /online /enableFeature /featurename:NetFx3ServerFeatures' it says it enable the feature in a few seconds, but still dotNet 3.51 is not present on the machine. (using build 8250) –  Peter Hahndorf Apr 30 '12 at 8:09

3 Answers 3

dism /online /enable-feature /featurename:NetFx3 /All /LimitAccess /Source:x:\sources\sxs

Where x: is the drive letter of the installation media or mapped network share that contains a copy of the installation files.

share|improve this answer
Thanks this worked great, although I had to add the /all flag dism /online /enable-feature /all /featurename:NetFX3 /source:D:\sources\sxs –  Michael Burgess Jun 3 '12 at 23:26
up vote 4 down vote accepted

You can use Powershell to show the available Windows Features:

Import-Module ServerManager
Get-WindowsFeature | out-file C:\WindowsFeatures.txt -width 300

Because the data is a long and wide it is better to pipe it into a file and review it there.

it shows that '.NET Framework 3.5 Features' are available, but '.NET Framework 3.5 (includes .NET 2.0 and 3.0)' has been removed.

However, the files are still on the DVD, you can use:

dism /online /enable-feature /featurename:NetFX3 /source:D:\sources\sxs /all

or the PowerShell 'Add-WindowsFeature' commandlet to install it:

Add-WindowsFeature –name NET-Framework-Core -source D:\sources\sxs
share|improve this answer

A Windows update may be causing the problem: KB2966827 i.e. An update for 3.5 was installed even though the feature wasn't installed

Read here at the very bottom in the comments: http://social.technet.microsoft.com/Forums/windowsserver/en-US/5c16b88a-0f19-4aea-ad65-38f0bdb59b9c/install-net-framework-35-on-windows-server-2012-behind-the-firewall-does-not-recognize-sources?forum=winserver8gen

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.