Offline install of .NET Framework 3.5 in Windows 10 using DISM

Windows 10 comes with .NET framework 4.5 pre-installed, but many apps developed in Vista and Windows 7 era require the .NET framework v3.5 installed along with 4.5. These apps will not run unless you will install the required version. When you try to run any such app, Windows 10 will prompt you to download and install .NET framework 3.5 from the Internet. However, this will take a lot of time. You can save your time and install .NET Framework 3.5 from the Windows 10 installation media. This method is much faster and does not even require an Internet connection. Here is how to install it.


To install .NET Framework 3.5 in Windows 10, do the following:

  1. Insert your Windows 10 DVD, or double click its ISO image, or insert your bootable flash drive with Windows 10, depending on what you have.
  2. Open 'This PC' in File Explorer and note the drive letter of the installation media you have inserted. In my case it is disk D:
    installation media drive d
  3. Now open an elevated command prompt and type the following command:
    Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess

    Replace D: with your drive letter for Windows 10 installation media.
    dism

You are done! This will install .NET framework 3.5 in Windows 10.
net installed seccessfully
To save your time, I have prepared a simple batch file which will save your time and will find the inserted installation media automatically. It looks like this:

@echo off
Title .NET Framework 3.5 Offline Installer
for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist "%%I:\\sources\install.wim" set setupdrv=%%I
if defined setupdrv (
echo Found drive %setupdrv%
echo Installing .NET Framework 3.5...
Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess
echo.
echo .NET Framework 3.5 should be installed
echo.
) else (
echo No installation media found!
echo Insert DVD or USB flash drive and run this file once again. 
echo.
)
pause

Download the file, extract it from the ZIP archive to the Desktop, right click it and choose Run as administrator. The file will install .NET Framework 3.5 automatically after finding the drive letter of your Windows 10 installation media.
run as administrator
Click here to download the batch file.

That's it.

