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.

275 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 17 Thumb down 114

    Reply
      1. Allan Pendlebury

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

        Like or Dislike: Thumb up 1 Thumb down 0

        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 28 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 16 Thumb down 1

    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 20 Thumb down 1

    Reply
    1. 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 1 Thumb down 0

      Reply
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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 33 Thumb down 2

    Reply
    1. 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
    2. 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
  15. 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
  16. 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. 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. 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

  17. 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
  18. 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
  19. 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
  20. 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. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. GenixTech

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

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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 0 Thumb down 0

    Reply
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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

Leave a Reply

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