How to Install .NET Framework 3.5 in Windows 8 or Windows 8.1?


It was not as smooth as I thought while installing the Windows 8.1 as a fresh OS in my laptop. Though the OS and other major software installation was smooth, but I faced lots of issues while installing some software's that need .NET Framework 3.5.

 

Did lots of analysis, tried various methods to install the framework but all failed. At the end I got an perfect solution which resolved the problem. Thought to share in case you faced similar, will help you.

Issue

As I formatted my hard drive and installed Windows 8.1 Preview as a fresh operating system, my system was completely blank and I had to install all the other softwares one by one. This is really a hectic job but it should not be that much problematic if the Windows installation provided me the .NET Framework 3.5 by default.

 

Yes, I faced hell lot of issues installing .NET Framework in Windows 8.1 as it was needed by some software like Live Essential 2012. Though I was trying to install it from various package, it was asking me all the time to install .NET Framework 3.5. I was shocked when I saw the system asking me to Install .NET Framework 3.5 before installing .NET Framework 3.5. Did I mentioned anything wrong here? No, I wrote it correct. The system was asking me to install .NET Framework 3.5 before continuing the installation of .NET Framework 3.5.

 

The things that I tried

Let’s discuss what are the things that I tried. If you want to know only the solution, just go to the next point else continue reading the struggle that I faced with this installation.

 

I had the .NET Framework 3.5 installer package available in my software collection already and first I tried to install from there when I saw the below screen when trying to install the Windows Live Essential 2012. This is common because the Live Essential need Framework 3.5 to execute. I know it already from my past experience with the software.

 

Framework issue 1

My struggle starts at this point when I saw the same screen when trying the install the package i.e. install .NET Framework 3.5 to install the .NET Framework 3.5 itself. Isn’t it too annoying when it placed itself in a deadlock? That’s a perfect example.

 

I tried it twice from the same installation package and when failed, tried to download the installer from online by clicking the “Download and install this feature” button from the wizard. My bad, that threw me an Error Code: 0x800F081F with a message stating “Windows couldn’t find required files”, that means, the installer package link has been moved to a different location.

 

In the next step, I downloaded a new installer package from Microsoft Download Centre, same happened. WTH!!! Now I tried downloading it from the MSDN subscriber page. Had a bad luck for sure. Got the same screen with the same error message. Tried searching online and then tweeted about the error and the “Windows Support Team” replied. They asked me to post a Forum thread stating the issue. OMG! They don’t have the answer too! I spent a huge time (it’s more than 3 hours I assume) to find out the issue and finally left the PC intact, posted a forum thread and went to sleep as it was late night in India already.

 

Install .NET Framework 3.5 from Windows features pageIn the morning I woke up early (generally I don’t) and tried installing the same again but didn’t get any clue what’s going wrong here. Didn’t get any proper solution in the forum too. I don’t think some one already faced and/or solved this issue. In the next step of my struggle, I tried to install it from the Control Panel –> Programs and Features –> Turn Windows features on or off –> .NET framework 3.5 (includes .NET 2.0 and 3.0), as shown here but that was also not a good try for me.

 

Tried searching in the Windows 8.1 installation media but didn’t find any redistributable package of the framework inside the ISO image. If it is require by few applications, why don’t Microsoft provide it with the Windows OS itself. This way the end user will not suffer a lot downloading and installing it. That’s a good thought but when I posted it in my Facebook page, got different replies from different people. That’s a long story. Will not cover that here but yes, it comes with the Windows package but not available as part of the installation by default. Read my next point to know more about it.

 

Final Solution

Finally, I found a solution in an MSDN article (shared by Suprotim Agarwal sir) which helped me to resolve the issue. When this kind of issue happens with the .NET Framework installer package, we can install it directly from the Windows installation media using the “Deployment Image Servicing and Management” tool, in short DISM command line tool,  that helps you to extract the image from the Windows installer package and install it in the system.

 

The .NET Framework package is available under the “sources\sxs” folder of the Windows installation media and if you try to find the framework installer, you will not get it there. You have to use the DISM tool for that.

 

To install the .NET Framework from the Windows installation media, open the “Command Prompt” in administrator mode and provide the following command:

 

DISM  /Online  /Enable-Feature  /FeatureName:NetFx3  /All  /LimitAccess  /Source:x:\sources\sxs