366 thoughts on “Offline install of .NET Framework 3.5 in Windows 10 using DISM

  1. uKER

    Why go through all that when you can just go to “Turn Windows features on/off” and add Framework 3.5 there?

    Reply
    1. Sergey Tkachenko Post author

      Because it will start to download .NET 3.5 from Internet. Just try yourself.

      Reply
      1. Allan Pendlebury

        Thanks Sergey
        For some reason internet installation wouldn’t work. your method worked great; much appreciated.

        Reply
        1. Trevor Fryer

          Thanks Sergey,

          I have been at wits end trying to install .Net3.5 on Windows 10 after upgrading to Creator version. I kept getting an error that I couldn’t connect to the internet when trying to do the install through Windows Features. Your fix works perfectly – thanks a million.

          Regards
          Trevor

          Reply
      2. Rodney

        It worked for me , using your extracted files. Am most grateful

        Reply
      3. Haziq BD

        Hey. I try your thing and it give me error 2 and show me where is the dsim file

        Reply
        1. ken

          Haziq, the command is DISM, not DSIM. Good Luck.

          Reply
      4. kishor sanap

        it stuck at image version it cant go forward
        i waiting 30 minute
        but it can’t show ant loading
        i download os from official microsoft
        i have usb
        am activate using KMS pico is it get proble
        plz i want framwork cause here game cant work cause missing some dll, file dll file missing cause directX not install and direct x not install cause .netframwork not install

        ALSO ADOBE PRIMER PRO and ADOBE AFTER EFFECT also not working cause .net ( i thinking i m not sure)

        Reply
    2. 321123

      because with the copy version of windows u can not turn it on online

      Reply
    3. zeus

      some pc still installs it on line

      Reply
    4. Population

      Not everyone has the laxury of being connected always. It just saved me a lot of time

      Reply
  2. tyler

    thanks man this worked great. I tried multiple other methods but nothing was working for me.

    The batch file worked on Win 10 tech preview build 9860 joined to a domain that is doing patch management. I was thinking the domain was causing me grief.

    Reply
  3. David

    Just for your info..I used your batch file on windows 10 build 9888 version 10…worked great thanks

    Reply
    1. Sergey Tkachenko Post author

      Great, hehehe :)

      Reply
  4. Scott

    Perfect! Tried a bunch of half-assed “solutions” and this is the only one that actually worked.

    Never even thought of checking the win10 media!

    Thanks!

    Reply
    1. Sergey Tkachenko Post author

      Half-assed, haha :D
      Glad to help you.

      Reply
  5. ThomaxofT

    Thanks, it worked without a hustle! Used the batch file.

    Reply
    1. Sergey Tkachenko Post author

      Glad to hear

      Reply
    2. Sam Asaph

      I have cab file for x86 but i dont have cab file for x64. can you send any link to download it

      Reply
      1. TheGame455

        It’s the same for both.

        Reply
  6. Аржаан

    Thank U! Here it is a sensible thing!

    Reply
  7. Tom

    Great article, helped me install 3.5 Thanks mate

    Reply
    1. Sergey Tkachenko Post author

      Glad to be helpful

      Reply
  8. Fazil

    It Worked=====================
    Thank You Very Much====================

    Reply
    1. Sergey Tkachenko Post author

      Enjoy

      Reply
  9. james

    IT WORKED the batch file that is i could not get it to turn on for this one program i wanted to try i am only testing to see if i wanna buy in the future !!!!!!!!!!!!!!! THANKS MAN YOU ROCK

    Reply
    1. Sergey Tkachenko Post author

      heh, you are welcome, man

      Reply
      1. Senyonga

        i tried both methods and none of them worked for me.

        Reply
  10. james

    ALSO JUST WANTED TO ADD WINDOWS 10 WAY BETTER THAN WINDOWS 8 AND THANKS FOR YOUR HARD WORK MAN

    Reply
  11. Serioni Silas Che

    Works Perfectly. Thanks

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Reply
  12. KARAN SADOTRA

    Dude,
    It gets stopped at 99.8 % ….

    Reply
    1. Sergey Tkachenko Post author

      Works here

      Reply
  13. Lee

    Error: 0x800f0907

    No Worky… DSIM error

    Reply
  14. Rasel Ahmed

    Hi Dude,
    How can I thank you. It worked great. I tried a lot of things but failed.
    Thanks a lot.

    Reply
  15. Kerim Can

    Hello, I’ve tried those steps and it didn’t seem to work… :/ It stops loading at %99,8, I’ve even downloaded and tried the batch file too, not working…

    Reply
  16. Kerim Can

    It’s a Windows 10 Build 9926 by the way. Help me please…

    Reply
  17. sartaj ali mahesar

    Thanks a lot Man…..It worked for me on win 10…… God Bless you……………….

    Reply
  18. hossein zebarjadi dana

    tanks a lot .

    Reply
  19. Brian Hudson

    Build 10061, doesn’t work. Not the batch file, nor elevated command prompt. Thanks anyway though! Something in the latest build must be wonky…

    Reply
    1. Sergey Tkachenko Post author

      Hmm, thank you Brian.
      I will look closer what is wrong with build 10061.

      Reply
  20. Gary L

    It worked for me on build 10074. Everything else I tried did not work, including the group policy changes, or using programs and features to install.

    Reply
  21. Yasmani

    I tried this method on Windows 10 build 10074 and it works perfect. Thanks a lot, you saved my day.

    Reply
    1. Sergey Tkachenko Post author

      Glad to be helpful.

      Reply
  22. codebaby

    Worked !!! best script for enabling .net framework 3.5 in Windows Technical preview 10.

    Reply
  23. Matt

    You are the best. Thanks so much.

    Reply
  24. Danyal

    Thanks, script worked for me

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Reply
  25. Wawan

    very nice. thanks

    Reply
  26. Russell Felty

    Did not work for me in build 10130, got to 100%, then got Error: 0x800f0922

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

    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    Reply
    1. Ted

      Did not work for me either, 98% then died with Error: 0x800f0922

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

      Windows 10 build 10130, with all updates installed from windows updates.
      On a company domain, with a windows update service on the network.

      Reply
      1. David

        Same for me… died at 99.0%. Still looking for a solution. Maybe we will just have to wait Microsoft fixes this.

        Reply
  27. David D

    EXCELLENT! THANKS

    Reply
  28. Paul

    Thank you so much for this! I have been trying for so long to install .net 3.5 on windows 10.

    Reply
  29. Jonathan

    Thank you Bro. This method worked for me on W10 Build 10130.

    Reply
  30. SNK

    thanks. its downloading.

    Reply
  31. Spha

    Thanks a lot

    Reply
    1. Sergey Tkachenko Post author

      you are welcome

      Reply
  32. David Banos

    Doesn’t work on 10240. 3.5 will not install 4.6 cannot be removed

    Reply
  33. Sajjad

    Thanks alot
    Excelent…

    Reply
  34. Jan Van de Velde

    After searching for hours I finannly found a solution that worked for me:
    dism /online /add-package /packagepath:D:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

    Reply
    1. Dave P

      After 2 hours of research this right here worked for me. Windows 10 Pro.

      Reply
    2. Zoe Cornelisse

      Yes OMG THANK YOU!!! I’ve tried almost anything else, I was getting so frustrated! thank you so much!

      Reply
    3. Brandon Wright

      Thank you so much!

      Reply
    4. alex

      This worked for me too! Thank you! Build 10240

      Reply
    5. Dayong

      Great it works like a charm. Win 10 build 10586
      C:\WINDOWS\system32>dism /online /add-package /packagepath:F:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

      Deployment Image Servicing and Management tool
      Version: 10.0.10586.0

      Image Version: 10.0.10586.0

      Processing 1 of 1 – Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.10586.0
      [==========================100.0%==========================]
      The operation completed successfully.

      Reply
    6. Vishwas

      Not working in Image Version: 10.0.10240.16384
      64 bit

      Reply
  35. Seth

    Thank you very much. works like magic. thanks again.

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Reply
  36. Aulia Firdaus Simbolon

    Oh, great. The internet activation is suck, but the batch command help me to solve this problem. Thanks a lot, dude.

    Reply
  37. Don N

    Did not work on 10074 error 0x800f081e – ” specified package is not applicable to this image”. Tried all the methods I found on the WWW to no avail. Down to a re-install to see if some of the other apps I installed have caused this to fail.
    /enable-feature fails immediately
    /add-package gets to 97% then idles for a bit before it quits with the above error.
    Thanks for the hints, glad it worked for so many others.

    Reply
    1. Anne B

      I have exactly your issue.

      Anyone else come across this? Found a way forward?

      Reply
  38. naudtus

    Merci !
    Cela a fonctionné parfaitement !

    Reply
  39. MAK

    On final Windows 10 build, this does not work. Adding package does not work either. Neither works the graphical interface to install .NET 3.5.

    Seems to be broken for now.

    Reply
    1. Sergey Tkachenko Post author

      It WORKS on ANY Windows 10 build.
      You are doing something wrong, definitely.
      The only thing can be broken is the component store of the operating system.
      Try to run the following command:
      Dism /Online /Cleanup-Image /RestoreHealth
      You need to run it from the elevated command prompt.

      Reply
      1. Ed

        I had the same problem with the production build as MAK. I tried the Dism /Online /Cleanup-Image /RestoreHealth and it hung at 20%. I am running from an elevated command prompt…any ideas?

        Reply
        1. Sergey Tkachenko Post author

          well, try with sfc /scannow

          Reply
          1. Ed

            Hmmm….both methods are failing for me with the following error:

            Error 6801
            Transaction support within the specified resource manager is not started or was shut down due to an error.

      2. MAK

        DISM /Online /Cleanup-image /Restorehealth command completes successfully.

        Installing .Net 3.5 with DISM command still fails with error: 0x8e5e03fah.

        Reply
        1. XDux

          I met this problem ,too…
          and I tried every thing as you did,,, never succeeded…

          Reply
          1. MAK

            So this seems to be common issue with the final build. Hopefully the fix will come soon, since I have two critical application requiring older .net libraries.

  40. Jeff

    SO just fyi..I manually retyped the dism… .line.

    It failed at first, complained and told me to use /Source.

    I did, but I noticed I had /source (note it was case sensitive!!)

    Reply
  41. SUBHAJIT RAHA

    u r genius

    Reply
  42. EroAlice

    If somehow it is not working for you, use this:

    Dism /online /enable-feature /featurename:NetFX3 /All /Source:”D:\sources\sxs\” /LimitAccess

    Of course, change the D: to the source drive. What I changed is adding ( ” ) and ( \ ), because for some reason it won’t work on my PC without those.

    Reply
    1. MAK

      Sorry, this won’t help either.

      Reply
  43. regis

    how to make i d ont have my installation usb

    Reply
    1. Sergey Tkachenko Post author

      Download the official ISO image. It is available for free from Microsoft.

      Reply
  44. Raden

    Thanks It’s Works 100% Use Batch File :)

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  45. AShish

    Thnx alot!!
    It worked…
    .

    Reply
  46. omid

    Thanks and great, one question though:
    I am not good with batch files, how can I get user entry for installation media, drive name and just work on that driver rather than looping through all other drives?

    Reply
    1. Sergey Tkachenko Post author

      ehm, there is no other way to get the media drive name. You can only set it explicitly. However, it will not work on some other PC with the different drive name.

      Reply
  47. omid

    No I mean user enter drive name, ask user which DVD drive was installed from? and then setup using that

    Reply
    1. Sergey Tkachenko Post author

      Here you go:
      Command prompt ask for drive

      Reply
      1. salim

        C:\Windows\system32>dism /online /add-package /packagepath:H:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

        Deployment Image Servicing and Management tool
        Version: 10.0.10240.16384

        Image Version: 10.0.10240.16384

        Processing 1 of 1 – Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~x86~~10.0.10240.16384
        [==========================100.0%==========================]
        An error occurred – Microsoft-Windows-NetFx3-OnDemand-Package Error: 0x800736b3

        Error: 0x800f081e

        The specified package is not applicable to this image.

        The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

        C:\Windows\system32>

        plz help me iam getting this error

        Reply
        1. Sergey Tkachenko Post author

          Maybe you are trying to install some x86 package in 64-bit OS?

          Reply
  48. Mesias

    Gracias!

    Reply
  49. Sammy-Dan

    Thanks a lot. I was restricted to so many apps till I found this batch file. Thumps up man!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome :)

      Reply
  50. Okne

    For Windows 10, I succesfully installed the framework with this command line:

    dism /online /add-package /packagepath:F:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

    Change “F” into whatever your install media driverletter is.

    Reply
    1. Sergey Tkachenko Post author

      This is exactly that the batch file does.

      Reply
  51. Victor B

    Hey

    First, it’s so nice of you of sharing your little batch. Helps alot of ppl.

    Second, Why do games like stupid The Sims want you to install something that isn’t that simple.

    Third. When I write the command myself;
    – Dism /online /add-package /packagepath:G:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab
    – Dism /online /enable-feature /featurename:NetFx3 /All /Source:G:\sources\sxs\ /LimitAccess
    and when I run the batch I get error 14003. Below you can see a collection of info from dism.log when I did run the 2nd command.
    Show/Hide

    Reply
  52. deepak kumar

    Microsoft Windows [Version 10.0.10240]
    (c) 2015 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>dism /online /add-package /packagepath:D:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

    Processing 1 of 1 – Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~x86~~10.0.10240.16384
    [==========================100.0%==========================]
    An error occurred – Microsoft-Windows-NetFx3-OnDemand-Package Error: 0x800736b3

    Error: 14003

    The referenced assembly is not installed on your system.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Windows\system32>

    please help

    Reply
    1. Manas Goswami

      I’m facing the same problem.

      Reply
    2. Steve Round

      Try …:F:\x64\ instead of just :F: It gives the program a target… took me months …sweetness and light

      Reply
  53. Sergey Tkachenko Post author

    Why you guys are trying to execute this command:
    dism /online /add-package
    Why not use the mentioned command:
    Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess
    It works fine and it is included in the batch file to save you from typing.

    Regarding to your errors:
    err 0x800736B3 = ERROR_SXS_ASSEMBLY_NOT_FOUND
    You need to fix the component store, as mentioned here:
    https://winaero.com/blog/fix-error-14098-the-component-store-has-been-corrupted/

    Reply
    1. Manas Goswami

      I’m using the same command prompt as you wrote, still I’m facing this…
      C:\Windows\system32>Dism /online /enable-feature /featurename:NetFX3 /All /Source:N:\sources\sxs /LimitAccess

      Deployment Image Servicing and Management tool
      Version: 10.0.10240.16384

      Image Version: 10.0.10240.16384

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

      Error: 14003

      The referenced assembly is not installed on your system.

      The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

      Reply
  54. mostafa

    it worked !!!
    thanks

    Reply
  55. Zaw Myo Tun

    Thank Bro…

    Reply
  56. Sayan

    None of the given tricks worked for me.plz sugest me a new way to enable netfx3 in 10.

    Reply
  57. Delven

    Thanks. It worked.

    Reply
  58. Nadeem Ullah Hussani

    Thanks Man.
    Your Batch File Saves annoying time.

    Reply
  59. Filbert

    can i download that link instead? http://www.microsoft.com/en-us/download/details.aspx?id=21

    Reply
  60. Babji

    it worked
    thanks

    Reply
  61. Roger

    Great Man :)

    Reply
  62. Clifford James

    Thanks so much, this worked great for me !!!

    Reply
  63. Root777

    Awesome job brah! Worked for me!
    I would have never thought to use the install media.

    Reply
  64. Asim

    thanks a lot ! :)

    Reply
  65. GenixTech

    il suffit d’installer visual studio , il installera automatiquement le Framework monquant

    Reply
  66. Cobby

    I cant believe this worked..thanks fam

    Reply
  67. wed

    thx a lot good tips

    Reply
  68. Tuan IT

    Thanks you.

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Reply
  69. salim

    C:\Windows\system32>dism /online /add-package /packagepath:H:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

    Processing 1 of 1 – Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~x86~~10.0.10240.16384
    [==========================100.0%==========================]
    An error occurred – Microsoft-Windows-NetFx3-OnDemand-Package Error: 0x800736b3

    Error: 0x800f081e

    The specified package is not applicable to this image.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Windows\system32>

    iam getting this erroe plz help me

    Reply
  70. Musuru

    WOw this really works great guys

    Reply
  71. basant

    finally your way solve my problem…thanks

    Reply
  72. hadi alimardani

    when I type “Dism /online /enable-feature /featurename:NetFX3 /All /Source:F:\sources\sxs /LimitAccess” in command prompt this messege is showed
    “Error: 740

    Elevated permissions are required to run DISM.
    Use an elevated command prompt to complete these tasks.”

    can you help me to do it?

    Reply
    1. Sergey Tkachenko Post author

      Yep
      You need to run an ELEVATED command prompt.
      See here: https://winaero.com/blog/how-to-open-elevated-command-prompt-in-windows-10/

      Reply
      1. hadi alimardani

        thank u very very much master

        Reply
  73. krisha

    You are a life saver.
    Keep up!

    Reply
  74. paidforyou

    Hi, Sergey Tkachenko,

    I tried your script using administrator right, it is 100% completed, but no downloading happened, what is wrong?

    Thanks

    paidforyou

    Reply
  75. paidforyou

    I use Windows 10 Ver 10.0.10240.16384

    Reply
  76. Kirill

    Thanks man, that was easy!!!!

    Reply
  77. CarlosLeonardoBr

    Please, I need help!
    ——————————————————————————————————————————————————–
    Microsoft Windows [versão 10.0.10240]
    (c) 2015 Microsoft Corporation. Todos os direitos reservados.

    C:\WINDOWS\system32>Dism /online /enable-feature /featurename:NetFX3 /All /Source:G:\sources\sxs /LimitAccess

    Ferramenta de Gerenciamento e Manutenção de Imagens de Implantação
    Versão: 10.0.10240.16384

    Versão da Imagem: 10.0.10240.16384

    Habilitando recurso(s)
    [==========================100.0%==========================]

    Erro: 2

    O sistema não pode encontrar o arquivo especificado.

    O arquivo de log do DISM pode ser localizado em C:\WINDOWS\Logs\DISM\dism.log
    ———————————————————————————————————————————————————–

    I have the Error 2, and I can’t fix it.

    Reply
    1. Sergey Tkachenko Post author

      G:\sources\sxs is WRONG PATH for your system.

      Reply
  78. Lorre

    There is a even easyer to install NET Framework 3.5 and that is to open the old control panel, by right clicking on the windows flag then goto programs and click turn windows features on or of. And i the box that turns up you can choose to install NET Framework 3.5 all the way up to 4.6.
    Good luck.

    Reply
  79. Mahdi

    It has problem yet

    Reply
    1. Sergey Tkachenko Post author

      what?

      Reply
  80. Jerry

    Worked like a charm! Thank you for all your work on this!

    Reply
  81. mohit

    it does ‘nt worked here

    Reply
  82. Adolfo

    Excellent! Works fine! thank you so much!

    Reply
  83. Misam

    Thkx buddy..it worked properly

    UA given batch file..itx owsome ..
    U made my work soo easy
    Love uh..

    Reply
  84. CARLOS

    Thanks It Work Perfectly.

    Reply
  85. Matthew

    This is what I get after the 1st step

    C:\Users\Home-PC>Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess

    Error: 740

    Elevated permissions are required to run DISM.
    Use an elevated command prompt to complete these tasks.

    C:\Users\Home-PC>

    Reply
    1. Sergey Tkachenko Post author

      The answer is in the output of the command:
      Use an elevated command prompt to complete these tasks.
      See how: https://winaero.com/blog/how-to-open-elevated-command-prompt-in-windows-10/

      Reply
  86. Josue Perez

    Reading through all the posts, it seems strange that no one noticed something that caused an error in my installation.

    The command “/featurename:Net-FX3” should actually be “/featurename:NetFX3”, that dash in the command in the original post and in the batch file was the problem for me. I removed it and the installation was completed without a problem.

    Noticed it when I saw that the file name in the sxs folder contains “netfx3” with out the dash.

    Reply
    1. Sergey Tkachenko Post author

      This post, the batch text in the post, and the included cmd file come without the dash in the feature name.
      Can you point me where you see the dash?

      Reply
  87. Dmitry

    Thanks (:

    Reply
    1. Sergey Tkachenko Post author

      You are welcome Dmitry.

      Reply
  88. Ganza Charles

    thank you very much. this saved me a lot of time and energy!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  89. Linkhu

    Thank you

    Reply
    1. Sergey Tkachenko Post author

      Don’t mention it.

      Reply
  90. tomas

    Thanks, it’s very helpful. I don’t need to download :-D

    Reply
  91. 010101

    Error: 0x80090352

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

    Reply
    1. Jeff

      Same error here and nothing seems to work. Did you manage to resolve your error?

      Reply
  92. Goh

    Works for me! Thanks!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  93. ND

    Hi, i’ve tried everything. It doesn’t work for me. I’ve tried use your batch file but it wouldn’t let me because it says that i need to insert a dvd or a thumb drive to complete the installation. I did but it didn’t work. HELP!

    Reply
  94. ajai

    hi……i downloaded the .net framework 3.5 offline setup and when i run it in windows 10 os, it says it needs .net framework 3.5 to run the setup itself……….!!!!!!!!!!!!!any help plssssss………..

    Reply
    1. Sergey Tkachenko Post author

      follow the instruction in the article please

      Reply
  95. ajai

    thnx……it is working 100%

    Reply
  96. hungry cat

    Thanks man you made my day!

    Reply
    1. Sergey Tkachenko Post author

      Great. You are welcome.

      Reply
  97. Mohammed Uchiha

    Thanks so much man it really worked :D

    Reply
  98. George Boutsinis

    whatever I do I get the answer that the required assembly is not installed in your system if I have the package in a disk path do I always must have it like a virtual drive I will try this way now

    Reply
  99. George Boutsinis

    Microsoft Windows [Version 10.0.10240]
    (c) 2015 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

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

    Error: 14003

    The referenced assembly is not installed on your system.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Windows\system32>.

    I think I did it all ok but it keeps on refusing to install

    Reply
    1. Sergey Tkachenko Post author

      See here:
      Fix .NET Framework install error 0x800736b3 14003
      https://winaero.com/blog/fix-net-framework-install-error-0x800736b3-14003/

      Reply
  100. Pawel

    It’s working! Thank You!

    Reply
  101. Pascal

    Worked for me, thanks!

    Reply
  102. John F

    Need help.

    Found drive D
    Installing .NET Framework 3.5…

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

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

    Error: 2

    The system cannot find the file specified.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    .NET Framework 3.5 should be installed

    Press any key to continue . . .

    Reply
  103. Kc

    Like many others before, your solution worked flawlessly… thank you for your post and help.

    Reply
  104. Jack

    OK, Work.
    Thank you.

    Reply
  105. LeinadSnake

    Hi friend, thank you for you help, but in my case, y have to change some keys for recognizing my media install, because y made a windows 10 x86 & x64 usb install.
    check my changes, and sorry for my english, i´m ecuadorian…

    @echo off
    Title .NET Framework 3.5 Offline Installer
    for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist “%%I:\\x86\sources\boot.wim” set setupdrv=%%I
    if defined setupdrv (
    echo Found drive %setupdrv%
    echo Installing .NET Framework 3.5…
    Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\x86\sources\sxs /LimitAccess
    echo.
    echo .NET Framework 3.5 should be installed
    echo.
    ) else (
    echo No installation media found!
    echo Insert DVD or USB flash drive and run this file once again.
    echo.
    )
    pause

    Reply
  106. Derek

    Thanks, worked for me. Windows Features wouldn’t give the option to use local media but this worked perfectly. (Just used the one line command, didn’t try the script)

    Reply
  107. Anubhav

    thanx alot. This worked for me.

    Reply
  108. Pavan Ayyagari

    Many thanks for the blog.

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  109. Karthik

    Thx dude , it’s work fine on my windows 10 pro, grate job….

    Reply
    1. Sergey Tkachenko Post author

      You are welcome my friend.

      Reply
  110. Nic

    You are a god among men sir. Thank you so much for this guide and information. This problem was driving me crazy and I was becoming frustrated. I wish you all the best and thank you from the bottom of my now calmed heart.

    Reply
  111. Daniel Roussielle

    Omg, it’s TOTALLY AWESOME! You’re the best :3

    Reply
  112. Gary

    This is absolutely spot on. Exactly what I needed and work a treat. Thank you very much.

    Reply
  113. Samuel Mideksa

    The source files could not be found

    Reply
  114. Guy

    Thank you, but unfortunately the script didn’t work for me even though I followed your instructions exactly, the “source files could not be found” after running the script. I am using the media (windows 10 education) from Microsoft that I used to install windows 10. Please help as I have so many apps to install that require .NET 3.5. Please see the out below after running you script.

    Thank you.

    Found drive D
    Installing .NET Framework 3.5…

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

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

    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. 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:\WINDOWS\Logs\DISM\dism.log

    .NET Framework 3.5 should be installed

    Press any key to continue . . .

    Reply
    1. Sergey Tkachenko Post author

      Can you tell what is the Drive D: ?
      Is it your CDROM drive or mounted ISO image or something else?

      Reply
      1. Guy

        Thank you for replying Sergey. Drive D: is my CD-ROM drive. Your script is great, but I just don’t know why the source files cannot be found. Please can you help?

        Reply
        1. Sergey Tkachenko Post author

          Yep. I would like to see the content of the d:\sources\ folder
          Can you make a screenshot?

          Reply
  115. Guy

    Sorry Sergey, I have tried to paste my screenshot using both Chrome and IE11 into this comment box, but it won’t paste? How do I paste my screenshot here please?

    Reply
  116. Guy

    Sorry Sergey, I have taken a screenshot of the d:\sources folder, but I cannot paste it into this comment box. I have tried IE11 and Chrome to paste but neither work. How do I paste my screenshot please?

    Thank you.

    Reply
    1. Sergey Tkachenko Post author

      You can upload to somewhere like http://imgur.com

      Reply
  117. Guy

    I just checked inside the D:\sources\sxs folder and the file inside is microsoft windows-netfx3-ondemand-package if that helps. Can’t understand if the .NET file is on the DVD in the sxs folder why cit cannot be found? Please can you help?

    Reply
    1. Sergey Tkachenko Post author

      That is really strange.
      Does that CD matched the operating system you have installed?
      The same bitness and build number?

      Reply
  118. Ove Østerby

    Thanks a lot! This cured my issue on installing Acapela Infovox 4 in newly upgraded Windows 10 Lenovo ideapad 500.

    Reply
  119. Pouya

    Hi full thanks for solving the problem . the zipped file worked correctly

    Reply
  120. Dr. Virus

    Worked Perfectly!!! Thanks so much

    Reply
  121. pixelspirit

    for all the People with the 6801 Error, please try this before you start the Batch file in the instructions of this blog

    Open cmd prompt as Administrator and type following Code:
    >> fsutil resource setautoreset true c:\ <<

    And the try the Batch file upon. Worked for me!!!

    Reply
  122. Dilantha

    wow it worked !!! great and thanks a lot !!!

    Reply
  123. tambe

    (c) 2015 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>Dism /online /enable-feature /featurename:NetFX3 /All /Source:F:\sources\sxs /LimitAccess

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

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

    Error: 14003

    The referenced assembly is not installed on your system.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Windows\system32>

    i got this error how to solved..?

    Reply
  124. Martin

    Thanks alot. This worked for me!!

    Reply
  125. trewoshka

    thank you very much … it’s work on my computer

    Reply
  126. Elegant

    Following is the error on latest November build of WINDOWS 10 Pro, version 1511, 10586. I have tried everything suggested in this thread and elsewhere but to no avail. Whatever method I try it ends with error code- Error: 0x800f0922.

    Microsoft Windows [Version 10.0.10586]
    (c) 2015 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>dism /online /add-package /packagepath:D:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 10.0.10586.0

    Processing 1 of 1 – Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.10586.0
    [==========================100.0%==========================]
    An error occurred – Microsoft-Windows-NetFx3-OnDemand-Package Error: 0x800f0922

    Error: 0x800f0922

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

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Windows\system32>

    Reply
    1. Sergey Tkachenko Post author

      There is a number of solutions at Microsoft Answers. Please look here:
      http://answers.microsoft.com/en-us/windows/forum/windows8_1-update/error-0x800f0922-when-installing-kb-2919355/ca99de84-a8ab-4d78-a7b2-e5dc562a418f?auth=1

      Reply
      1. Elegant

        Thanks for your suggestion. But, as suggested in link provided by you, I do not have any VPN software installed and my system reserved partition is also 36% free. None of the suggestions at Microsoft Answers seem to work in my case.

        Reply
        1. Sergey Tkachenko Post author

          That’s a pity. I” think what else can be helpful in your case.

          Reply
  127. Aura

    Stops at 0.1% for me and is doing nothing, is it because i have virtual disk ?

    Reply
    1. Aura

      The source files cannot be found ??? What am i doing wrong i have latest full ver windows 10

      Reply
      1. Aura

        Okay so i tried doing the command and it worked the batch file didnt work for some reason

        Reply
        1. Sergey Tkachenko Post author

          It looks like the batch file “found” some other disk instead of the proper one.

          Reply
  128. Alexandra

    Great thing…finally i instaled framework 3.5 at my pc…Thnx :)

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  129. Miguel

    Thank you!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  130. kipangilo ali

    please install adobe flash player on my computer please

    Reply
  131. Martin

    Thank you !! Saved lot of time in a country house in Córdoba, Argentina where the internet signal came barely from a cell phone… Useful 100%

    Reply
    1. Sergey Tkachenko Post author

      great!

      Reply
  132. pete wills

    Man, that is so cool.
    Used the command line, rather than the batch file.
    I was a bit dubious at first, but then checked the Registry to see them all listed.
    Thank you so much, I love these labour saving tips.
    Winaero tweaker, 10/10 also.

    Reply
    1. Sergey Tkachenko Post author

      Thank you very much.

      Reply
  133. Mr.Jan from Greenland

    Thanks a lot.
    Save time to install net framework 3.5 on windows 10

    BUT on the newer build Microsoft has change the install.win file type to install.esd

    I just fixed the file type in your batch and it worked fine again with the new windows 10 build.

    Reply
    1. Sergey Tkachenko Post author

      Great.
      Well, I think it is a good idea to update the batch file. So it will support both file types.

      Reply
  134. Wastur

    Thank you very much. You are the Boss. It worked perfectly.

    Reply
  135. TOMU

    work thank you

    Reply
  136. Neda

    Thank you so much! (Win 10, Iso file on DVD)

    Reply
  137. pablenque

    Awesome. I tried the batch and didn’t work but the first method worked like a charm.
    I used a .iso of W10 mounted on daemon tools.
    Thanks a lot my friend!
    Some people know tha way of the light and share it. I take out my hat on that.

    Reply
  138. 0.o

    MIcrosoft that crap

    Reply
  139. Mike

    Hello, Excellent post, this helped me resolve my issue.
    Kudos to you my friend!

    Reply
  140. Cryptic

    So after a little fiddling this is what my .bat file looks like since I had the same issue some others had.

    @echo off
    Title .NET Framework 3.5 Offline Installer
    for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist “%%I:\\x64\sources\install.wim” set setupdrv=%%I
    if defined setupdrv (
    echo Found drive %setupdrv%
    echo Installing .NET Framework 3.5…
    dism /online /add-package /packagepath:%setupdrv%:\x64\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab
    echo.
    echo .NET Framework 3.5 should be installed
    echo.
    ) else (
    echo No installation media found!
    echo Insert DVD or USB flash drive and run this file once again.
    echo.
    )
    pause

    if you do not have an iso where you can select between x32 and x 64 then here

    @echo off
    Title .NET Framework 3.5 Offline Installer
    for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist “%%I:\\sources\install.wim” set setupdrv=%%I
    if defined setupdrv (
    echo Found drive %setupdrv%
    echo Installing .NET Framework 3.5…
    dism /online /add-package /packagepath:%setupdrv%:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab
    echo.
    echo .NET Framework 3.5 should be installed
    echo.
    ) else (
    echo No installation media found!
    echo Insert DVD or USB flash drive and run this file once again.
    echo.
    )
    pause

    Here’s to hoping I helped one person out there somewhere.

    Reply
  141. Manzar Zafar

    Thank you for going into trouble of providing this detailed solution for this annoying problem.

    Regards from Pakistan,
    Manzar.

    Reply
  142. Brandon Wright

    Microsoft Windows [Version 10.0.10586]
    (c) 2015 Microsoft Corporation. All rights reserved.

    C:\WINDOWS\system32>Dism /online /enable-feature /featurename:NetFX3 \Source:F:/sources\sxs /LimitAccess

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 10.0.10586.0

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

    Error: 2

    The system cannot find the file specified.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    Hopefully this thread is dead but any help welcome

    Reply
    1. Brandon Wright

      this worked for me
      dism /online /add-package /packagepath:F:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

      Reply
  143. Betsue Tsegay Weldemariam

    It keeps showing this error. HELP

    C:\Windows\system32>Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

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

    Error: 14003

    The referenced assembly is not installed on your system.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    Reply
    1. Betsue Tsegay Weldemariam

      I tried the .bat file but it says that the disk wasn’t mounted!! I’m really confused here.

      Reply
  144. Naveen

    Thatz wonderful .. thanks

    Reply
  145. Saad

    Thanks. It works

    Reply
  146. Ken Fricklas

    Most folks can skip the /Source and have better luck.

    Reply
  147. Chrysaliarus

    I would kiss you if I could… No homo. But seriously, thanks for this I’m not getting Internet for a month and this helped tremendously

    Reply
    1. Sergey Tkachenko Post author

      heh, you are welcome.

      Reply
  148. Eddie

    For whatever reason this does not work. Put flash drive in and ran batch file on windows 10 64 bit latest updates as of today, a command prompt window opens and it says press any key to continue and does nothing, if I hit enter again after that, the window just closes and goes back out to the desktop. Seems to work for some, and others not so much.

    Reply
  149. WDF01

    I bought the “Full” version of Windows 10, which contains both 32 bit and 64 bit versions – I have the 64 bit version installed. When accessing the installation flash drive in the elevated command prompt, I had to add “\x64” in the source location string. Otherwise, looks all good!

    Thanks for posting – Win 10 seems to be very sloooooow when doing updates from internet – and frequently comes up with errors indicating ‘not found’. This worked great.

    Reply
  150. Zed

    I tried this script, and I keep getting no installation media found. Yet the WIn10CD is in the D drive.

    I can run the command manually the Dism one, but I would like the script to work, cause more and more win10 machines are popping out of Dells arse and into the factory.

    Reply
  151. Mpep Gokhade

    Thanxx.. its working Awesome.. but how u create a batch file

    Reply
  152. Mpep Gokhade

    Thanxx.. its working Awesome.. but how u create a batch file.. iwann also create my batch file i download your batch file but did not understand how to create batch file…

    Reply
  153. G

    dism /online /add-package /packagepath:D:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab
    this just worked for me with the renaming of the instalation frive.

    Reply
  154. Don

    Why does this message appear, rather than successful install?

    Error: 17
    The system cannot move the file to a different disk drive
    Show/Hide

    Reply
  155. shubham

    It shows :
    Error:23
    data error (cyclic redundancy check).
    The DISM file can be found at C:\Windows\Logs\DISM\dism.log
    .NET Framework 3.5 should be installed

    plzz help bro

    Reply
  156. raj

    nice.. thnks

    Reply
  157. praise

    Man…u the best ever……keep up the good job…I just gst fifa working after so many work…1s again thx

    Reply
  158. Sourav

    Thanks buddy it works great great great great great great great great great great great great great great great great great great great great great for me …
    You have made my day!!!!!!!!!!!!!!!!!!!!!!!!!

    Reply
  159. AmirReza

    it show error again.
    please help me!!!!!!!!!! :((

    Found drive G
    Installing .NET Framework 3.5…

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

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

    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. 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:\Windows\Logs\DISM\dism.log

    .NET Framework 3.5 should be installed

    Reply
  160. Dan

    Found drive H
    Installing .NET Framework 3.5…

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

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

    Error: 0x800f0922

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

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    .NET Framework 3.5 should be installed

    Press any key to continue . . .

    ive tried everything but nothing seems to fix this

    Reply
  161. lagu regae

    thanks…. it’s Work! :)

    Reply
    1. Sergey Tkachenko Post author

      you are welcome

      Reply
  162. Jj

    Thanks a lot boss… U r the man… Any way cmd using cmd prompt didn’t end well for me… It displayed an error 80 but somehow ur batch file helped me a lot. :)

    Reply
  163. SD

    I just copied the microsoft-windows-netfx3-ondemand-package.cab file to old C:\Windows\Option\CABS and add remove features the old fashioned way still work

    Reply
  164. Jomesh Joseph Veliyath

    Hi Friend,

    Thanks a lot.

    Regards,
    Jomesh

    Reply
  165. Chakri

    I tried the method you mentioned in this page. But it showed that windows is updating and next windows failed to updated and rolled back the action and nothing happened and I can’t enable .net 3.5

    Reply
  166. chakri

    Hi. I’ve used your file. But I can’t make it out. Initially it showed that windows is updated, next it showed that windows can’t update and rolled back the action.

    Reply
  167. DEEPAK GOEL

    Error: 0x800f0907

    No Worky… DSIM error
    How can i install/ enable net framework

    Reply
  168. Dejan

    Thanks so much!

    Reply
  169. janla

    here is my problem:

    C:\WINDOWS\system32>dism /online /add-package /packagepath:F:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 10.0.10586.0

    Processing 1 of 1 – Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.10586.0
    [===== 10.1% ] An error occurred – Microsoft-Windows-NetFx3-OnDemand-Package Error: 0x800706be

    Error: 1726

    Zdalne wywołanie procedury nie powiodło się.

    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    C:\WINDOWS\system32>Dism /Online /Cleanup-Image /RestoreHealth

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 10.0.10586.0

    Error: 1726

    Zdalne wywołanie procedury nie powiodło się.

    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    C:\WINDOWS\system32>

    I am just after moving from W8.1 to W10
    Help me please
    *Zdalne wywołanie procedury nie powiodło się. means: Remote procedue call failed

    Reply
  170. Matt

    I would just like to say thank you so much!

    To say i spent 20 minutes with a microsoft employee, who couldnt fix it and tried to charge me $99 minimum to fix it, just goes to show how useless they are.

    Reply
  171. Kendall Morrison

    Thanks. You star!

    Reply
  172. Saad

    Thanks, works grately

    Reply
  173. RENE

    GOOD JOB… THANKS

    Reply
  174. ao

    aw ,thanks u..

    Reply
  175. IT-Tehnik

    Cool. It work :) Thanks

    Reply
  176. Kapil Gorve

    First disable 4.6 and then install using above command.Later re enable 4.6. Worked on windows 10 otherwise error shown error 0x800F081F.

    Reply
    1. Sergey Tkachenko Post author

      Installed in 14352 just yesterday without disabling 4.6. Worked without issues.

      Reply
  177. Hay

    TYVM cheers.

    Reply
  178. mota

    wokrssss tanksssss

    Reply
  179. Austin

    plz i installed the windows 10 online and I dnt have d hardware of d setup i.e d disk
    if i try running the batch file, it keeps telling me to insert d disk or d flash and i dnt have d raw file of d set up nd z hindering me from installing d frame work even with d program cuz it keeps showing me error

    Reply
  180. Austin

    plz i installed the windows 10 online and I dnt have d hardware of d setup i.e d disk
    if i try running the batch file, it keeps telling me to insert d disk or d flash and i dnt have d raw file of d set up nd z hindering me from installing d frame work even with d program cuz it keeps showing me error
    plz help me out

    Reply
  181. Nikhil Kadi

    Hi Dear,

    Thanks so much for the file. Previously I tried many methods manually but wont work. This file worked instantly. .NET 3.5 installed on my Windows 10. Thanks a lot mate.

    Nikhil Kadi

    Reply
  182. peter barakat

    thank you very much (ummmmmmh)

    Reply
  183. vighnesh

    super bro…..you saved my ass……..from customer….really worked well

    Reply
  184. Rod Pumas

    Many thanks for giving us the batch file. It worked great!

    Reply
  185. Muhammad

    Worked smooth
    thank you

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  186. granadaCoder

    I had to change

    “%%I:\\sources\install.wim”

    to

    “%%I:\\sources\install.esd”

    and then it worked for me.

    ( I got the Win 10 ISO using the Windows 10 Download Tool. ( http://go.microsoft.com/fwlink/?LinkId=691209 ) Not sure what will happen with that Tool after the before July 29 2016 “Free Win 10 Update” program expires )

    Thanks for the .bat script.

    Reply
  187. Akash

    Worked great. Thanks!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Reply
  188. SilviuB

    Worked. Thank you

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  189. Hasim

    Thanks.. working..

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Reply
  190. E Reed

    Thanks!!! Your solution worked perfectly! :-)

    Reply
  191. Marcelo

    Hi Sergey,

    My ideia is change de iso image to make this feature enable on windows installation, can you tell me if it’s possible?

    Thanks in advanced.

    Marcelo “Sushi”

    Reply
  192. Mike Jankowski

    Hi Sergey and all,

    I have two Dell Laptops I want to run an App which requires .NET Framework 3.5. If I install the driver (The app communicates with a USB connected box) if prompts me to install .NET Framework 3.5.

    Both computers are fresh, registered Windows 10 installs with no third party apps.

    Machine A when prompted downloaded and installed .NET 3.5 and the app runs reliably.

    Machine B never finishes downloading .NET, so I tried add/remove windows components and had to resort to the method here in the article which did successfully install .NET 3.5.

    My problem is: The app crashes every 5 minutes on Machine B, while it runs reliably on machine A.

    The app is from the same CD and connected to the same box.

    Can you think of any .NET Framework tips? Should one install .NET Framework 3.5 SP1?

    I will contact the app mfg, but not their bug…

    Thanks,
    Mike

    Reply
  193. Santosh Devbhandari

    Thanks!!!
    This worked.

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  194. Vincent

    Hi Sergey Tkachenko, for you to have a lot of comments here truly shows how a lot of us around the are for your work and efforts; so am I too. You just saved me a lot of stress since I’m not a pro in computer. I just want to say that your method worked for me on my win 10 -10240. Though I later got a .exe portable file from another web site which uses same CMD command but with a user interface so that newbies can select the drive letter for themselves. All the same thanks for being a solution to our generation. (From my little home here in Africa)

    Reply
  195. George Bell

    Another extremely grateful guy here, and likewise the company I work closely with.
    Thank you, thank you, thank you!
    George

    Reply
  196. jack

    Hi Sergey,

    I tried this method and I am getting the following error.

    Error: 6800

    The function attempted to use a name that is reserved for use by another transaction.

    Do you have a workaround for this problem?

    Reply
    1. jack

      I got it. You batch file worked. However I needed to remove the drive identification part and hardcode the drive letter.

      Thanks

      Reply
  197. Himanshu Patel

    great job man, you really saved me…
    its just excellent

    Reply
  198. JT

    Thanks man, I was racking my brain trying to get this installed. Glad I found this site.

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  199. Joe

    Great article sir!
    It worked almost perfectly. I did not have the Windows 10 media as I upgraded from Windows 7.
    However, I downloaded a utility from the Microsoft website called “MediaCreationTool.exe” and created an ISO file for my platform. It took few hours to download the Windows 10 installation files and create the actual ISO file.
    I tried the script, but it did not work at first trial because for some reason the file “install.wim” did not exist in the final ISO.
    So I changed it to check for the “install.esd” file instead, which existed, and it worked perfectly and as expected!!

    This minor problem maybe due to the fact that I had to create a “personalized” version of Windows 10.

    Great work though. I like command-line stuff :)

    Reply
  200. amin

    thank you my friend ;)

    Reply
  201. KITKUTY

    Thanks work :) yes good my windows is instal net framework

    Reply
    1. Sergey Tkachenko Post author

      Great!

      Reply
  202. Nico Fedczyszyn

    I don’t have my Windows 10 CD anymore.. :( Is it possible to just download the package? And extract it from there? Thank you for your help!

    Reply
  203. Cloud

    I can’t believe I finally managed to solve this problem thanks to you! I tried so many different things to install this .NET Framework… none of them worked, and I badly needed the 3.5 version in order to install an important software. Your guide was the only solution and it was also very easy to follow for a clumsy user like me… thank you so much!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  204. LIam

    Installation via Command Prompt was very quick. Thanks for that great tip. This article saved me lots of headaches and I could get to work finally. Winaero is one of the best sites for Windows related stuff.

    Reply
    1. Sergey Tkachenko Post author

      Thank you for kind words.

      Reply
  205. Brian

    Thanks alot, worked excellent on Win 10 v1607 Anniversary Edition. Control Panel-add windows features still wanted the internet, this worked offline.

    Reply
    1. Sergey Tkachenko Post author

      Great

      Reply
  206. helio

    WORKED LIKE A CHARM! :) Thank You!

    Reply
    1. Sergey Tkachenko Post author

      Great to hear. You are welcome.

      Reply
  207. Pavlin

    Thank you very much!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  208. axeldead

    wowwww. nice share,,,, i love you …… thankyou for helping my day…..

    Reply
    1. Sergey Tkachenko Post author

      you are welcome.

      Reply
  209. Alex

    Hi! So i’ve tried your method with the batch file and without it, but in both the last thing the CMD window shows is Image version 10… , after that it does nothing, nor does it show anything else. A reply would be much appreciated!

    Reply
  210. Florisz

    Thank you so much for this!
    Saved us a lot of time!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  211. CHERAG

    Thanks for the help. Worked for me.

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  212. Richard

    Otlichno! Spacibo bolshoe, Sergey – really helped with installing SQL Server 2014 (needed .Net framework 3.5 to install SQL…) on a VM with no Internet access.

    Reply
    1. Sergey Tkachenko Post author

      You are welcome:)

      Reply
  213. Ricardo

    That command only shows image version and no more it just stops, can you help me out?

    Reply
  214. john samuel

    says no installation media found , insert dvd or usb

    Reply
  215. eric

    thanks for this.
    worked perfectly on domain member having WAU/WSUS issues

    Reply
  216. GKA1

    You solution has been able to resolve my issue . I used the batch to resolve it.
    Thank you

    Reply
  217. Antash Bangush

    Superb work I really appreciate. Dear did you prepared any script for windows 8.1 . I really liked your work and I want or windows 8.1 also . plz help me

    Reply
    1. Sergey Tkachenko Post author

      You can use this script in Windows 8.1 too.

      Reply
  218. izzat

    thanks man…keep it up..^^

    Reply
  219. Rabilu Haruna

    You are Good!!.
    It work for me.

    Thank you

    Rabilu

    Reply
  220. kumaran

    Not working for me, i tried with your batch file & manual command. but it does not shows any messages.
    waiting for more than 20 minutes no response
    see below screenshot
    https://gyazo.com/2ede1285e9fce068256670f928d7c8e9

    Reply
  221. Mohamed Aboelwafa

    Thank you very much for your help :)

    Reply
  222. André

    It worked to me. Thanks a lot.

    Reply
  223. Yana

    Thank you so much. I have lost hours trying to get this done. Btw, use these files if you don’t have your Windows 10 copy
    https://dytoshare.us/2015/07/cara-install-net-framework-35-di.html

    Reply
  224. Srujan Hemanth

    Yo,Thanks For sharing this article it really works !!
    ?Can i use this in a youtube tutorial please ?

    Reply
  225. Samet

    You are awesome. I try everything and finally its worked .bat file is the best solution. Again thx man. Love you

    Reply
  226. Akthagawa

    thanks man it helped a lot…..this was the only solution that i found work….

    Reply
  227. Lauren Glenn

    Thank you! After trying to install the feature on a metered connection, it failed to complete and I haven’t been able to install it. So when I got home, I downloaded the 1703 ISO for Windows 10 and followed your instructions. Worked perfectly. Thank you.

    Reply
  228. Agosh Kumar

    Thx man. A lot of time is saved in installing this dotnet 3.5. It works guys. Thanks once again

    Reply
  229. Population

    You’re the man! U just saved me tons of minutes. 5-star rating. :)

    Reply
  230. theodor

    thanks a lot.
    The only think that worked for me.
    I have try everything else that I have seen in internet forums
    and even in Microsoft’s cite, but nothing worked.
    thanks a lot again. YOU SAVED ME

    Reply
  231. Ali

    Thank you a lot. note that i had to change a little to the script, i downloaded 8.1 pro iso and just mounted it, it had no install.wim so i changed it to install.exe, and it worked like charm.

    Reply
  232. Erice

    Very .. good .. thank’s for shared information

    Reply
  233. Saranga

    I was trying to install it from the iso file and after showing enabling features 100% , it gives an error “The source files could not be found” with error code Error: 0x800f081f. Please help…

    Reply
    1. Sergey Tkachenko Post author

      Let’s figure which ISO do you have.
      1. Do you have sources\install.wim file?
      2. Do you have these folders:
      x86\sources\
      x64\sources\
      3. Maybe you have the file sources\install.esd?

      Reply
  234. noonwalker

    it worked perfectly .tuale for you.best solution ever

    Reply
  235. JeemTekno

    Thank you this show can run on my windows 10

    Reply
  236. MRK

    Hi Sergey

    Thanks for batch file. In case someone install x64 bit version of Windows like me! Then s/he may get below error message:
    **************************
    Error: 11

    You cannot service a running 64-bit operating system with a 32-bit version of DISM.
    Please use the version of DISM that corresponds to your computer’s architecture.
    ***********************
    To fix that I suggest to change your line 7 from this:
    Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess

    to this one (add this “%setupdrv%:\sources\” at start of line):
    %setupdrv%:\sources\Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess

    It will use Dism.exe from image with same version (x86 or x64) of installed Windows. This problem come from “Path” variable in Windows. in must cases only this path “C:\Windows\System32” exist in Path variable and not “C:\Windows\SysWOW64” and both contain same Dism.exe filename but with different compiled versions for x86 & x64.

    Thanks and Good Luck
    MRK

    Reply
  237. Andi

    Thank you, that solved my Problem. Windows 10 wasnt able to find the install sources online.

    Reply
  238. Ganesh

    Loved it bro, thanx for the batch. It wont happen without your batch.

    Reply
  239. Ernest Cook

    Brilliant solution ! Thank you.

    Reply
  240. Grae

    This really worked 100% on my PC, thanks a lot

    Reply
  241. Dorian

    I had to change the file search for to determine which drive to use to look for install.esd instead of install.wim, I think the structure may have changed. Did work though, thanks.

    Reply
  242. Robert Saga

    Also use this command line from Command Prompt or PowerShell as an Administrator, in case it doesn’t work with the command line provided in this post. The drive letter must be changed where the Windows 10 installer is located. This is an example:

    32 or 64 bit:
    DISM.exe /Online /Add-Package /PackagePath:”C:%sourcessxsmicrosoft-windows-netfx3-ondemand-package.cab”

    Check that the installation and activation of. NET Framework 3.5 has been a success, using the following command line:
    From PowerShell as administrator:

    (Get-WindowsOptionalFeature -FeatureName NetFx3 -Online)
    From Command Prompt as administrator:
    PowerShell.exe Get-WindowsOptionalFeature -FeatureName NetFx3 -Online

    Note: This enables the execution of unsigned scripts in Powershell:
    (Set-ExecutionPolicy UnRestricted)

    You can choose to simultaneously press the “Windows+R”keys: copy and paste any of the following commands to check their activation:

    %SystemRoot%System32OptionalFeatures.exe
    or
    %windir%System32rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2

    As you can see in the “Windows Features” window, the following box should be shaded if enabled:”. NET Framework 3.5 (Includes. NET 2.0 and 3.0″)

    Ready!!!!
    * Here are some output screenshoots:
    https://imgur.com/a/FchGJ

    Reply
  243. Robert Saga

    Also use this command line from Command Prompt or PowerShell as an Administrator, in case it doesn’t work with the command line provided in this post. The drive letter must be changed where the Windows 10 installer is located. This is an example:

    32 or 64 bit:
    DISM.exe /Online /Add-Package /PackagePath:”C:\%\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab”

    Check that the installation and activation of. NET Framework 3.5 has been a success, using the following command line:
    From PowerShell as administrator:

    (Get-WindowsOptionalFeature -FeatureName NetFx3 -Online)
    From Command Prompt as administrator:
    PowerShell.exe Get-WindowsOptionalFeature -FeatureName NetFx3 -Online

    Note: This enables the execution of unsigned scripts in Powershell:
    (Set-ExecutionPolicy UnRestricted)

    You can choose to simultaneously press the “Windows+R”keys: copy and paste any of the following commands to check their activation:

    %SystemRoot%\System32\OptionalFeatures.exe
    or
    %windir%\System32\rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2

    As you can see in the “Windows Features” window, the following box should be shaded if enabled:”. NET Framework 3.5 (Includes. NET 2.0 and 3.0″)

    Ready!!!!
    * Here are some output screenshoots:
    imgur. com/a/FchGJ

    Reply
  244. Robert Saga

    Also use this command line from Command Prompt or PowerShell as an Administrator, in case it doesn’t work with the command line provided in this post. The drive letter must be changed where the Windows 10 installer is located. This is an example:

    32 or 64 bit:
    DISM.exe /Online /Add-Package /PackagePath:”D:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab”

    Check that the installation and activation of. NET Framework 3.5 has been a success, using the following command line:
    From PowerShell as administrator:

    (Get-WindowsOptionalFeature -FeatureName NetFx3 -Online)
    From Command Prompt as administrator:
    PowerShell.exe Get-WindowsOptionalFeature -FeatureName NetFx3 -Online

    Note: This enables the execution of unsigned scripts in Powershell:
    (Set-ExecutionPolicy UnRestricted)

    You can choose to simultaneously press the “Windows+R”keys: copy and paste any of the following commands to check their activation:

    %SystemRoot%\System32\OptionalFeatures.exe
    or
    %windir%\System32\rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2

    As you can see in the “Windows Features” window, the following box should be shaded if enabled:”. NET Framework 3.5 (Includes. NET 2.0 and 3.0″)

    Ready!!!!
    * Here are some output screenshoots:
    imgur. com/a/FchGJ

    Reply
  245. yanksz

    that’s excellent ! simple and easy. Thanks a lot!!

    Reply
    1. Sergey Tkachenko Post author

      You’re welcome.

      Reply
  246. AIJAZ REHMAN KASHMIRI

    Bravo!!! that is readlly working fine, it fail in one of my pc but it was CD rom issue, so this patch is perfect. Usually win 10 comes by default .NET 4 and programs created in lower version willnot work so you need to install it and the way shown above is very nice, just run the above patch should run successfully.

    Reply
  247. Harshwardhan

    Hi. Great work. Thanks!! Only thing is you do not need the whole bootable drive. This works if u only have the sxs folder with NetFX3. You can just copy that and paste it anywhere on PC & this still works.

    Reply
    1. Harshwardhan

      And obviously you need to change the source.

      Reply
  248. Reza

    Very Thanks

    Reply
  249. Aleks

    Thanks a lot! You are my hero!

    Reply
  250. Prasad

    Thanks a lot ….. :) Its worked for me.

    Reply
    1. Sergey Tkachenko Post author

      Great

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *