How to install DotNet 2.0 or 3.5 on Windows 10

Updated on 2015/10/4: Update the screenshots to Windows 10, however, applies to Windows 8/8.1/10

Windows 10 includes the 2.0, 3.5 and 4.5 versions of the .NET Framework. However, only 4.5 is available for immediate use after a clean install. The versions 2.0 and 3.5 of the framework are not installed by default. If you open the Add/Remove Windows Features dialog you’ll see the “Microsoft .NET Framework 3.5 (includes .NET 2.0 and 3.0)” listed, but disabled.

image

To install DotNet 2.0 or 3.5 on Windows 10,

  1. Go to Control Panel –> Programs –> Get Programs
  2. Click Turn Windows features on or off
  3. Check .NET Framework 3.5 (includes .NET 2.0 and 3.0)
  4. Click OK.

This Microsoft .Net Framework 3.5 feature contains both the 2.0 and 3.5 versions of the Framework, so you won’t install standalone 2.0 Framework.

Actually for .NET 3.5,  you don’t need to manual install it. When user runs an app that requires .NET 3.5 runtime, Windows 10 will prompt automatically Turn Windows features on or off dialog walk thru user enable .NET 3.5.

image

Note that install through Windows Auto Update does not work if you don’t have an Internet connection or you will be receiving 0x800F081F or 0x800F0906 error, this usually happens on virtual machines. You can workaround this by running following from elevated command prompt

dism /online /enable-feature /featurename:NetFx3 /all /source:<WinSource>sourcessxs

NOTE: please ensure you replace <WinSource> with appropriate path to your Windows installation source. It could be either the drive of your DVD if you inserted into a DVD drive or the path where your ISO was extracted to if you are using ISO. For example, if you have Windows USB/DVD media on E drive, run

dism /online /enable-feature /featurename:NetFx3 /all /source:e:sourcessxs

25 thoughts on “How to install DotNet 2.0 or 3.5 on Windows 10”

  1. Here’s the exact point.
    We’re here because we’re trying to find out a solution about installing NET.Framework 3.5 without accessing the internet. Is it possible or is it not, right ?

    So the relevant answer is should be possible or impossible, right ?
    If it is possible, how then ?

    I have the same problem too, and figuring out is still a matter for me.
    Maybe microsoft made it so,

  2. DISM failed with Error: 0x800f0906. I found a workaround to install DotNet 3.5 offline.
    dism /online /enable-feature /featurename:NetFx3 /all /source:YourWindowsCDPathsourcessxs. HTH

  3. Thanks, the offline solution is working for me.
    1.x:sourcesSxS is the path to your mounted ISO.
    2. make sure the command is all on one line.

    1. Always try by using copy/paste method bcoz when we try by typing command mannually we forget to give space between command letters (I.e online _/enable-feature_/).
      It gives error 87.
      Proper command is…
      dism /online /enable-feature /featurename:NetFx3 /all /source:e:sourcessxs
      where “e” is dvd drive letter

  4. I used the following code:

    Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:net35 /LimitAccess

  5. I have over 2o computers to install OS and dotnet3.5.
    Its very painful to install manually on all those 20 machines.
    Is there a way to edit the installation image(install.wim) so that dotnet 3.5 is installed by default same as dotnet 4.5.
    Any advice much appreciated.

  6. I already deleted the source ISO.

    I am running on a VM which does not have internet access. Is there any orther workaround?

  7. Hi when i try to run this on a x64 machine it raises an error that says something like:
    Error: 11
    you cannot use dism of 32 bits on a OS x64
    use a DISM compatible with your architecture
    can you help me

Leave a Reply

Your email address will not be published.