Windows 8: Enable .NET Framework 3.5 (includes .NET 2.0 and 3.0) i.e. (NetFx3) feature in Online & Offline mode!

Windows 8: Enable .NET Framework 3.5 (includes .NET 2.0 and 3.0) i.e. (NetFx3) feature in Online & Offline mode!

  • Comments 351
  • Likes

I have been using Windows 8 for last few months. When Windows 8 CP released I installed CP & subsequently RP too. When I wanted to install some 3rd party application in my Windows 8 VM, I realized that these applications require .NET Framework 2.0 or 3.0 in few cases. Apparently my virtual machine does not have internet connection. Obviously the first step for us is to check the Program and Features to enable any available additional features in an Operating System. This is what you see in your Control Panel –> Program and Features. Click on Turn Windows features on or off.

Here you can see .NET Framework as a feature and by default the feature is disabled. You can enable this particular right away using this GUI Tool but in order to do that you need to be connected to internet i.e. Online Mode. Other way is using DISM Command and this can be done in an Offline Mode using Windows 8 installation media. Let’s see these 2 methods.

Method 1: When you are Online, connected to Internet.

In order to install the following window click on the .NET Framework 3.5 (included .NET 2.0 and 3.0) select it & click OK


Now, it will download the entire package from the internet & install the .NET Framework feature.

Method 2: When you are Offline and not connected to Internet

If you open CMD.EXE with Administrative Privileges i.e. at elevated level & run the this DISM command dism /online /get-features you will see that from the State that .NET Framework is not part of the Operating System.



So the first thing you need to do is to copy the required package to local machine before you run the command to install .NET Framework. To do that use Windows 8 ISO/DVD/USB Media. You need to copy SXS folder to local machine located at D:\sources\sxs (In this case D: your drive letter on which you have loaded Windows 8 Media)


You can also use the following command to copy this folder locally. xcopy d:\sxs\*.* c:\sxs /s

Once completed, in order to install this feature you can run the following command dism /online /enable-feature /featurename:NetFx3 /All /Source:C:\sxs /LimitAccess  and hit Enter


After completing the installation of .NET Framework 3.5 you can see that the feature is enabled in the Control Panel –> Program and Features


Bingo. Now you can enable .NET Framework feature on Windows 8 without needing of an internet connection.


Update: There was a small typo in the command, I missed including : between source:C:\. I did fix it. Thank you all for your comments & pointing that out :)

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Thanks a Milllion...I am using a 20kb connection and not able to download .net frame work offline

    This was so good


  • yarr mainu ta pta ni lageyak kive karna please tell me

  • thank u very much

    it workssss.......:)


  • Not sure why you copy the package to the local machine first? The following seemed to work just fine on my computer, E:\ being the Win8 RTM media on USB flash drive:

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

  • Hi Jmi,

    You can do it that way as well. But in case if you do no have access to the Windows media. Copying it locally helps a lot in most cases. That's the only reason.


  • Thnx very much :) ...

    Works flawlessly :D...

  • Hi aviraj,

    I have followed the above method you described about installing dotnet3.5 from the installtion medium(DVD,USB).

    My question is is there a way to enable it to install dotnet3.5 by default when the OS is installed.

    I need to install the OS to about 20 systems so it becomes troublesome to everytime manually install.

    Is there a way to make it automatically install using DISM.

    any input much appreciated.

  • Thank you very much.

    I spent hours figuring out how to install it offline. Your advice to copy over the sxs helped. Was missing this folder in my usb flash drive



  • Great post indeed. I really like that you are providing information on .NET for freshers , Being enrolled  at i found your information very helpful indeed. Thanks for it.

  • `dism /online /enable-feature /featurename:NetFx3 /All /SourceC:\sxs /LimitAccess'

    you have a missing colon between `Source' and `C:'

  • thanks for the post, i have applied in my desktop and laptop but i am having a problem in my laptop it was not installed

    c:windows\system32\dism /online /enable-feature /featurename:NetFx3 /All /Source:E:\sources\sxs /LimitAccess

    Error code: 87

    The sources option is not recognize in this context.

  • Thanx buddy really helpful

  • Thanks for help the community of professional like us.

  • offlin method give error 84 and not works