none
It´s always "The source files could not be found." with DISM

    Question

  • I´m trying to add .NET Framework 3.5 to Windows 8.1 image. I use install.wim. I also have a source DVD media. Whatever I do, I always get "source files could not be found". I got mounted install wim in D:\OSD\Images\Mount and DVD media on X:

    Here what I tried:


    1. Dism /Image:D:\OSD\Images\Mount /Enable-Feature /FeatureName:NetFx3 /Source:D:\OSD\Images\Mount\Windows

    2. Dism /Image:D:\OSD\Images\Mount /Enable-Feature /FeatureName:NetFx3 /All /Source:X:\sources\install.wim

    3. Dism /Image:D:\OSD\Images\Mount /EnableFeature /FeatureName:NetFx3 /All /Source:D:\OSD\Image\Mount\Windows\WinSxS

    4. Dism /Image:D:\OSD\Images\Mount /Enable-Feature /FeatureName:NetFx3 /All /Source:D:\OSD\Image\Win81Enterprice_x64\install.wim

    ..And few other options. What is wrong with DISM? I had lot of troubles with DISM and PS Enable-WindowsFeature cmdlets lately.

    Saturday, November 09, 2013 3:13 PM

Answers

  • ok, replace /Online with /Image. Your mistake was the /Source parameter.


    "A programmer is just a tool which converts caffeine into code"




    • Edited by Andre.Ziegler Sunday, November 10, 2013 7:10 PM
    • Marked as answer by yannara Thursday, November 14, 2013 5:09 PM
    Sunday, November 10, 2013 7:07 PM

All replies

  • This is the correct command:

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

    Installing the .NET Framework 3.5 on Windows 8 or 8.1
    http://msdn.microsoft.com/en-us/library/hh506443.aspx

    "A programmer is just a tool which converts caffeine into code"

    Saturday, November 09, 2013 7:43 PM
  • This is the correct command:

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

    Installing the .NET Framework 3.5 on Windows 8 or 8.1
    http://msdn.microsoft.com/en-us/library/hh506443.aspx

    "A programmer is just a tool which converts caffeine into code"


    I need to add .net Framework to the image (install.wim), so wouldn´t have to do this to a single Computer.
    Sunday, November 10, 2013 1:03 PM
  • ok, replace /Online with /Image. Your mistake was the /Source parameter.


    "A programmer is just a tool which converts caffeine into code"




    • Edited by Andre.Ziegler Sunday, November 10, 2013 7:10 PM
    • Marked as answer by yannara Thursday, November 14, 2013 5:09 PM
    Sunday, November 10, 2013 7:07 PM