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

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

RECOMMENDED: Click here to fix Windows errors and optimize system performance

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.

289 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?

    Poorly-rated. Like or Dislike: Thumb up 20 Thumb down 130

    Reply
    1. Sergey Tkachenko Post author

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

      Well-loved. Like or Dislike: Thumb up 109 Thumb down 4

      Reply
      1. Allan Pendlebury

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

        Well-loved. Like or Dislike: Thumb up 9 Thumb down 1

        Reply
      2. Rodney

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

        Like or Dislike: Thumb up 5 Thumb down 2

        Reply
    2. 321123

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

      Well-loved. Like or Dislike: Thumb up 16 Thumb down 1

      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.

    Well-loved. Like or Dislike: Thumb up 30 Thumb down 1

    Reply
  3. David

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

    Well-loved. Like or Dislike: Thumb up 17 Thumb down 1

    Reply
    1. Sergey Tkachenko Post author

      Great, hehehe :)

      Well-loved. Like or Dislike: Thumb up 20 Thumb down 2

      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!

    Well-loved. Like or Dislike: Thumb up 21 Thumb down 1

    Reply
    1. Sergey Tkachenko Post author

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

      Well-loved. Like or Dislike: Thumb up 7 Thumb down 0

      Reply
  5. ThomaxofT

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

    Like or Dislike: Thumb up 5 Thumb down 2

    Reply
    1. Sergey Tkachenko Post author

      Glad to hear

      Well-loved. Like or Dislike: Thumb up 5 Thumb down 0

      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

      Like or Dislike: Thumb up 3 Thumb down 0

      Reply
  6. Аржаан

    Thank U! Here it is a sensible thing!

    Like or Dislike: Thumb up 5 Thumb down 2

    Reply
  7. Tom

    Great article, helped me install 3.5 Thanks mate

    Well-loved. Like or Dislike: Thumb up 14 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Glad to be helpful

      Well-loved. Like or Dislike: Thumb up 4 Thumb down 0

      Reply
  8. Fazil

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

    Like or Dislike: Thumb up 3 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Enjoy

      Well-loved. Like or Dislike: Thumb up 5 Thumb down 1

      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

    Like or Dislike: Thumb up 2 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      heh, you are welcome, man

      Like or Dislike: Thumb up 1 Thumb down 0

      Reply
      1. Senyonga

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

        Like or Dislike: Thumb up 1 Thumb down 0

        Reply
  10. james

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

    Like or Dislike: Thumb up 2 Thumb down 0

    Reply
  11. Serioni Silas Che

    Works Perfectly. Thanks

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  12. obey

    thanks

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Like or Dislike: Thumb up 1 Thumb down 0

      Reply
  13. KARAN SADOTRA

    Dude,
    It gets stopped at 99.8 % ….

    Like or Dislike: Thumb up 2 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Works here

      Like or Dislike: Thumb up 2 Thumb down 2

      Reply
  14. Lee

    Error: 0x800f0907

    No Worky… DSIM error

    Well-loved. Like or Dislike: Thumb up 5 Thumb down 0

    Reply
  15. Rasel Ahmed

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

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  16. 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…

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  17. Kerim Can

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  18. sartaj ali mahesar

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

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  19. hossein zebarjadi dana

    tanks a lot .

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  20. 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…

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

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

      Like or Dislike: Thumb up 1 Thumb down 1

      Reply
  21. 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.

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  22. Yasmani

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

    Like or Dislike: Thumb up 0 Thumb down 1

    Reply
    1. Sergey Tkachenko Post author

      Glad to be helpful.

      Like or Dislike: Thumb up 0 Thumb down 1

      Reply
  23. codebaby

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

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  24. Matt

    You are the best. Thanks so much.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  25. Danyal

    Thanks, script worked for me

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  26. Wawan

    very nice. thanks

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  27. 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

    Well-loved. Like or Dislike: Thumb up 10 Thumb down 0

    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.

      Well-loved. Like or Dislike: Thumb up 4 Thumb down 0

      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.

        Like or Dislike: Thumb up 2 Thumb down 0

        Reply
  28. David D

    EXCELLENT! THANKS

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  29. Paul

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  30. Jonathan

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  31. SNK

    thanks. its downloading.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  32. Spha

    Thanks a lot

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      you are welcome

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  33. David Banos

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  34. Sajjad

    Thanks alot
    Excelent…

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  35. 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

    Well-loved. Like or Dislike: Thumb up 34 Thumb down 2

    Reply
    1. Dave P

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

      Like or Dislike: Thumb up 1 Thumb down 0

      Reply
    2. Zoe Cornelisse

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

      Like or Dislike: Thumb up 2 Thumb down 0

      Reply
    3. Brandon Wright

      Thank you so much!

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
    4. alex

      This worked for me too! Thank you! Build 10240

      Like or Dislike: Thumb up 0 Thumb down 0

      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.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  36. Seth

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  37. Aulia Firdaus Simbolon

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  38. 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.

    Like or Dislike: Thumb up 2 Thumb down 0

    Reply
    1. Anne B

      I have exactly your issue.

      Anyone else come across this? Found a way forward?

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  39. naudtus

    Merci !
    Cela a fonctionné parfaitement !

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  40. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    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.

      Like or Dislike: Thumb up 0 Thumb down 1

      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?

        Like or Dislike: Thumb up 0 Thumb down 0

        Reply
        1. Sergey Tkachenko Post author

          well, try with sfc /scannow

          Like or Dislike: Thumb up 0 Thumb down 0

          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.

            Like or Dislike: Thumb up 0 Thumb down 0

      2. MAK

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

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

        Like or Dislike: Thumb up 1 Thumb down 0

        Reply
        1. XDux

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

          Like or Dislike: Thumb up 0 Thumb down 0

          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.

            Like or Dislike: Thumb up 0 Thumb down 0

  41. 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!!)

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  42. SUBHAJIT RAHA

    u r genius

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  43. 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.

    Like or Dislike: Thumb up 2 Thumb down 0

    Reply
    1. MAK

      Sorry, this won’t help either.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  44. regis

    how to make i d ont have my installation usb

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  45. Raden

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  46. AShish

    Thnx alot!!
    It worked…
    .

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  47. 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?

    Like or Dislike: Thumb up 0 Thumb down 0

    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.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  48. omid

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Here you go:
      Command prompt ask for drive

      Like or Dislike: Thumb up 2 Thumb down 0

      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

        Like or Dislike: Thumb up 3 Thumb down 0

        Reply
        1. Sergey Tkachenko Post author

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

          Like or Dislike: Thumb up 0 Thumb down 0

          Reply
  49. Mesias

    Gracias!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  50. Sammy-Dan

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome :)

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  51. 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.

    Like or Dislike: Thumb up 2 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      This is exactly that the batch file does.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  52. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  53. 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

    Well-loved. Like or Dislike: Thumb up 6 Thumb down 0

    Reply
    1. Manas Goswami

      I’m facing the same problem.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  54. 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:
    http://winaero.com/blog/fix-error-14098-the-component-store-has-been-corrupted/

    Like or Dislike: Thumb up 0 Thumb down 0

    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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  55. mostafa

    it worked !!!
    thanks

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  56. Zaw Myo Tun

    Thank Bro…

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  57. Sayan

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  58. Delven

    Thanks. It worked.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  59. Nadeem Ullah Hussani

    Thanks Man.
    Your Batch File Saves annoying time.

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  60. Filbert

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  61. Babji

    it worked
    thanks

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  62. Roger

    Great Man :)

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  63. Clifford James

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  64. Root777

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  65. Asim

    thanks a lot ! :)

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  66. GenixTech

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  67. Cobby

    I cant believe this worked..thanks fam

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  68. wed

    thx a lot good tips

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  69. Tuan IT

    Thanks you.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  70. 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

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  71. Musuru

    WOw this really works great guys

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  72. basant

    finally your way solve my problem…thanks

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  73. 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?

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

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

      Like or Dislike: Thumb up 1 Thumb down 0

      Reply
      1. hadi alimardani

        thank u very very much master

        Like or Dislike: Thumb up 0 Thumb down 0

        Reply
  74. krisha

    You are a life saver.
    Keep up!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  75. paidforyou

    Hi, Sergey Tkachenko,

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

    Thanks

    paidforyou

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  76. paidforyou

    I use Windows 10 Ver 10.0.10240.16384

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  77. Kirill

    Thanks man, that was easy!!!!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  78. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  79. 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.

    Like or Dislike: Thumb up 0 Thumb down 2

    Reply
  80. Mahdi

    It has problem yet

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      what?

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  81. Jerry

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  82. mohit

    it does ‘nt worked here

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  83. Adolfo

    Excellent! Works fine! thank you so much!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  84. Misam

    Thkx buddy..it worked properly

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  85. CARLOS

    Thanks It Work Perfectly.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  86. 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>

    Like or Dislike: Thumb up 0 Thumb down 0

    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: http://winaero.com/blog/how-to-open-elevated-command-prompt-in-windows-10/

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  87. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    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?

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  88. Dmitry

    Thanks (:

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome Dmitry.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  89. Ganza Charles

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  90. Linkhu

    Thank you

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Don’t mention it.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  91. tomas

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

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  92. 010101

    Error: 0x80090352

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  93. Goh

    Works for me! Thanks!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  94. 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!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  95. 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………..

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      follow the instruction in the article please

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  96. ajai

    thnx……it is working 100%

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  97. hungry cat

    Thanks man you made my day!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Great. You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  98. Mohammed Uchiha

    Thanks so much man it really worked :D

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  99. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  100. 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

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  101. Pawel

    It’s working! Thank You!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  102. Pascal

    Worked for me, thanks!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  103. 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 . . .

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  104. Kc

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  105. Jack

    OK, Work.
    Thank you.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  106. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  107. 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)

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  108. Anubhav

    thanx alot. This worked for me.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  109. Pavan Ayyagari

    Many thanks for the blog.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  110. Karthik

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome my friend.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  111. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  112. Daniel Roussielle

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  113. Gary

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  114. Samuel Mideksa

    The source files could not be found

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  115. 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 . . .

    Like or Dislike: Thumb up 0 Thumb down 0

    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?

      Like or Dislike: Thumb up 0 Thumb down 0

      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?

        Like or Dislike: Thumb up 0 Thumb down 0

        Reply
        1. Sergey Tkachenko Post author

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

          Like or Dislike: Thumb up 0 Thumb down 0

          Reply
  116. 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?

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  117. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  118. 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?

    Like or Dislike: Thumb up 0 Thumb down 0

    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?

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  119. Ove Østerby

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  120. Pouya

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  121. Dr. Virus

    Worked Perfectly!!! Thanks so much

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  122. 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!!!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  123. Dilantha

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  124. 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..?

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  125. Martin

    Thanks alot. This worked for me!!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  126. trewoshka

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  127. 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>

    Like or Dislike: Thumb up 0 Thumb down 0

    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

      Like or Dislike: Thumb up 0 Thumb down 0

      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.

        Like or Dislike: Thumb up 0 Thumb down 0

        Reply
        1. Sergey Tkachenko Post author

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

          Like or Dislike: Thumb up 0 Thumb down 0

          Reply
  128. Aura

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Aura

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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
      1. Aura

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

        Like or Dislike: Thumb up 1 Thumb down 0

        Reply
        1. Sergey Tkachenko Post author

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

          Like or Dislike: Thumb up 0 Thumb down 0

          Reply
  129. Alexandra

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  130. Miguel

    Thank you!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  131. kipangilo ali

    please install adobe flash player on my computer please

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  132. 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%

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      great!

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  133. Andrew

    Cool!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  134. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Thank you very much.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  135. 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.

    Like or Dislike: Thumb up 1 Thumb down 0

    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.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  136. Wastur

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  137. TOMU

    work thank you

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  138. Neda

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  139. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  140. 0.o

    MIcrosoft that crap

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  141. Mike

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  142. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  143. Manzar Zafar

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

    Regards from Pakistan,
    Manzar.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  144. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Brandon Wright

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

      Like or Dislike: Thumb up 2 Thumb down 0

      Reply
  145. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Betsue Tsegay Weldemariam

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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  146. Naveen

    Thatz wonderful .. thanks

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  147. Saad

    Thanks. It works

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  148. Ken Fricklas

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  149. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      heh, you are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  150. 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.

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  151. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  152. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  153. Mpep Gokhade

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  154. 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…

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  155. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  156. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  157. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  158. raj

    nice.. thnks

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  159. praise

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  160. 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!!!!!!!!!!!!!!!!!!!!!!!!!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  161. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  162. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  163. lagu regae

    thanks…. it’s Work! :)

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      you are welcome

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  164. 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. :)

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  165. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  166. Jomesh Joseph Veliyath

    Hi Friend,

    Thanks a lot.

    Regards,
    Jomesh

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  167. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  168. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  169. DEEPAK GOEL

    Error: 0x800f0907

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  170. Dejan

    Thanks so much!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  171. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  172. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  173. Kendall Morrison

    Thanks. You star!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  174. Saad

    Thanks, works grately

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  175. RENE

    GOOD JOB… THANKS

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  176. ao

    aw ,thanks u..

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  177. IT-Tehnik

    Cool. It work :) Thanks

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  178. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  179. Hay

    TYVM cheers.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  180. mota

    wokrssss tanksssss

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  181. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  182. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  183. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  184. peter barakat

    thank you very much (ummmmmmh)

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  185. vighnesh

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  186. Rod Pumas

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  187. Muhammad

    Worked smooth
    thank you

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  188. 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.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  189. Akash

    Worked great. Thanks!

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  190. SilviuB

    Worked. Thank you

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  191. Hasim

    Thanks.. working..

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  192. E Reed

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  193. 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”

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  194. 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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  195. Santosh Devbhandari

    Thanks!!!
    This worked.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  196. 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)

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  197. George Bell

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  198. 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?

    Like or Dislike: Thumb up 0 Thumb down 0

    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

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  199. Himanshu Patel

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  200. JT

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply

Leave a Reply

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