Install Net Framework 3.5 SP1 Offline on Server 2012 R2












8















I need to to install Net Framework 3.5 SP1 on Server 2012 and I know of the method which requires the installation media. Installing .NET framework 3.5 on windows server 2012



However, I do not have the installation media and no Internet. Is there any other way of installing it?










share|improve this question

























  • Extract it using the DISM tool to a folder location with a computer that does have access a installation media and/or access to the internet. Once it is placed into the component store it can be extracted.

    – Ramhound
    Dec 10 '14 at 17:41













  • Possible duplicate of Installing .NET framework 3.5 on windows server 2012

    – eis
    Mar 9 '16 at 15:00
















8















I need to to install Net Framework 3.5 SP1 on Server 2012 and I know of the method which requires the installation media. Installing .NET framework 3.5 on windows server 2012



However, I do not have the installation media and no Internet. Is there any other way of installing it?










share|improve this question

























  • Extract it using the DISM tool to a folder location with a computer that does have access a installation media and/or access to the internet. Once it is placed into the component store it can be extracted.

    – Ramhound
    Dec 10 '14 at 17:41













  • Possible duplicate of Installing .NET framework 3.5 on windows server 2012

    – eis
    Mar 9 '16 at 15:00














8












8








8


2






I need to to install Net Framework 3.5 SP1 on Server 2012 and I know of the method which requires the installation media. Installing .NET framework 3.5 on windows server 2012



However, I do not have the installation media and no Internet. Is there any other way of installing it?










share|improve this question
















I need to to install Net Framework 3.5 SP1 on Server 2012 and I know of the method which requires the installation media. Installing .NET framework 3.5 on windows server 2012



However, I do not have the installation media and no Internet. Is there any other way of installing it?







.net-framework windows-server-2012-r2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 10 '17 at 14:54









eis

1,61611734




1,61611734










asked Dec 10 '14 at 17:21









drumdrum

34751023




34751023













  • Extract it using the DISM tool to a folder location with a computer that does have access a installation media and/or access to the internet. Once it is placed into the component store it can be extracted.

    – Ramhound
    Dec 10 '14 at 17:41













  • Possible duplicate of Installing .NET framework 3.5 on windows server 2012

    – eis
    Mar 9 '16 at 15:00



















  • Extract it using the DISM tool to a folder location with a computer that does have access a installation media and/or access to the internet. Once it is placed into the component store it can be extracted.

    – Ramhound
    Dec 10 '14 at 17:41













  • Possible duplicate of Installing .NET framework 3.5 on windows server 2012

    – eis
    Mar 9 '16 at 15:00

















Extract it using the DISM tool to a folder location with a computer that does have access a installation media and/or access to the internet. Once it is placed into the component store it can be extracted.

– Ramhound
Dec 10 '14 at 17:41







Extract it using the DISM tool to a folder location with a computer that does have access a installation media and/or access to the internet. Once it is placed into the component store it can be extracted.

– Ramhound
Dec 10 '14 at 17:41















Possible duplicate of Installing .NET framework 3.5 on windows server 2012

– eis
Mar 9 '16 at 15:00





Possible duplicate of Installing .NET framework 3.5 on windows server 2012

– eis
Mar 9 '16 at 15:00










8 Answers
8






active

oldest

votes


















6














You can download the Windows Server 2012 trial version to get an ISO with the required source files.



Mount the ISO with the inbox ISO mounting and run DISM to install .Net 3.5:



dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:sourcessxs /LimitAccess


If it fails, also try to run this Update before trying to activate .Net 3.5:



Update for the .NET Framework 3.5 on Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2



http://support2.microsoft.com/kb/3005628/en-us



This removes 2 security updates which may prevent setup of .Net 3.5






share|improve this answer





















  • 2





    That was a great idea, but it failed saying it couldn't find the source files. I did check and it was D:sourcessxs too. I also added the /all flag.

    – drum
    Dec 10 '14 at 21:10











  • you have edited your question. For R2 you have to download the R2 ISO

    – magicandre1981
    Dec 11 '14 at 17:03






  • 1





    I did download the R2 trial version.

    – drum
    Dec 11 '14 at 19:57











  • Do you have any MUI Packs installed?

    – magicandre1981
    Dec 12 '14 at 5:16











  • None. It's a fresh install with only the C++ redistributables.

    – drum
    Dec 12 '14 at 14:39



















6














This answer combines information from multiple answers and also adds some extra steps not previously mentioned.



I managed to do it in the following way:




  1. Download the ISO image for Windows Server 2012 R2 (Note! has to be R2) from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 . It needs a windows live id registration and you need to agree to follow-up emails.

  2. Once you've downloaded it to some location, transfer to the machine/VM you wish to install it to.

  3. Copy it to another location within the target machine. This is to prevent "sorry, there was a problem mounting the file" error as described here, which relates to some transfer managers writing the file as sparse files. If you actually copied it already during the transfer in the previous step and not just mapped it, this step might not be needed: for me it was.

  4. Right click the file in explorer and select "Mount". It should be mounted, I'm assuming to D: drive. If you get an error, revert to previous link.

  5. Open cmd prompt as administrator and run the following commands (switches are explained in this other answer in a similar thread):


.



dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /all /Source:d:sourcessxs /LimitAccess
dism.exe /online /enable-feature /featurename:NetFX3 /all /Source:d:sourcessxs /LimitAccess


Both seem to be needed and in the order I've given. (source)



If you get an error "source files not found", reconfirm you have R2 image in use. That was the problem for me - the actual .NET 3.5 was missing from my image, which was plain 2012.



If both commands are successful, congratulations! You now have it installed. In case you're in doubt, you can confirm the version using steps outlined here.






share|improve this answer





















  • 2





    For me it seems /all is only recognized when it follows /featurename.

    – alwayssummer
    Apr 10 '17 at 13:32











  • This was perfect for me. My server is virtual and I didn't have access to the original DVD. The comment above me is also correct.

    – Ethan Allen
    Oct 5 '17 at 5:22











  • ok, moved /all after /featurename as suggested here.

    – eis
    yesterday



















4














Here's how i did it.



Download the ISO image for Windows Server 2012 R2 from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 .



Put that Disc image on the computer that needs .Net Framwork 3.5



Right Click on the file and mount. This should create a D drive. Go to Server Manager, click Manage > Add roles and Features.



Click through to the Features selection and choose the .Net Framework 3.5 entry.

Keep clicking Next until you get to the final page.



Don't click Install yet- Click the small link at the bottom to "Specify Alternate Data Source."
Change the path to be D:SourcesSxS



Then install






share|improve this answer


























  • This is very similar to other answers here. Can you expand a little on what is different with your answer?

    – Burgi
    May 26 '16 at 20:37











  • This worked perfectly for me. A group policy on the particular machine forbids downloads from Windows Update, so I had to point to the DVD image.

    – j8048188
    Jul 7 '17 at 23:36



















2














The only way I managed to install the framework is by connecting the machine to the internet and doing a Windows Update.






share|improve this answer































    2














    For Windows 2012R2, the command should be



    dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /Source:d:sourcessxs /LimitAccess





    share|improve this answer





















    • 1





      This was already suggested a year ago. how is your answer any different?

      – Ramhound
      May 26 '15 at 3:11











    • It should be "/featurename:NetFX3ServerFeatures" rather than "/featurename:NetFX3"

      – superlee
      May 26 '15 at 3:26













    • I tested the command. It installed the server features just fine, but .NET framework is not installed by that. According to this, NetFX3 feature should be installed after that, but that again gives "source files not found".

      – eis
      Mar 9 '16 at 12:54



















    2














    Get a windows iso image 2008 server or higher mount the image to the inbuilt image drive of windows server 2012 r2, proceed to add roles and features and select the dotnet framework 3.5 feature, click alternatives source to show the path name eg e:sourcessxs and click install. This should work.



    Or run windows update and follow this https://support.microsoft.com/en-us/kb/3005628 for solution.






    share|improve this answer


























    • For me this was the easiest, basically use the "Add Roles and Features Wizard" easily reached from Server Manager, with an alternative source. Thanks!

      – Konstantin
      Feb 21 '17 at 8:00



















    0














    I specified C:WindowsWinSXS as the alternate source path. This will fail half the time on the first go round, but it seems to eventually work.



    I did it this morning with no issues and it completed on the first try.






    share|improve this answer

































      0














      If mounting a https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 still fails, We determined a minor tweak to Eis's SUPERB INSTRUCTIONS March 19th/2016 was the last inch for success.



      Downloading and mounting 2012 Server R2 install ISO is key, but we had to switch to the mounted drive lettersources directory and load the NEWER R2 v9600 version of the DISM executable. Just mounting the ISO and specifying the /source location failed to complete or even initiate any progress of installation since Windows was using the version 9200 of DISM that apparently hates the /source switch but only reported as much inside the %systemroot%LogsDISMdism.log.
      The error explicitly described /sources as and UNKNOWN switch and thus was doomed to silent failure without properly mounting the R2 source ISO.



      It was necessary to hard specify the newer version of DISM.exe 9600 inside the mounted ISO by changing directories to the mounted ISO path of dism.exe.



      cd /d d:sources && .dism.exe /online  /enable-feature    featurename:NetFX3ServerFeatures **/Source**:d:sourcessxs /LimitAccess
      cd /d d:sources && .dism.exe /online /enable-feature /featurename:NetFX3 **/Source**:d:sourcessxs /LimitAccess


      The command processor output will immediately specify whether you're executing the required version of dism.exe




      *Deployment Image Servicing and Management tool

      **Version: 6.3.9600.17031**

      Image Version: 6.2.9200.16384

      Enabling feature(s)

      [==========================100.0%==========================]

      The operation completed successfully.

      Restart Windows to complete this operation.

      Do you want to restart the computer now? (Y/N) n*

      This was executed on a freshly turned up 2012 Server with only the Windows Update Agent v2 installed:

      Windows Update Agent 7.8.9200.16927
      Windows Update Agent 7.8.9200.16924


      Windows Update Agent 7.8.9200.16927
      Installation date: ‎01‎31‎2017 1304PM
      Installation status: Succeeded
      Windows Update Agent 7.8.9200.16927
      Installation date: ‎01‎31‎2017 1304PM
      Installation status: Succeeded






      share|improve this answer

























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "3"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f850963%2finstall-net-framework-3-5-sp1-offline-on-server-2012-r2%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        8 Answers
        8






        active

        oldest

        votes








        8 Answers
        8






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        6














        You can download the Windows Server 2012 trial version to get an ISO with the required source files.



        Mount the ISO with the inbox ISO mounting and run DISM to install .Net 3.5:



        dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:sourcessxs /LimitAccess


        If it fails, also try to run this Update before trying to activate .Net 3.5:



        Update for the .NET Framework 3.5 on Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2



        http://support2.microsoft.com/kb/3005628/en-us



        This removes 2 security updates which may prevent setup of .Net 3.5






        share|improve this answer





















        • 2





          That was a great idea, but it failed saying it couldn't find the source files. I did check and it was D:sourcessxs too. I also added the /all flag.

          – drum
          Dec 10 '14 at 21:10











        • you have edited your question. For R2 you have to download the R2 ISO

          – magicandre1981
          Dec 11 '14 at 17:03






        • 1





          I did download the R2 trial version.

          – drum
          Dec 11 '14 at 19:57











        • Do you have any MUI Packs installed?

          – magicandre1981
          Dec 12 '14 at 5:16











        • None. It's a fresh install with only the C++ redistributables.

          – drum
          Dec 12 '14 at 14:39
















        6














        You can download the Windows Server 2012 trial version to get an ISO with the required source files.



        Mount the ISO with the inbox ISO mounting and run DISM to install .Net 3.5:



        dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:sourcessxs /LimitAccess


        If it fails, also try to run this Update before trying to activate .Net 3.5:



        Update for the .NET Framework 3.5 on Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2



        http://support2.microsoft.com/kb/3005628/en-us



        This removes 2 security updates which may prevent setup of .Net 3.5






        share|improve this answer





















        • 2





          That was a great idea, but it failed saying it couldn't find the source files. I did check and it was D:sourcessxs too. I also added the /all flag.

          – drum
          Dec 10 '14 at 21:10











        • you have edited your question. For R2 you have to download the R2 ISO

          – magicandre1981
          Dec 11 '14 at 17:03






        • 1





          I did download the R2 trial version.

          – drum
          Dec 11 '14 at 19:57











        • Do you have any MUI Packs installed?

          – magicandre1981
          Dec 12 '14 at 5:16











        • None. It's a fresh install with only the C++ redistributables.

          – drum
          Dec 12 '14 at 14:39














        6












        6








        6







        You can download the Windows Server 2012 trial version to get an ISO with the required source files.



        Mount the ISO with the inbox ISO mounting and run DISM to install .Net 3.5:



        dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:sourcessxs /LimitAccess


        If it fails, also try to run this Update before trying to activate .Net 3.5:



        Update for the .NET Framework 3.5 on Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2



        http://support2.microsoft.com/kb/3005628/en-us



        This removes 2 security updates which may prevent setup of .Net 3.5






        share|improve this answer















        You can download the Windows Server 2012 trial version to get an ISO with the required source files.



        Mount the ISO with the inbox ISO mounting and run DISM to install .Net 3.5:



        dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:sourcessxs /LimitAccess


        If it fails, also try to run this Update before trying to activate .Net 3.5:



        Update for the .NET Framework 3.5 on Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2



        http://support2.microsoft.com/kb/3005628/en-us



        This removes 2 security updates which may prevent setup of .Net 3.5







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 21 '14 at 7:08

























        answered Dec 10 '14 at 19:58









        magicandre1981magicandre1981

        81.4k20125203




        81.4k20125203








        • 2





          That was a great idea, but it failed saying it couldn't find the source files. I did check and it was D:sourcessxs too. I also added the /all flag.

          – drum
          Dec 10 '14 at 21:10











        • you have edited your question. For R2 you have to download the R2 ISO

          – magicandre1981
          Dec 11 '14 at 17:03






        • 1





          I did download the R2 trial version.

          – drum
          Dec 11 '14 at 19:57











        • Do you have any MUI Packs installed?

          – magicandre1981
          Dec 12 '14 at 5:16











        • None. It's a fresh install with only the C++ redistributables.

          – drum
          Dec 12 '14 at 14:39














        • 2





          That was a great idea, but it failed saying it couldn't find the source files. I did check and it was D:sourcessxs too. I also added the /all flag.

          – drum
          Dec 10 '14 at 21:10











        • you have edited your question. For R2 you have to download the R2 ISO

          – magicandre1981
          Dec 11 '14 at 17:03






        • 1





          I did download the R2 trial version.

          – drum
          Dec 11 '14 at 19:57











        • Do you have any MUI Packs installed?

          – magicandre1981
          Dec 12 '14 at 5:16











        • None. It's a fresh install with only the C++ redistributables.

          – drum
          Dec 12 '14 at 14:39








        2




        2





        That was a great idea, but it failed saying it couldn't find the source files. I did check and it was D:sourcessxs too. I also added the /all flag.

        – drum
        Dec 10 '14 at 21:10





        That was a great idea, but it failed saying it couldn't find the source files. I did check and it was D:sourcessxs too. I also added the /all flag.

        – drum
        Dec 10 '14 at 21:10













        you have edited your question. For R2 you have to download the R2 ISO

        – magicandre1981
        Dec 11 '14 at 17:03





        you have edited your question. For R2 you have to download the R2 ISO

        – magicandre1981
        Dec 11 '14 at 17:03




        1




        1





        I did download the R2 trial version.

        – drum
        Dec 11 '14 at 19:57





        I did download the R2 trial version.

        – drum
        Dec 11 '14 at 19:57













        Do you have any MUI Packs installed?

        – magicandre1981
        Dec 12 '14 at 5:16





        Do you have any MUI Packs installed?

        – magicandre1981
        Dec 12 '14 at 5:16













        None. It's a fresh install with only the C++ redistributables.

        – drum
        Dec 12 '14 at 14:39





        None. It's a fresh install with only the C++ redistributables.

        – drum
        Dec 12 '14 at 14:39













        6














        This answer combines information from multiple answers and also adds some extra steps not previously mentioned.



        I managed to do it in the following way:




        1. Download the ISO image for Windows Server 2012 R2 (Note! has to be R2) from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 . It needs a windows live id registration and you need to agree to follow-up emails.

        2. Once you've downloaded it to some location, transfer to the machine/VM you wish to install it to.

        3. Copy it to another location within the target machine. This is to prevent "sorry, there was a problem mounting the file" error as described here, which relates to some transfer managers writing the file as sparse files. If you actually copied it already during the transfer in the previous step and not just mapped it, this step might not be needed: for me it was.

        4. Right click the file in explorer and select "Mount". It should be mounted, I'm assuming to D: drive. If you get an error, revert to previous link.

        5. Open cmd prompt as administrator and run the following commands (switches are explained in this other answer in a similar thread):


        .



        dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /all /Source:d:sourcessxs /LimitAccess
        dism.exe /online /enable-feature /featurename:NetFX3 /all /Source:d:sourcessxs /LimitAccess


        Both seem to be needed and in the order I've given. (source)



        If you get an error "source files not found", reconfirm you have R2 image in use. That was the problem for me - the actual .NET 3.5 was missing from my image, which was plain 2012.



        If both commands are successful, congratulations! You now have it installed. In case you're in doubt, you can confirm the version using steps outlined here.






        share|improve this answer





















        • 2





          For me it seems /all is only recognized when it follows /featurename.

          – alwayssummer
          Apr 10 '17 at 13:32











        • This was perfect for me. My server is virtual and I didn't have access to the original DVD. The comment above me is also correct.

          – Ethan Allen
          Oct 5 '17 at 5:22











        • ok, moved /all after /featurename as suggested here.

          – eis
          yesterday
















        6














        This answer combines information from multiple answers and also adds some extra steps not previously mentioned.



        I managed to do it in the following way:




        1. Download the ISO image for Windows Server 2012 R2 (Note! has to be R2) from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 . It needs a windows live id registration and you need to agree to follow-up emails.

        2. Once you've downloaded it to some location, transfer to the machine/VM you wish to install it to.

        3. Copy it to another location within the target machine. This is to prevent "sorry, there was a problem mounting the file" error as described here, which relates to some transfer managers writing the file as sparse files. If you actually copied it already during the transfer in the previous step and not just mapped it, this step might not be needed: for me it was.

        4. Right click the file in explorer and select "Mount". It should be mounted, I'm assuming to D: drive. If you get an error, revert to previous link.

        5. Open cmd prompt as administrator and run the following commands (switches are explained in this other answer in a similar thread):


        .



        dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /all /Source:d:sourcessxs /LimitAccess
        dism.exe /online /enable-feature /featurename:NetFX3 /all /Source:d:sourcessxs /LimitAccess


        Both seem to be needed and in the order I've given. (source)



        If you get an error "source files not found", reconfirm you have R2 image in use. That was the problem for me - the actual .NET 3.5 was missing from my image, which was plain 2012.



        If both commands are successful, congratulations! You now have it installed. In case you're in doubt, you can confirm the version using steps outlined here.






        share|improve this answer





















        • 2





          For me it seems /all is only recognized when it follows /featurename.

          – alwayssummer
          Apr 10 '17 at 13:32











        • This was perfect for me. My server is virtual and I didn't have access to the original DVD. The comment above me is also correct.

          – Ethan Allen
          Oct 5 '17 at 5:22











        • ok, moved /all after /featurename as suggested here.

          – eis
          yesterday














        6












        6








        6







        This answer combines information from multiple answers and also adds some extra steps not previously mentioned.



        I managed to do it in the following way:




        1. Download the ISO image for Windows Server 2012 R2 (Note! has to be R2) from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 . It needs a windows live id registration and you need to agree to follow-up emails.

        2. Once you've downloaded it to some location, transfer to the machine/VM you wish to install it to.

        3. Copy it to another location within the target machine. This is to prevent "sorry, there was a problem mounting the file" error as described here, which relates to some transfer managers writing the file as sparse files. If you actually copied it already during the transfer in the previous step and not just mapped it, this step might not be needed: for me it was.

        4. Right click the file in explorer and select "Mount". It should be mounted, I'm assuming to D: drive. If you get an error, revert to previous link.

        5. Open cmd prompt as administrator and run the following commands (switches are explained in this other answer in a similar thread):


        .



        dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /all /Source:d:sourcessxs /LimitAccess
        dism.exe /online /enable-feature /featurename:NetFX3 /all /Source:d:sourcessxs /LimitAccess


        Both seem to be needed and in the order I've given. (source)



        If you get an error "source files not found", reconfirm you have R2 image in use. That was the problem for me - the actual .NET 3.5 was missing from my image, which was plain 2012.



        If both commands are successful, congratulations! You now have it installed. In case you're in doubt, you can confirm the version using steps outlined here.






        share|improve this answer















        This answer combines information from multiple answers and also adds some extra steps not previously mentioned.



        I managed to do it in the following way:




        1. Download the ISO image for Windows Server 2012 R2 (Note! has to be R2) from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 . It needs a windows live id registration and you need to agree to follow-up emails.

        2. Once you've downloaded it to some location, transfer to the machine/VM you wish to install it to.

        3. Copy it to another location within the target machine. This is to prevent "sorry, there was a problem mounting the file" error as described here, which relates to some transfer managers writing the file as sparse files. If you actually copied it already during the transfer in the previous step and not just mapped it, this step might not be needed: for me it was.

        4. Right click the file in explorer and select "Mount". It should be mounted, I'm assuming to D: drive. If you get an error, revert to previous link.

        5. Open cmd prompt as administrator and run the following commands (switches are explained in this other answer in a similar thread):


        .



        dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /all /Source:d:sourcessxs /LimitAccess
        dism.exe /online /enable-feature /featurename:NetFX3 /all /Source:d:sourcessxs /LimitAccess


        Both seem to be needed and in the order I've given. (source)



        If you get an error "source files not found", reconfirm you have R2 image in use. That was the problem for me - the actual .NET 3.5 was missing from my image, which was plain 2012.



        If both commands are successful, congratulations! You now have it installed. In case you're in doubt, you can confirm the version using steps outlined here.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited yesterday

























        answered Mar 9 '16 at 14:55









        eiseis

        1,61611734




        1,61611734








        • 2





          For me it seems /all is only recognized when it follows /featurename.

          – alwayssummer
          Apr 10 '17 at 13:32











        • This was perfect for me. My server is virtual and I didn't have access to the original DVD. The comment above me is also correct.

          – Ethan Allen
          Oct 5 '17 at 5:22











        • ok, moved /all after /featurename as suggested here.

          – eis
          yesterday














        • 2





          For me it seems /all is only recognized when it follows /featurename.

          – alwayssummer
          Apr 10 '17 at 13:32











        • This was perfect for me. My server is virtual and I didn't have access to the original DVD. The comment above me is also correct.

          – Ethan Allen
          Oct 5 '17 at 5:22











        • ok, moved /all after /featurename as suggested here.

          – eis
          yesterday








        2




        2





        For me it seems /all is only recognized when it follows /featurename.

        – alwayssummer
        Apr 10 '17 at 13:32





        For me it seems /all is only recognized when it follows /featurename.

        – alwayssummer
        Apr 10 '17 at 13:32













        This was perfect for me. My server is virtual and I didn't have access to the original DVD. The comment above me is also correct.

        – Ethan Allen
        Oct 5 '17 at 5:22





        This was perfect for me. My server is virtual and I didn't have access to the original DVD. The comment above me is also correct.

        – Ethan Allen
        Oct 5 '17 at 5:22













        ok, moved /all after /featurename as suggested here.

        – eis
        yesterday





        ok, moved /all after /featurename as suggested here.

        – eis
        yesterday











        4














        Here's how i did it.



        Download the ISO image for Windows Server 2012 R2 from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 .



        Put that Disc image on the computer that needs .Net Framwork 3.5



        Right Click on the file and mount. This should create a D drive. Go to Server Manager, click Manage > Add roles and Features.



        Click through to the Features selection and choose the .Net Framework 3.5 entry.

        Keep clicking Next until you get to the final page.



        Don't click Install yet- Click the small link at the bottom to "Specify Alternate Data Source."
        Change the path to be D:SourcesSxS



        Then install






        share|improve this answer


























        • This is very similar to other answers here. Can you expand a little on what is different with your answer?

          – Burgi
          May 26 '16 at 20:37











        • This worked perfectly for me. A group policy on the particular machine forbids downloads from Windows Update, so I had to point to the DVD image.

          – j8048188
          Jul 7 '17 at 23:36
















        4














        Here's how i did it.



        Download the ISO image for Windows Server 2012 R2 from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 .



        Put that Disc image on the computer that needs .Net Framwork 3.5



        Right Click on the file and mount. This should create a D drive. Go to Server Manager, click Manage > Add roles and Features.



        Click through to the Features selection and choose the .Net Framework 3.5 entry.

        Keep clicking Next until you get to the final page.



        Don't click Install yet- Click the small link at the bottom to "Specify Alternate Data Source."
        Change the path to be D:SourcesSxS



        Then install






        share|improve this answer


























        • This is very similar to other answers here. Can you expand a little on what is different with your answer?

          – Burgi
          May 26 '16 at 20:37











        • This worked perfectly for me. A group policy on the particular machine forbids downloads from Windows Update, so I had to point to the DVD image.

          – j8048188
          Jul 7 '17 at 23:36














        4












        4








        4







        Here's how i did it.



        Download the ISO image for Windows Server 2012 R2 from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 .



        Put that Disc image on the computer that needs .Net Framwork 3.5



        Right Click on the file and mount. This should create a D drive. Go to Server Manager, click Manage > Add roles and Features.



        Click through to the Features selection and choose the .Net Framework 3.5 entry.

        Keep clicking Next until you get to the final page.



        Don't click Install yet- Click the small link at the bottom to "Specify Alternate Data Source."
        Change the path to be D:SourcesSxS



        Then install






        share|improve this answer















        Here's how i did it.



        Download the ISO image for Windows Server 2012 R2 from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 .



        Put that Disc image on the computer that needs .Net Framwork 3.5



        Right Click on the file and mount. This should create a D drive. Go to Server Manager, click Manage > Add roles and Features.



        Click through to the Features selection and choose the .Net Framework 3.5 entry.

        Keep clicking Next until you get to the final page.



        Don't click Install yet- Click the small link at the bottom to "Specify Alternate Data Source."
        Change the path to be D:SourcesSxS



        Then install







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jul 8 '17 at 4:53









        j8048188

        6314




        6314










        answered May 26 '16 at 20:18









        NSZINSZI

        411




        411













        • This is very similar to other answers here. Can you expand a little on what is different with your answer?

          – Burgi
          May 26 '16 at 20:37











        • This worked perfectly for me. A group policy on the particular machine forbids downloads from Windows Update, so I had to point to the DVD image.

          – j8048188
          Jul 7 '17 at 23:36



















        • This is very similar to other answers here. Can you expand a little on what is different with your answer?

          – Burgi
          May 26 '16 at 20:37











        • This worked perfectly for me. A group policy on the particular machine forbids downloads from Windows Update, so I had to point to the DVD image.

          – j8048188
          Jul 7 '17 at 23:36

















        This is very similar to other answers here. Can you expand a little on what is different with your answer?

        – Burgi
        May 26 '16 at 20:37





        This is very similar to other answers here. Can you expand a little on what is different with your answer?

        – Burgi
        May 26 '16 at 20:37













        This worked perfectly for me. A group policy on the particular machine forbids downloads from Windows Update, so I had to point to the DVD image.

        – j8048188
        Jul 7 '17 at 23:36





        This worked perfectly for me. A group policy on the particular machine forbids downloads from Windows Update, so I had to point to the DVD image.

        – j8048188
        Jul 7 '17 at 23:36











        2














        The only way I managed to install the framework is by connecting the machine to the internet and doing a Windows Update.






        share|improve this answer




























          2














          The only way I managed to install the framework is by connecting the machine to the internet and doing a Windows Update.






          share|improve this answer


























            2












            2








            2







            The only way I managed to install the framework is by connecting the machine to the internet and doing a Windows Update.






            share|improve this answer













            The only way I managed to install the framework is by connecting the machine to the internet and doing a Windows Update.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 31 '15 at 21:37









            drumdrum

            34751023




            34751023























                2














                For Windows 2012R2, the command should be



                dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /Source:d:sourcessxs /LimitAccess





                share|improve this answer





















                • 1





                  This was already suggested a year ago. how is your answer any different?

                  – Ramhound
                  May 26 '15 at 3:11











                • It should be "/featurename:NetFX3ServerFeatures" rather than "/featurename:NetFX3"

                  – superlee
                  May 26 '15 at 3:26













                • I tested the command. It installed the server features just fine, but .NET framework is not installed by that. According to this, NetFX3 feature should be installed after that, but that again gives "source files not found".

                  – eis
                  Mar 9 '16 at 12:54
















                2














                For Windows 2012R2, the command should be



                dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /Source:d:sourcessxs /LimitAccess





                share|improve this answer





















                • 1





                  This was already suggested a year ago. how is your answer any different?

                  – Ramhound
                  May 26 '15 at 3:11











                • It should be "/featurename:NetFX3ServerFeatures" rather than "/featurename:NetFX3"

                  – superlee
                  May 26 '15 at 3:26













                • I tested the command. It installed the server features just fine, but .NET framework is not installed by that. According to this, NetFX3 feature should be installed after that, but that again gives "source files not found".

                  – eis
                  Mar 9 '16 at 12:54














                2












                2








                2







                For Windows 2012R2, the command should be



                dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /Source:d:sourcessxs /LimitAccess





                share|improve this answer















                For Windows 2012R2, the command should be



                dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /Source:d:sourcessxs /LimitAccess






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 26 '15 at 3:26

























                answered May 26 '15 at 3:05









                superleesuperlee

                1314




                1314








                • 1





                  This was already suggested a year ago. how is your answer any different?

                  – Ramhound
                  May 26 '15 at 3:11











                • It should be "/featurename:NetFX3ServerFeatures" rather than "/featurename:NetFX3"

                  – superlee
                  May 26 '15 at 3:26













                • I tested the command. It installed the server features just fine, but .NET framework is not installed by that. According to this, NetFX3 feature should be installed after that, but that again gives "source files not found".

                  – eis
                  Mar 9 '16 at 12:54














                • 1





                  This was already suggested a year ago. how is your answer any different?

                  – Ramhound
                  May 26 '15 at 3:11











                • It should be "/featurename:NetFX3ServerFeatures" rather than "/featurename:NetFX3"

                  – superlee
                  May 26 '15 at 3:26













                • I tested the command. It installed the server features just fine, but .NET framework is not installed by that. According to this, NetFX3 feature should be installed after that, but that again gives "source files not found".

                  – eis
                  Mar 9 '16 at 12:54








                1




                1





                This was already suggested a year ago. how is your answer any different?

                – Ramhound
                May 26 '15 at 3:11





                This was already suggested a year ago. how is your answer any different?

                – Ramhound
                May 26 '15 at 3:11













                It should be "/featurename:NetFX3ServerFeatures" rather than "/featurename:NetFX3"

                – superlee
                May 26 '15 at 3:26







                It should be "/featurename:NetFX3ServerFeatures" rather than "/featurename:NetFX3"

                – superlee
                May 26 '15 at 3:26















                I tested the command. It installed the server features just fine, but .NET framework is not installed by that. According to this, NetFX3 feature should be installed after that, but that again gives "source files not found".

                – eis
                Mar 9 '16 at 12:54





                I tested the command. It installed the server features just fine, but .NET framework is not installed by that. According to this, NetFX3 feature should be installed after that, but that again gives "source files not found".

                – eis
                Mar 9 '16 at 12:54











                2














                Get a windows iso image 2008 server or higher mount the image to the inbuilt image drive of windows server 2012 r2, proceed to add roles and features and select the dotnet framework 3.5 feature, click alternatives source to show the path name eg e:sourcessxs and click install. This should work.



                Or run windows update and follow this https://support.microsoft.com/en-us/kb/3005628 for solution.






                share|improve this answer


























                • For me this was the easiest, basically use the "Add Roles and Features Wizard" easily reached from Server Manager, with an alternative source. Thanks!

                  – Konstantin
                  Feb 21 '17 at 8:00
















                2














                Get a windows iso image 2008 server or higher mount the image to the inbuilt image drive of windows server 2012 r2, proceed to add roles and features and select the dotnet framework 3.5 feature, click alternatives source to show the path name eg e:sourcessxs and click install. This should work.



                Or run windows update and follow this https://support.microsoft.com/en-us/kb/3005628 for solution.






                share|improve this answer


























                • For me this was the easiest, basically use the "Add Roles and Features Wizard" easily reached from Server Manager, with an alternative source. Thanks!

                  – Konstantin
                  Feb 21 '17 at 8:00














                2












                2








                2







                Get a windows iso image 2008 server or higher mount the image to the inbuilt image drive of windows server 2012 r2, proceed to add roles and features and select the dotnet framework 3.5 feature, click alternatives source to show the path name eg e:sourcessxs and click install. This should work.



                Or run windows update and follow this https://support.microsoft.com/en-us/kb/3005628 for solution.






                share|improve this answer















                Get a windows iso image 2008 server or higher mount the image to the inbuilt image drive of windows server 2012 r2, proceed to add roles and features and select the dotnet framework 3.5 feature, click alternatives source to show the path name eg e:sourcessxs and click install. This should work.



                Or run windows update and follow this https://support.microsoft.com/en-us/kb/3005628 for solution.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 28 '16 at 11:13









                Joe Taylor

                10.4k74166




                10.4k74166










                answered Jan 28 '16 at 11:10









                NANANANA

                211




                211













                • For me this was the easiest, basically use the "Add Roles and Features Wizard" easily reached from Server Manager, with an alternative source. Thanks!

                  – Konstantin
                  Feb 21 '17 at 8:00



















                • For me this was the easiest, basically use the "Add Roles and Features Wizard" easily reached from Server Manager, with an alternative source. Thanks!

                  – Konstantin
                  Feb 21 '17 at 8:00

















                For me this was the easiest, basically use the "Add Roles and Features Wizard" easily reached from Server Manager, with an alternative source. Thanks!

                – Konstantin
                Feb 21 '17 at 8:00





                For me this was the easiest, basically use the "Add Roles and Features Wizard" easily reached from Server Manager, with an alternative source. Thanks!

                – Konstantin
                Feb 21 '17 at 8:00











                0














                I specified C:WindowsWinSXS as the alternate source path. This will fail half the time on the first go round, but it seems to eventually work.



                I did it this morning with no issues and it completed on the first try.






                share|improve this answer






























                  0














                  I specified C:WindowsWinSXS as the alternate source path. This will fail half the time on the first go round, but it seems to eventually work.



                  I did it this morning with no issues and it completed on the first try.






                  share|improve this answer




























                    0












                    0








                    0







                    I specified C:WindowsWinSXS as the alternate source path. This will fail half the time on the first go round, but it seems to eventually work.



                    I did it this morning with no issues and it completed on the first try.






                    share|improve this answer















                    I specified C:WindowsWinSXS as the alternate source path. This will fail half the time on the first go round, but it seems to eventually work.



                    I did it this morning with no issues and it completed on the first try.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 16 '16 at 14:37









                    3498DB

                    15.7k114762




                    15.7k114762










                    answered Nov 16 '16 at 13:52









                    LvilleSystemsJockeyLvilleSystemsJockey

                    1




                    1























                        0














                        If mounting a https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 still fails, We determined a minor tweak to Eis's SUPERB INSTRUCTIONS March 19th/2016 was the last inch for success.



                        Downloading and mounting 2012 Server R2 install ISO is key, but we had to switch to the mounted drive lettersources directory and load the NEWER R2 v9600 version of the DISM executable. Just mounting the ISO and specifying the /source location failed to complete or even initiate any progress of installation since Windows was using the version 9200 of DISM that apparently hates the /source switch but only reported as much inside the %systemroot%LogsDISMdism.log.
                        The error explicitly described /sources as and UNKNOWN switch and thus was doomed to silent failure without properly mounting the R2 source ISO.



                        It was necessary to hard specify the newer version of DISM.exe 9600 inside the mounted ISO by changing directories to the mounted ISO path of dism.exe.



                        cd /d d:sources && .dism.exe /online  /enable-feature    featurename:NetFX3ServerFeatures **/Source**:d:sourcessxs /LimitAccess
                        cd /d d:sources && .dism.exe /online /enable-feature /featurename:NetFX3 **/Source**:d:sourcessxs /LimitAccess


                        The command processor output will immediately specify whether you're executing the required version of dism.exe




                        *Deployment Image Servicing and Management tool

                        **Version: 6.3.9600.17031**

                        Image Version: 6.2.9200.16384

                        Enabling feature(s)

                        [==========================100.0%==========================]

                        The operation completed successfully.

                        Restart Windows to complete this operation.

                        Do you want to restart the computer now? (Y/N) n*

                        This was executed on a freshly turned up 2012 Server with only the Windows Update Agent v2 installed:

                        Windows Update Agent 7.8.9200.16927
                        Windows Update Agent 7.8.9200.16924


                        Windows Update Agent 7.8.9200.16927
                        Installation date: ‎01‎31‎2017 1304PM
                        Installation status: Succeeded
                        Windows Update Agent 7.8.9200.16927
                        Installation date: ‎01‎31‎2017 1304PM
                        Installation status: Succeeded






                        share|improve this answer






























                          0














                          If mounting a https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 still fails, We determined a minor tweak to Eis's SUPERB INSTRUCTIONS March 19th/2016 was the last inch for success.



                          Downloading and mounting 2012 Server R2 install ISO is key, but we had to switch to the mounted drive lettersources directory and load the NEWER R2 v9600 version of the DISM executable. Just mounting the ISO and specifying the /source location failed to complete or even initiate any progress of installation since Windows was using the version 9200 of DISM that apparently hates the /source switch but only reported as much inside the %systemroot%LogsDISMdism.log.
                          The error explicitly described /sources as and UNKNOWN switch and thus was doomed to silent failure without properly mounting the R2 source ISO.



                          It was necessary to hard specify the newer version of DISM.exe 9600 inside the mounted ISO by changing directories to the mounted ISO path of dism.exe.



                          cd /d d:sources && .dism.exe /online  /enable-feature    featurename:NetFX3ServerFeatures **/Source**:d:sourcessxs /LimitAccess
                          cd /d d:sources && .dism.exe /online /enable-feature /featurename:NetFX3 **/Source**:d:sourcessxs /LimitAccess


                          The command processor output will immediately specify whether you're executing the required version of dism.exe




                          *Deployment Image Servicing and Management tool

                          **Version: 6.3.9600.17031**

                          Image Version: 6.2.9200.16384

                          Enabling feature(s)

                          [==========================100.0%==========================]

                          The operation completed successfully.

                          Restart Windows to complete this operation.

                          Do you want to restart the computer now? (Y/N) n*

                          This was executed on a freshly turned up 2012 Server with only the Windows Update Agent v2 installed:

                          Windows Update Agent 7.8.9200.16927
                          Windows Update Agent 7.8.9200.16924


                          Windows Update Agent 7.8.9200.16927
                          Installation date: ‎01‎31‎2017 1304PM
                          Installation status: Succeeded
                          Windows Update Agent 7.8.9200.16927
                          Installation date: ‎01‎31‎2017 1304PM
                          Installation status: Succeeded






                          share|improve this answer




























                            0












                            0








                            0







                            If mounting a https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 still fails, We determined a minor tweak to Eis's SUPERB INSTRUCTIONS March 19th/2016 was the last inch for success.



                            Downloading and mounting 2012 Server R2 install ISO is key, but we had to switch to the mounted drive lettersources directory and load the NEWER R2 v9600 version of the DISM executable. Just mounting the ISO and specifying the /source location failed to complete or even initiate any progress of installation since Windows was using the version 9200 of DISM that apparently hates the /source switch but only reported as much inside the %systemroot%LogsDISMdism.log.
                            The error explicitly described /sources as and UNKNOWN switch and thus was doomed to silent failure without properly mounting the R2 source ISO.



                            It was necessary to hard specify the newer version of DISM.exe 9600 inside the mounted ISO by changing directories to the mounted ISO path of dism.exe.



                            cd /d d:sources && .dism.exe /online  /enable-feature    featurename:NetFX3ServerFeatures **/Source**:d:sourcessxs /LimitAccess
                            cd /d d:sources && .dism.exe /online /enable-feature /featurename:NetFX3 **/Source**:d:sourcessxs /LimitAccess


                            The command processor output will immediately specify whether you're executing the required version of dism.exe




                            *Deployment Image Servicing and Management tool

                            **Version: 6.3.9600.17031**

                            Image Version: 6.2.9200.16384

                            Enabling feature(s)

                            [==========================100.0%==========================]

                            The operation completed successfully.

                            Restart Windows to complete this operation.

                            Do you want to restart the computer now? (Y/N) n*

                            This was executed on a freshly turned up 2012 Server with only the Windows Update Agent v2 installed:

                            Windows Update Agent 7.8.9200.16927
                            Windows Update Agent 7.8.9200.16924


                            Windows Update Agent 7.8.9200.16927
                            Installation date: ‎01‎31‎2017 1304PM
                            Installation status: Succeeded
                            Windows Update Agent 7.8.9200.16927
                            Installation date: ‎01‎31‎2017 1304PM
                            Installation status: Succeeded






                            share|improve this answer















                            If mounting a https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 still fails, We determined a minor tweak to Eis's SUPERB INSTRUCTIONS March 19th/2016 was the last inch for success.



                            Downloading and mounting 2012 Server R2 install ISO is key, but we had to switch to the mounted drive lettersources directory and load the NEWER R2 v9600 version of the DISM executable. Just mounting the ISO and specifying the /source location failed to complete or even initiate any progress of installation since Windows was using the version 9200 of DISM that apparently hates the /source switch but only reported as much inside the %systemroot%LogsDISMdism.log.
                            The error explicitly described /sources as and UNKNOWN switch and thus was doomed to silent failure without properly mounting the R2 source ISO.



                            It was necessary to hard specify the newer version of DISM.exe 9600 inside the mounted ISO by changing directories to the mounted ISO path of dism.exe.



                            cd /d d:sources && .dism.exe /online  /enable-feature    featurename:NetFX3ServerFeatures **/Source**:d:sourcessxs /LimitAccess
                            cd /d d:sources && .dism.exe /online /enable-feature /featurename:NetFX3 **/Source**:d:sourcessxs /LimitAccess


                            The command processor output will immediately specify whether you're executing the required version of dism.exe




                            *Deployment Image Servicing and Management tool

                            **Version: 6.3.9600.17031**

                            Image Version: 6.2.9200.16384

                            Enabling feature(s)

                            [==========================100.0%==========================]

                            The operation completed successfully.

                            Restart Windows to complete this operation.

                            Do you want to restart the computer now? (Y/N) n*

                            This was executed on a freshly turned up 2012 Server with only the Windows Update Agent v2 installed:

                            Windows Update Agent 7.8.9200.16927
                            Windows Update Agent 7.8.9200.16924


                            Windows Update Agent 7.8.9200.16927
                            Installation date: ‎01‎31‎2017 1304PM
                            Installation status: Succeeded
                            Windows Update Agent 7.8.9200.16927
                            Installation date: ‎01‎31‎2017 1304PM
                            Installation status: Succeeded







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Mar 3 '17 at 8:03









                            bertieb

                            5,582112442




                            5,582112442










                            answered Mar 3 '17 at 6:49









                            shatterproofwindows.blogspotshatterproofwindows.blogspot

                            1




                            1






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Super User!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f850963%2finstall-net-framework-3-5-sp1-offline-on-server-2012-r2%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Probability when a professor distributes a quiz and homework assignment to a class of n students.

                                Aardman Animations

                                Are they similar matrix