# How to install .NET Framework 2.0 and 3.5 on Windows 8 in Offline Mode


I have installed Windows 8 few days back. And during some initial programs setup I noticed that Windows 8 does not include .NET 3.5 (include .NET 2.0 and 3.0) by default. However it did contained the setup in the OS disc.

So question is, How to install the .NET framework 3.5 including .NET 2.0 and 3.0 ?

**Solution is answered as below.**

I had found my solution on Microsoft support ? here.

This an Re-post of the same with corrections.

Steps below shows how we can install /enable the _.NET Framework 3.5 (include .NET 2.0 and 3.0)_ feature in offline mode i.e. without using internet:

**Step 1**: Insert Windows 8 DVD or mount ISO image. The source of this feature can be found in folder _E:\\sources\\sxs_ (In this case E: drive letter will be on which Windows 8 Media is located).

<figure>

![Windows 8 Media folder view](images/2785191-300x285.png)

<figcaption>Windows 8 Media folder view</figcaption>

</figure>

**Step 2**: Open cmd.exe (Command Prompt) with Administrative Privileges.

**Step 3**: Run the following command

```
dism.exe /online /enable-feature /featurename:NetFx3 /All /Source:"E:\sources\sxs" /LimitAccess
```

and then hit Enter.

<figure>

![Command Prompt showing installation of the feature.](images/cmd-screen-300x151.png)

<figcaption>Command Prompt shows installation of the feature completed.</figcaption>

</figure>

 

**Finish:** After completing the installation of .NET Framework 3.5 you can see that the feature is enabled as shown in the screenshot below.

<figure>

![Windows features showing installed .NET 3.5](images/2785192-300x262.png)

<figcaption>Windows features displays .NET 3.5 installed.</figcaption>

</figure>

 

## Related articles

- [Install .Net Framework 3.5 in Windows 8](http://microcybersoft.wordpress.com/2013/05/01/install-net-framework-3-5-in-windows-8/)
- [How to Enable .NET Framework 3.5 offline on Windows 8 ?](http://mstechspot.wordpress.com/2013/04/13/how-to-enable-net-framework-3-5-offline-on-windows-8/)
- [How to add Microsoft .NET Framework 4.0 as Application Pool on IIS 7](http://alwinperotti.wordpress.com/2013/04/22/how-to-add-microsoft-net-framework-4-0-as-application-pool-on-iis-7/)
- [Where Is .NET Headed?](http://odetocode.com/blogs/scott/archive/2013/05/15/where-is-net-headed.aspx)


