How to install .NET Framework 3.5 on Windows Server 2012 and Windows Server 2012 R2

Symptom: When trying to add the .NET Framework 3.5 feature through the Add Roles and Features Wizard in Server 2012 (R2), you receive the following error:

Do you need to specify an alternate source path?  One or more installation selections are missing source files on the destination server.  The server will try to get missing source files from Windows Update, or from a location that is specified by Group Policy.  You can also click the "Specify an alternate source path" link on this page to provide a valid location for the source files.

NET Framework 3-5 - Do you need to specify an alternate source path

Solution: Complete the steps below to manually install .NET Framework 3.5 from the Server 2012 (R2) installation media.  You can complete this task via command line or via the wizard.

  1. Option 1: Command Line
    1. Insert the Windows Sever 2012 installation media
      Server 2012 - Installation Media
    2. Open up an elevated command prompt
      Elevated Command Prompt
    3. Execute the following command
      1. dism /Online /Enable-Feature /FeatureName:NetFX3 /All /Source:D:\Sources\SxS\ /LimitAccess
        dism netfx3 from disk

        1. Here is a breakdown of the following command:
          /Online                 - Targets the running operating system.
          /Enable-Feature - Enables a specific feature in the image.
          /All                          - Enables all parent features of the specified feature.
          /LimitAccess        - Prevents DISM from contacting WU/WSUS.
  2. Option 2: GUI
    1. Insert the Windows Sever 2012 installation media
      Server 2012 - Installation Media
    2. On the Add Roles and Features wizard, click on Specify an alternate source path
      NET Framework 3-5 - Specify an alternate source path
    3. Enter D:\Sources\SxS\ to point to the Server 2012
      NET Framework 3-5 - Specify an alternate source path - Dialog

Once done installing through the GUI or command prompt, if you navigate back to the Add Roles and Features Wizard, you should see the feature has been successfully installed now.

Add Roles and Features Wizard - Server 2012 R2 - NET Framework 3

10 thoughts on “How to install .NET Framework 3.5 on Windows Server 2012 and Windows Server 2012 R2

  1. Aaron

    I found that it is not required to "Specify alternate source path" if you insert the installation media, reboot the server and attempt to install the features again. The system finds the external media path automatically.

    Reply
  2. Greg R

    Thank you. This worked just as stated.
    Believe it or not in 2022 I've come across a company still running SBS 2008 and have to upgrade the AD & Exchange server. Need to build all sorts of old server and need application I thought I was done with.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *