How to: Install .NET Framework 3.5 on Windows Server 2012

September 2, 2014

How to Install .NET Framework 3.5 on Windows Server 2012

Banner1

As system administrator, you need to install for legacy application .NET Framework 3.5 (or 2.5).

When you try to add .Net Framework via “Add Roles and features” you received  alert message:

“Do you want to specify an alternate source path? One or more installation selections are missing source files…”

Yell

“Do you want to specify an alternate source path? One or more installation selections are missing source files…”

You need to specify an alternative source path, here the right way to do it:

>Method 1 – Using Add Roles and Features Wizard

2014-09-02 14_23_20-mRemoteNG - Z__mRemoteNG_DB_GivenDB.xml

in the new window, set SXS folder location:

2014-09-02 14_33_41-mRemoteNG - Z__mRemoteNG_DB_GivenDB.xml

if the location exist and no permission issue, the installation begin, and you can see installation bar progressing.

2014-09-02 14_34_27-mRemoteNG - Z__mRemoteNG_DB_GivenDB.xml

wait until installation succeeded

2014-09-02 14_37_29-mRemoteNG - Z__mRemoteNG_DB_GivenDB.xml

also, you see notification in Server Manager Dashboard.

2014-09-02 14_38_04-mRemoteNG - Z__mRemoteNG_DB_GivenDB.xml

>Method 2 – Using Deployment Image Servicing and Management (DISM)

1. Open Command Promt (cmd) with administrator rights.

Elevated Command Prompt - Open in Windows Server 2012

2. Enter the follow command:

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs

DISM Add NET 3.5

Flag Legend:

  • /Online targets the operating system you’re running (instead of an offline Windows image).

  • /Enable-Feature /FeatureName:NetFx3 specifies that you want to enable the .NET Framework 3.5.

  • /All enables all parent features of the .NET Framework 3.5.

  • /LimitAccess prevents DISM from contacting Windows Update.

  • /Source specifies the location of the files needed to restore the feature (in this example, the D:\sources\sxs directory).

3. Verify installation succeeded

DISM END

Finally, .Net Framework 3.5 has been successfully installed on a Windows Server 2012(or R2).

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.