where:

    • /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 x:\sources\sxs directory).

Once I provided the above command in the console window, it started installing it from the Windows Installation Media. In my case, it was the ISO image of the Windows 8.1 Preview mounted to a virtual DVD ROM.

 

My Question to Microsoft

Why .NET 2.0, .NET 3.0 and .NET 3.5 are not part of the standard Windows installationAfter struggling a lot, my simple question to the Microsoft Windows team who packed the installer: Why don’t you provide the said and required frameworks installed by default with the Windows installation? When I asked the same question to my friends available in Facebook, I got many stated that it would be a huge install and hence will take a lot of time. Someone stated that, it would need a big installation media and hence it would not be accommodated within a 3GB ISO image.

 

.NET Framework is not too huge. Max to max it will take 250-300 MB additional space if not already provided within the ISO image. If it comes with the default installation, people will not face such kind of issues that I faced while installing .NET Framework 3.5. As it is used by many applications till date, it would be a good idea to pack it as the standard installation of the OS.

 

The good news is: it comes by default with the Windows Installer package but the bad news is: it comes as an optional component. Hence, it will not make the installation media a bigger one as it is already there. Just the point is that, we don’t know (in general) that it comes by default with the package which we can directly install using the DISM tool without downloading additional setup from internet.

 

So, the question again comes: “Why .NET 2.0, .NET 3.0 and .NET 3.5 are not part of the standard Windows installation?” and I am still inside a dark big cloud until I get a suitable answer from Microsoft. I know, you will also like to get this answered from Microsoft and will be glad if they provide it by default with the Windows Installation.

Credit

It was a long post I know but I wanted to share with you my experience struggling to find the solution. It might take some amount of time reading the whole post without directly providing the solution but I know, it will be a good read for you to understand the whole thing. If you already faced the same issue, you will not have to do the same struggle and directly fix it by using the same steps with the DISM tool mentioned in the “Final Solution” section above.

 

If you had the same experience earlier before reading this post, share the same with us. Thanks to Suprotim Agarwal sir once again for helping me to resolve the issue. Also my sincere thanks to all those friends who helped me with various steps. I assume that this post will help you in future. Don’t forget to share it to your friends or network and help them to gain the same knowledge that we learnt.


