How to Install .NET Framework 3.5 on Windows Server 2012
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…”
You need to specify an alternative source path, here the right way to do it:
>Method 1 – Using Add Roles and Features Wizard
in the new window, set SXS folder location:
if the location exist and no permission issue, the installation begin, and you can see installation bar progressing.
wait until installation succeeded
also, you see notification in Server Manager Dashboard.
>Method 2 – Using Deployment Image Servicing and Management (DISM)
1. Open Command Promt (cmd) with administrator rights.
2. Enter the follow command:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs
/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
Finally, .Net Framework 3.5 has been successfully installed on a Windows Server 2012(or R2).