Install .NET Framework on Windows Server 2012 R2

Posted: September 30, 2016 in Systems Administration

I’ve been using this command for quite a while now, and today a colleague asked me how to install .net framework via PowerShell on Windows Server 2012 R2. After performing the installation I decided to post the command for everyone’s benefit.

I will use Deployment Image Service and management Tool (DISM)

DISM /Online /Enable-Feature /FeatureName:NetFX3 /Source:D:\sources\sxs

Where source= the letter of where the sources files for this feature is. (normally on your Microsoft Windows DVD or media used to Install Windows.

  1. Open PowerShellPowerShell
  2. Insert command DISM /Online… and press Enterdism-net-fx3

Now it’s installed, Enjoy!

 

Advertisements

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