Enabling .NET Framework on Windows 8

The .NET Framework 4.5 is included with Windows 8 and installed on your computer with the Windows 8 operating system. But the .NET Framework 3.5 is not automatically installed with Windows 8. So whenever you will try to install any software / app on you computer which uses this framework will ask to first install such .NET framework 3.5.

So to run apps that require the .NET Framework 3.5 on Windows 8, you must enable version 3.5 on your computer. There are two ways you can do this: by installing or running an app that requires the .NET Framework 3.5 (that is, by installing the .NET Framework 3.5 on demand), or by enabling the .NET Framework 3.5 in Control Panel. Both options require an Internet connection. You can use DISM (Deployment Image Servicing and Management) to enable it directly from ISO image file or DVD.

Now either your software(which requires .NET framework ) setup will automatically install the framework on Demand using internet, or you can manually install it from control panel. In Control Panel, choose Programs and Features, choose Turn Windows features on or off, and then select the .NET Framework 3.5 (includes .NET 2.0 and 3.0) check box. This option requires an Internet connection. You do not need to select the child items for Windows Communication Foundation (WCF) HTTP activation unless you are a developer who requires WCF script and handler mapping functionality.

If you cannot connect to the Internet, you can enable the .NET Framework 3.5 by using the Deployment Image Servicing and Management (DISM) command-line tool and specifying the installation media (ISO image or DVD) you installed Windows 8 from.

  1. In Windows 8 or Windows Server 2012, open a Command Prompt window with administrative credentials (that is, choose Run as administrator).
  2. To install the .NET Framework 3.5 from installation media located in the D:\sources\sxs directory, use the following command:DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxswhere:
    • /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 (in this example, the D:\sources\sxs directory).

    For more information about DISM parameters and options, see How to Enable or Disable Windows Features

IF THIS DOESN’T WORK THEN YOU CAN REMOVE /All and /LimitAccess from above command, it may work fine 🙂

Advertisements

6 thoughts on “Enabling .NET Framework on Windows 8

  1. Hi there, just became aware of your blog through
    Google, and found that it’s really informative. I’m gonna watch out for brussels.
    I will be grateful if you continue this in future.
    Numerous people will be benefited from your writing.

    Cheers!

  2. Hello There. I found your blog using msn. This is a really well written article.

    I’ll be sure to bookmark it and come back to read more of your useful information. Thanks for the post. I’ll certainly
    comeback.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s