Showing posts with label Framework. Show all posts
Showing posts with label Framework. Show all posts

Tuesday, 14 February 2017

Installing .NET Framework 3.5 on Windows 2012


Installing .NET Framework 3.5 on Windows 2012
Installing .NET Framework is a bit different from the standard way like other Roles or Features are installed.

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

Command Parameters:
/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 (example, the D:\sources\sxs directory or a network location using \\ we will be using network location in the example below).

Example