How to install DotNet 2.0 or 3.5 on Windows 8

Windows 8 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 8,

  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.1 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 8 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 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:<Win8Source>\sources\sxs

NOTE: please ensure you replace <Win8Source> with appropriate path to your windows 8 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 win8 USB/DVD media on E drive, run

dism /online /enable-feature /featurename:NetFx3 /all /source:e:\sources\sxs

22 thoughts on “How to install DotNet 2.0 or 3.5 on Windows 8

  1. hlainghtet

    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,

    Reply
  2. Jason

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

    Reply
  3. Pingback: Windows 8 CP: Activation and DotNet 3.5 « RosenRed

  4. Albert

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

    Reply
  5. Pingback: 维聚在线 » windows8如何顺利安装gogo6

  6. Muhammad S. Attari

    I used the following code:

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

    Reply
  7. Yareslk

    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.

    Reply
  8. Anonymous

    I already deleted the source ISO.

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

    Reply
  9. juniorfga

    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

    Reply

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>