Windows Server 2012 R2 – how to install .Net3.5 Framework with command line

I was in process of installing a new software on my [easyazon_link identifier=”178439307X” locale=”US” tag=”wn0d5-20″] Windows Server 2012 R2 [/easyazon_link] and the software requires to have .Net 3.5 Framework installed and enabled on the server. I have tried to enable the feature via the Administrator console but the installation failed even the D: drive has the [easyazon_link identifier=”0672336227″ locale=”US” tag=”wn0d5-20″] Windows Server 2012 [/easyazon_link] installation media mounted.

So here is simple command line that helped me and fixed the issue very quickly on my [easyazon_link identifier=”B00H55KUKI” locale=”US” tag=”wn0d5-20″] Windows Server 2012 R2 [/easyazon_link] and installed the framework for me:

Install-WindowsFeature –name NET-Framework-Core –source D:\sources\sxs

This command line did the trick and installed the framework without issue.


Installed the Framework and not required reboot. Now I can proceed with previous installation of additional software on the server as planned.

[easyazon_image align=”none” height=”160″ identifier=”178439307X” locale=”US” src=”” tag=”wn0d5-20″ width=”130″]

Leave a Reply