Enable .Net Framework 3.5 Windows Server 2012

A quick post here for one I’ve come across a few times. When trying to enable to .Net Framework 3.5 in Windows Server 2012 you get the message that you are missing source files as below:NetFX3

Essentially you need to provide Windows with the installation media to be able to install .Net Framework 3.5. That said, I found that if you try to provide the ‘Add Roles and Features Wizard’ with the installation source it doesn’t work. After some searching on the web I found I wasn’t the only person with this issue. So the solution is below using DISM.

From an elevated command prompt, run the following command:

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

This command uses d: as your source drive for the Windows Server 2012 media, replace that path with whatever you have. You should find that will add .Net Framework 3.5 for you and you’ll see the following success message:

NetFX3 success

If you would like to know a little more about the DISM tool, try here for a starting point.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s