76 comments

  1. Good post Kunal. You had a tough time.

    ReplyDelete
    Replies
    1. I want to know why hasn't someone created a simple app to install 3.5???....please someone help us

      Delete
  2. I'm going to try this tomorrow. I am experiencing the same issue on my Windows 8.1. I wish it would just work!

    ReplyDelete
  3. Thanks for your post, Kunal. I'm an Internet Software Vendor and thinking about if it's a good decision to be a Microsoft technologies user.

    ReplyDelete
  4. Thanks for your post, Kunal. I'm an Internet Software Vendor and thinking about if it's a good decision to be a Microsoft technologies user.

    ReplyDelete
  5. Great post! I'm sorry that you had to struggle through such a tough time finding the answer, but I am thankful that you took the time to share your findings as it was really helpful for me and solved my problem immediately.

    ReplyDelete
  6. Hey bro.
    : myself dinesh zaladekar from goa
    dineshzaladekar@yahoo.in:
    .
    there is a small mistake in that because i installed windows blue(8.1)
    and i myself an a developer so i needed it urgently and i tried downloading and after using 50 mb it said please check your internet settings and guys please note there is no space between sources\sxs and thankz mister kunal for your wonderful post which saved my trouble which you went through

    ReplyDelete
  7. Hey bro.
    : myself dinesh zaladekar from goa
    dineshzaladekar@yahoo.in:
    .
    there is a small mistake in that because i installed windows blue(8.1)
    and i myself an a developer so i needed it urgently and i tried downloading and after using 50 mb it said please check your internet settings and guys please note there is no space between sources\sxs and thankz mister kunal for your wonderful post which saved my trouble which you went through

    ReplyDelete
  8. This worked. Helped me. Thanks. :)

    ReplyDelete
  9. it not worked for win 8.1

    ReplyDelete
  10. Hi Kunal, I tried what you said, but I am facing this issue : Use the "Source" option to specify the location of the files that are required t
    o restore the feature. For more information on specifying a source location, see
    http://go.microsoft.com/fwlink/?LinkId=243077. Even though I am providing the source correctly.

    ReplyDelete
    Replies
    1. Hi Praveen,

      Did you change the "x:" to the drive letter of the Windows Installation DVD. Please provide me the whole command that you have used.

      Delete
  11. your post was very useful to me :) thank you. In my case, the installation media was a bootable USB drive

    ReplyDelete
  12. Thanks! Excellent post!

    ReplyDelete
  13. Thank you Mr.Kunal for this usefull information

    ReplyDelete
  14. I am sick of this dot net stuff. i have tried everything on the net but the installation is nat working on my windows 8-------------which means i cant play fifa 14----i have 8gb ram laptop wiz z best graphics and still cant play z game because of this

    ReplyDelete
  15. Same here. Tried exactly and everything you have suggested but still facing deadend. I have found a video that shows the same solution as here but with a twist. He disables the ethernet port!
    I tried that but windows doesn't let me disable it..
    Any ideas?

    ReplyDelete
  16. Same here. Tried exactly and everything you have suggested but still facing deadend. I have found a video that shows the same solution as here but with a twist. He disables the ethernet port!
    I tried that but windows doesn't let me disable it..
    Any ideas?

    ReplyDelete
  17. I will try to reinstall the ehternet port driver (which I am curious where can I find) so I can disable it and try reinstall framework...
    Btw here is the video I am talking about: http://www.youtube.com/watch?v=dzS55GqUe9w

    ReplyDelete
  18. btw here is the video I am talking about: http://www.youtube.com/watch?v=dzS55GqUe9w

    ReplyDelete
  19. Thank you. I also had faced the problem and cannot install such softwares that needed .net 3.5. I will try this method.

    ReplyDelete
  20. Thank you very much indeed. I had taken me half day to install it over and over with a couple of methods I got through the internet websites, but just failed.. Extremely frustrating.. And now, it only took me 20 seconds to get it done smoothly thanks to this post. God bless you, Kunal !

    ReplyDelete
  21. Voila ! ..After it had taken me half a day to try it with many methods I got through internet websites, installing that damn NetFramework 3.5 over and over..only to get failed..Now, with this wonderful info from Kunal, it took me 20 seconds to have it installed smoothly.. Thanks a sea again Kunal. We really need guys like you to help unknown ppl who are getting frustrated with stupid stuffs like that.

    ReplyDelete
  22. Have ? I done just what you said above typed in as you said above keep getting same response Featurename option is unknown now what I have windows 8.1

    ReplyDelete
    Replies
    1. Do you have the complete installation media of your Windows 8.1 (DVD)?

      Delete
  23. can someone pls upload their sxs folder file for windows 8.1? :( my DVD got broken. thanks a lot

    ReplyDelete
  24. Can anyone please upload their sxs folder file for windows 8.1 x64? :( my DVD got corrupted. please help. thanks a lot

    ReplyDelete
  25. I'm facing the same problem, but my dism command is not working. It does not recognize the enable-feature and source options. In fact, the error log states that "source option is not recognized" and (surprise!) "you must use 'source' option to inform the path". I'm pretty helpless here.

    ReplyDelete
    Replies
    1. Did you specify the command properly? Here is that for you once again:
      DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:x:\sources\sxs

      Make sure to change the Drive Letter properly. Here I used "x" drive.

      Delete
    2. Yes, I did specify it properly. It keeps saying that /Source is an unknown option and asking me to use the /Source option.

      We just decided to downgrade my machine to Windows 7. Thanks for your attention.

      Delete
  26. I kept getting similar messages and think it has to do with .Net 4 Client Profile and Extended already being installed. Try it again with no other .Net versions on the machine. That's what finally worked for me.

    ReplyDelete
  27. YEAH NICE POST BUT I THINK THE MAIN THING IN THE INSTALLATION IS TO NOTE THE DRIVE YOU ARE INSTALLING FROM

    ReplyDelete
  28. its very helpful, thanks a lot mate

    ReplyDelete
    Replies
    1. Glad to know that, it helped you. Thanks for sharing the feedback.

      Delete
  29. For windows8 Tech Support
    Contact:1-800-935-0537
    http://www.computertechsupport.us/

    ReplyDelete
  30. Thanks a lot...It works for me...

    ReplyDelete
  31. Thanks a lot...It works for me as well.

    ReplyDelete
  32. Great Information admin thanks For Your Information and Any body wants
    learn .net through Online for Details Please go through the Link

    Online .net Training with free Demo class in USA | UK | INDIA | SINGAPORE

    This Will Helps you allot.

    ReplyDelete
  33. Hi Kunal,
    I recently bought Surface Pro 2. I am having the same problems as you ad with the .net framework 3.5. But I cannot solve the problem as you suggested because the tablet comes with pre-installed windows 8.1. Can you please suggest?
    Thanks.
    Rob

    ReplyDelete
  34. My windows 8.1 pro tries to enable the feature, gets to 65.8%, then says
    Error: 0x800f081f The source file could not be found. Could this be because I upgraded from windows vista to windows 8 pro? There is an ISO on my desktop that was downloaded the run for the upgrade. I burned it to dvd before following your directions. I may just burn the full ISO to a dvd, see if that helps.

    ReplyDelete
  35. how to find source ? whrs is it available ? pls..

    ReplyDelete
    Replies
    1. If you are installing from DVD, this would be your source "x:\sources\sxs" where 'x' is the DVD drive letter. If you are installing from a different path it might look like this "x:\INSTALLER_PATH\sources\sxs", where 'x' is the drive letter and INSTALLER_PATH is the path of the installer directory.

      Delete
  36. I have a same problem. I tired all the steps but at last the msg flash that framework installation failed

    ReplyDelete
  37. my .net framework setup is in (path) - F:\FIFA 14\Redistributables
    and file name is - dotnetFx35setup
    can you plz give me the command for the following path......
    thanx bro :)

    ReplyDelete
    Replies
    1. Hi Nikhil,

      The source you are trying to access should be in your Windows installation media folder (wither a DVD or local copy in your hard drive). As you already have the dotnetFx35setup file, just double click the executable and it should install it properly.

      If that fails (as mentioned in the blog post), you will need the Windows installation media to install the same.

      Let me know, if you are facing any troubles.

      Kind Regards,
      Kunal Chowdhury

      Delete
  38. Tried this, got to 66.5% and fails. Error: "The source files could not be found." I get this despite the fact that the Windows installation media is valid and in the correct location. I also changed the drive letter accordingly. Looks like another dead end. Good God, Microsoft royally screwed up on this one.

    ReplyDelete
  39. Thanks for your article. Unfortunately it did not work for me (Yes, I changed the drive letter to match where my source files are located). The progress stopped at 66.5% with a message stating The source files could not be found. I tried it through the Control Panel as well (Turn Windows Features on or off) with no success. It stated that Windows couldn’t connect to the internet to download necessary files (Yes, I am connected to the internet) Sad thing is… all I want to do is play The Sims 3 (one of the few games I play) and it requires the .NET 3.5 Framework. Odd thing about all of this is that The Sims 3 was working on my previous build of Windows 8.1 (I just upgraded my motherboard, CPU & Memory). Any other suggestions? Microsoft had the gall to want to charge me $99 to further assist me when this feature should easily install with either of the two methods (Turn Windows Features on or off or through the DISM method). I even tried a suggestion that involved updating a group policy. That did not work either. I am at a complete loss here. Something so simple has consumed way too much of my time.

    ReplyDelete
  40. will it work in fake windows,.......

    ReplyDelete
  41. I can list 10 different methods I've used to get .net 3.5 installed on my Win 8.1 machine including this one and nothing works. I can tell you now that this is in most cases an image issue if the above method does not work. The reason I say this is that I have tested this on 2 Win 8.1 machine mounting the exact same image on both for the source. The first machine fly’s through the install using DISM without a hitch where the second Win 8.1 machine fails each time with error 0x800f081f "The source file cannot be found".

    I consider myself a technically advanced individual but I’m completely stumped on why this doesn’t work on some and works on others. I have scrubbed the registry and even manually added the .net 3.5 container source and it still fails. There needs to be a subtle difference in the image somewhere that’s causing the issue but I’m just not patient enough to find it.

    I guess what I am trying to say is that if you’ve spent hours, or even days trying to get this down on your box and nothing works I would count your loss and reimage. I know this option blows but take it from someone who has tried EVERYTHING, I guarantee reimaging will take a fraction of the time it takes to find a solution if you haven’t found one yet.

    ReplyDelete
    Replies
    1. I had the same problem and https://support.microsoft.com/kb/3005628 fixed it.

      Delete

  42. This is what I found. There are two Microsoft Security updates for .NET Framework 3.5, KB2966826 and KB2966828. If they are installed prior to the installation of .NET Framework 3.5 it is impossible to install .NET Framework 3.5. Therefore, I uninstalled the above two Security updates before attempting the installation. I then went to Control Panel > Programs and Features > Turn Windows features on or off > and checked .NET framework 3.5 (includes .NET 2.0 and 3.0). The necessary files were downloaded and installed. A network connection was required. In the next Windows Update the above Security updates were re-installed.

    ReplyDelete
    Replies
    1. Very nice Stephen. I think, you had a tough job to find out this solution. Thanks for sharing your findings with the community.

      Kind Regards,
      Kunal Chowdhury

      Delete
    2. OMG Stephen, THANK YOU SO MUCH!!!!
      Finally, it worked!!!!!

      I think everyone should see this thing with the security updates.
      Also, MS crews should make an official post regarding this as well.

      Delete
    3. Thank you for sharing this Stephen - I have tried for days to resolve this issue and was just short of reinstalling entirely. Only your recommendation resolved my issue - .NET Framework 3.5 is happily downloading. Thanks to you for the recommendation and Kunal for kicking off the discussion!

      Delete
    4. Thank you soooo much! Stephen's answer resolved 2 days of turrets lol!

      Delete
    5. Lovin' you so much right now Stephen!
      This! Bloody Microsoft (from a semi-fanboy) BS. Uninstalled the 2 updates mentioned and it now started downloading instead of erroring from the turn windows features on/off. Yay

      Delete
    6. "There are two Microsoft Security updates for .NET Framework 3.5, KB2966826 and KB2966828. If they are installed prior to the installation of .NET Framework 3.5 it is impossible to install .NET Framework 3.5. "

      I didn't have either of those but KB2966827 was installed. On a whim I removed it and .NET 3.5 FINALLY installed in Server 2012 Essentials

      Delete
  43. This doesn't work at all! I can't install it, the stuff doesn't work

    ReplyDelete
  44. I first got an 0x800F0906 error now I''m getting a 0x800F081F error. Your solution did not work for me.

    Thanks anyway
    Mark Newson
    South Africa

    ReplyDelete
  45. Thanks Stephen after all the options I tried I found your answer at the bottom of the list. the security updates was the problem on my reinstall many thanks for working this one out.


    ReplyDelete
  46. For the last 2 days i was breaking my head to complete this, finally your article helped me out. Thnx a ton.

    ReplyDelete
  47. This comment has been removed by the author.

    ReplyDelete
  48. I tried everything I cant get it to work so i left it on 4.5 but does dayz require 3.5 I am planning to get it I know this sounds a bit out of place but could one of you give a helping hand cause I dont like wasting money I have a mac but I refuse to use bootcamp

    ReplyDelete
  49. Thank you, saved me.

    ReplyDelete
  50. hello, i installed windows 8.1 and i have tried to install the .net framework but am not successful. i have tried your procedure but my command prompt asks me to use elevated permissions to run DISM, how do i do it now. please help me.
    jonesratemo@gmail.com

    ReplyDelete
    Replies
    1. Hi Jones,

      Please run the command prompt with administrator privileges. Right click on the cmd file and run as administrator.

      Regards,
      Kunal Chowdhury

      Delete
  51. hey pls help me how to instal .net framework 3.5 in windows 8.1

    ReplyDelete
    Replies
    1. Please follow the same step mentioned in "Final Solution" section.

      Delete
  52. Hi,

    Here is a all in one, runtime installer which can install even more than just .net framework version. Works with Win XP, 7 and 8.

    ReplyDelete
  53. Many thanks. This saved me hours of troubleshooting.

    ReplyDelete
  54. Hey simple and working method
    Simply go to this site http://adf.ly/vEJrd and skip add
    and download the installer from the site

    ReplyDelete
  55. This page is dedicated for our Besant Technologies Reviews by our students. Please give your reviews here,

    Besant Technologies Complaints

    ReplyDelete


 
© 2008-2014 Kunal-Chowdhury.com | Designed by Kunal Chowdhury
Back to top