How To Activate the .NET Framework 3.5 on Windows 8 Without Internet Access



Summary:  Milad Aslaner, a Microsoft Premier Field Engineer (PFE) based in Germany, walks us through how you can activate the .NET Framework 3.5 on Windows 8 when you don’t have access to the Internet.  Enjoy!


Microsoft Windows LogoI had to install SQL Server 2012 on my lab computer today. For those of you who follow my blog posts, you might be a little bit surprised why a Desktop PFE is starting talking around SQL, but don’t worry,  this article is still about the Windows Desktop.

One of the prerequisites for a complete SQL Server 2012 installation is that the operating system has the .NET Framework 3.5 installed.  As you might know, Windows 8 has the .NET Framework 4.5 built-in and you can optionally activate .NET Framework 3.5 using the Windows Features panel (see the image below), but the problem is that once you activate the .NET Framework 3.5 the computer will want to access to Microsoft servers on the Internet to get the binaries.

Windows Features - Adding the .NET Framework 3.5

But what do you do if you have no Internet connection? The solution emerges with the Windows 8 ISO and DISM. Have a look below for a quick step-by-step guide on how to install and activate the .NET Framework 3.5 without Internet access:

  1. Create a folder on your system drive called NET35 (example: C:\NET35)
  2. Mount your Windows 8 ISO file or DVD
  3. Copy the folder sources\sxs\ from the Windows 8 ISO into the newly created NET35 folder. I recommend using XCOPY for it, for example: 
    xcopy G:\sources\sxs\*.* C:\NET35 /s
    [Ed: Note that this copies the contents of the SXS folder into C:\NET35, but not the folder itself]
  4. Once you copy all the files, you can now utilize DISM to enable the .NET Framework 3.5 feature by entering the following command in an elevated command prompt (Start, Type “CMD”, press Ctrl+Shift+Enter or right-click the Command Prompt item and choose Run as Administrator): 
     DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\net35 /LimitAccess
    [Ed: Note the above is one line but may wrap in this blog depending on formatting – if in doubt, it should be typed as in the screenshot below.]

If everything runs smoothly you should now have the .NET Framework 3.5 installed without the computer needing access to the Internet.

clip_image003


Written by Milad Aslaner;  Posted by Frank Battiston, MSPFE Editor. Then mildly fiddled with by Tristan.

Comments (89)

  1. Anonymous says:

    man this so good…. thank you

  2. Anonymous says:

    error 14028

  3. Anonymous says:

    error 0x800f081f
    source files could not found

  4. Anonymous says:

    Works ..just do as he says

  5. Anonymous says:

    Got an Error: 0x800f081fThe source files could not be found.Use the “Source” option to specify the location of the files that are required to restore the feature.Please…help me to get rid…..

  6. Anonymous says:

    looks like you have used the 32Bit cmd.exe on a 64Bit Windows 8. Use the 64Bit cmd.exe and try again.

  7. dhaneesh says:

    i got an error

    You cannot service a running 64-bit operating system with a 32-bit version of DI

    SM.

    Please use the version of DISM that corresponds to your computer's architecture.

  8. Sumit Show says:

    Many many Thanxzzzzzzzzzzzzzzzzzzzz…………. :)

  9. Prabuddha says:

    Error : 0x800f081f

    the source files could not be found.

    Help plz

  10. williamkasaija says:

    i noticed it didnt work with this

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

    i had to add the subfolder too

    DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:net35sxs /LimitAccess

  11. T.G says:

    I haven't tried it yet.. i'm downloading the real deal from the net… but it sounds plausible

  12. T.G says:

    didnt work… error.. 87.. i'll just finish the online process

  13. Billu says:

    Thank you very much, it worked for me.

  14. Pritesh says:

    Is there any possibilities to play Windows 8 Xbox inbult games without internet connection…???? Like in Win7 inbuilt Games that we can play anytime without internet..

  15. Bayu says:

    thanks a bunch, it works like magic..

  16. thomas anton says:

    thanksssss a lot

    😀

  17. Erald.Sison says:

    It did't work. I already did what you said above but it keeps on giving me  "ERROR: 0x800f081f"

  18. bonyjose says:

    http://www.4shared.com/…/dotNetFx35_W8_x86_x64.html

    this file will do it simply without much effort,just download and install and you're good to go…

  19. rgm says:

    1. this doesn't work with win 8. it asks x64 dism command.

    2. will be grateful if you mention how to give elevated command thru dos.

  20. mohsen says:

    plz help me

    after type it  DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:net35 /LimitAccess

    to cmd

    i got this eror

    to find a version to your pc check with the software publisher

  21. phillmeister ruzy silencer says:

    ha ha ha!!! many thanx!! i did it! saved by internet package!!!

  22. Phantomkiller69 says:

    I got error on windows 8 pro…..

    like this!

    C:UsersMuammar>DISM.exe /online /enable-feature /feature

    ce:c:net35 /LimitAccess

    Error: 740

    Elevated permissions are required to run DISM.

    Use an elevated command prompt to complete these tasks.

  23. Arno says:

    Thanks man!! very cool. First time and worked!

  24. adedwisatya says:

    just like @williamkasaija said, you have to input your source like sxs ("DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:net35sxs /LimitAccess") and it's work to me

  25. Imrose says:

    Got an Error: 0x800f081f

    The source files could not be found.

    Use the "Source" option to specify the location of the files that are required to restore the feature.

    Please…help me to get rid…..

  26. imrose.today says:

    Got an Error: 0x800f081f

    The source files could not be found.

    Use the "Source" option to specify the location of the files that are required to restore the feature.

    Please…help me to get rid…..

  27. Gren says:

    @phantomkiller69 you need to be at an Administrator command prompt, hit Start, type CMD, and then hit Ctrl+Shift+Enter

    @imrose use the commands exactly, not wot you think you should do

  28. Sammy says:

    how can get the 64-bit version of the DISM?

  29. unkle pee says:

    To use the procedure as described above, first of all, kindly turn-off your firewall. that is it!

  30. rico365 says:

    To enable .net framework for Windows 8 -32 and 64 bit

    Create dotnet35 folder in c:

    Run cmd as administrator

    In cmd run xcopy d:sourcessxs*.* c:dotnet35 /s (this will copy all the files from your cd to the dotnet35 folder on your c:drive

    Navigate to C:windowssysnative

    Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:dotnet35 /Limitaccess

    And whala.

  31. praveen kumar says:

    I don't get …….

    The source files could not be found.

  32. @praveen kumar

    have you installed a MUI?

  33. Raghu says:

    use < cd .. > command and reach to C:> and then try …it will work

  34. Ishak Hanifa says:

    Hai…

    Thanks for your information

    I did the steps as per your instructions

    But i received like this commands

    Please give me the way of recover my problem….

    How can i activate dotnet framework 3.5 in my laptop..?

    C:Windowssystem32>DISM.exe /online /enable-feature /featurename:NetFX3 /All /S

    ource:c:NET35 /LimitAccess

    Deployment Image Servicing and Management tool

    Version: 6.2.9200.16384

    Image Version: 6.2.9200.16384

    Enabling feature(s)

    [===========================65.8%======                    ]

    Error: 0x800f081f

    The source files could not be found.

    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

    go.microsoft.com/fwlink.

    The DISM log file can be found at C:WindowsLogsDISMdism.log

  35. Khasrul Islam says:

    Brothers,

    I am facing problem installaing Netframe 3.5 with following error. Is there anyone who can help me?

    Thanks

    khasru

    C:>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:Z

    :sourcessxs

    Deployment Image Servicing and Management tool

    Version: 6.2.9200.16384

    Image Version: 6.2.9200.16384

    Enabling feature(s)

    [===========================65.8%======                    ]

    Error: 0x800f081f

    The source files could not be found.

    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

    go.microsoft.com/fwlink.

    The DISM log file can be found at C:WindowsLogsDISMdism.log

    C:>

  36. Khasrul Islam says:

    Brothers,

    I am facing problem installaing Netframe 3.5 with following error. Is there anyone who can help me?

    My email ID is write2khasru@gmail.com

    Thanks

    khasru

    C:>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:Z

    :sourcessxs

    Deployment Image Servicing and Management tool

    Version: 6.2.9200.16384

    Image Version: 6.2.9200.16384

    Enabling feature(s)

    [===========================65.8%======                    ]

    Error: 0x800f081f

    The source files could not be found.

    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

    go.microsoft.com/fwlink.

    The DISM log file can be found at C:WindowsLogsDISMdism.log

    C:>

  37. 009sdm says:

    thanks, it's work

  38. Shashank says:

    Does it really works..?

  39. test says:

    made the tutorial while u were sleeping..forgot sxs….

  40. Jeff says:

    Check out this extremely easy solution geekworldvillage.blogspot.com

  41. Ajmal says:

    it asks me for update of files

  42. vit says:

    thanks ……………….. <3

  43. jax says:

    After 99.8% it fails.. It give me error msg.. like this..

    Error: 0x800f0922

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:WindowsLogsDISMdism.log

    Help me…

  44. Jinali Emmanuel says:

    thank you so much. It worked!!

  45. Jeremia says:

    Thnks guys

  46. RAHUL SETHI says:

    GOOOOOOOOOOOOOOOD JOBBBBBBBBBBBBBBBBBBBBB BRO
    A LOT OF THANKSSSSSSSSSSSSSSSSSS

  47. Ahmed says:

    I HAD THIS Erreur 0X800F081F after 65.8% is finish*******help me please*****.

  48. indranil says:

    Thnx alot!!!!

  49. masood atri says:

    hi … in c driver there are 4 file with name of cmd … but you must click on on of 64 bit cmd to work this command . if you inter this command on 32 bit cmd file you will see the error … i test it and 100% worked . if anyone has a problem with this please contact me with : masoodatri@yaho.co.uk

  50. pankaj says:

    error 87….
    there is no sxs folder in .iso file..

  51. Numair says:

    Amazing

  52. mustafa says:

    thanks man it worked

  53. abid says:

    many many thankz man

  54. Esayas says:

    thanks

  55. anonoumous says:

    this is to confusing for me

    ps I know its spelled wrong

  56. shamim kawsar says:

    64 bit is it not work
    Microsoft Windows [Version 6.2.9200]
    (c) 2012 Microsoft Corporation. All rights reserved.

    C:Windowssystem32>DISM.exe /online /enable-feature /featurename:NetFX3 /All /S
    ource:c:net35 /LimitAccess

    Deployment Image Servicing and Management tool
    Version: 6.2.9200.16384

    Image Version: 6.2.9200.16384

    Enabling feature(s)
    [===========================65.8%====== ]

    Error: 0x800f081f

    The source files could not be found.
    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.

    The DISM log file can be found at C:WindowsLogsDISMdism.log

    C:Windowssystem32>

  57. koster hari says:

    Error : 0x800f081f

    the source files could not be found.

    Help pl

  58. kayjoefrizzy says:

    Nice one…….. Thanks

  59. MADHUR says:

    ERROR 87 PLEASE FIX

  60. kumar says:

    i bought a new hp laptop. But did not activate windows 8. I was activate window 8 an internet connection.But did not activate an error code 0xc004F074.pls help me

  61. Elemantal says:

    Please help me

  62. chiggo says:

    thanx a million

  63. Soukaina EZZAMANE says:

    Many thanks , it worked for me for windows 8.1

  64. Jacob Garcia says:

    I recently got a game on steam that requires .net framework 3.5 but when i install it comes up saying i have no internet connection but i do and it works. Ive tried downloading off the internet and turning it on like it said but none of this works. I could
    use some help

  65. Jamie Martin says:

    If you are getting the Source not found error ()x800f081f you are likely using the 8.0 sxs files and you are currently running 8.1. You need to get a copy of the 8.1 sxs files, they are different, and then it’ll work fine.

  66. Johnathan says:

    Jamie Martin, THAT is the key that no one will ever tell you. MS offers a free upgrade to 8.1, but that means your 8.0 sxs folder will not work. Then you have to download it from somewhere else and install. I can’t believe how complicated Microsoft made
    this.

  67. Moe Htet says:

    Thanks a lot.
    I’ve solved this problem by using your help.

  68. ASHISH BARDEWA says:

    THANK U A LOT ITS WORK THANK U

  69. عبداالله مشتاق says:

    انتو برطانيا

  70. Naira says:

    It worked, WOW! Thank u so much

  71. Nthethe V Ratsiu says:

    WOW! It worked thank you. #LESOTHO

  72. David says:

    After entering the DISM syntax and pressing Enter Key the command prompt window closes immediately before enabling the feature

  73. fhnayo says:

    thank you very much.

  74. fhnayo says:

    thank you very much.

  75. fhnayo says:

    you really helped me a lot

  76. Hollow says:

    It Workedd!!!
    Thx man…….

  77. Dinesh says:

    Thank you so much.

  78. Chad Kittel says:

    Thanks a bunch! I wasn’t using this because I was "offline" but instead I was getting error 0x800F0906 over and over (yet windows update itself works flawlessly). Looked at
    http://support.microsoft.com/kb/2734782. Ended up grabbing the ISO from MSDN, copying the files local and DISM’ing it up. Worked perfectly.

  79. Krah says:

    Thanks indeed. It helps a lot!!!

  80. Renato says:

    after days trying all sorts of things this finally worked. Thank you very much.
    P.S. since I have a Sourface 3 (no windows installation disk) I downloaded the folder from here:
    http://performance-arch.blogspot.ca/2014/05/sxs-folder-for-windows-81-x86x64-net.html

  81. junior tex says:

    i just tried it but installation ends at 60%

  82. VV says:

    its end on 65% hei

  83. Anonymous says:

    Windows 8.1, or Windows 8. Applies to .Net 3.51, 3.0, and 2.0. Works with or without Internet. Cheques may not be honoured.

  84. Hamdy Rowihel says:

    done very easy way with cmd
    thank you

  85. Alex says:

    error 0x800f081f in 65.9%