Inject .net 351 to windows 10 using MDT 2013 Update 1 RRS feed

  • Question

  • Hello

    i have seen many ways to install .net 3.5.1, through a task sequence.

    But i want to do this

    Import the CAB files that you want to add into your deployment share using Workbench, and then MDT will inject them automatically, offline before the OS boots for the first time.



    So i got the single cab file from Windows 10 iso, sources/sxs folder.

    I injected this into mdt workbench as a os import package, i then made a new profile of this and then enabled the Apply Patches in the Preinstall of the task sequence and selected the package that had the .net cab. 

    i then built my machine and can see that .net did not get installed.

    Could not see anything is bdd.log as to why

    I have seen other ways to install .net like with DISM but then i get the error  -2147467259 0x80004005, the features way requires to install .net in full os mode.

    I want  to install it in the pre-install as i have alot of others apps to install that require it

    Any ideas?


    Thursday, May 12, 2016 4:03 PM

All replies

  • This seems like a more difficult approach. I use the following method: http://blog.thomasmarcussen.com/installing-net-framework-3-5-with-mdt-2013-the-simple-way/

    The only thing this leaves out is to add the SkipRoles=Yes to the Customsettings.ini

    I would make this the first thing you install and then set a Restart Computer task.  Then all future applications will have it available to them.

    Thursday, May 12, 2016 5:24 PM
  • This is fine however you have to do this in full os mode i.e in the state restore.

    I have lots of applications to install and therefore i wanted this installed as part of the os install

    I found another site with what i wanted to achieve


    Friday, May 13, 2016 9:10 AM
  • I install .NET as part of my reference/gold image before I capture it. Sysprep does not affect .NET installs! This might save you some time and headaches!
    Friday, May 13, 2016 11:15 AM
  • Well it seems i got it working if anybody is intrested by

    Dism /Online /add-package /packagepath:"%DeployRoot%\sources\sxs\microsoft-windows-netfx3-ondemand-package.Cab"

    From a cmd task in the task sequence

    • Proposed as answer by tonibert Friday, May 13, 2016 5:15 PM
    Friday, May 13, 2016 4:18 PM
  • If you set Sources then you can easily use add roles and features.

    Many questions such as where do I find logs and what logs are interesting are found in: MDT TechNet Forum - FAQ & Getting Started Guide Please take the time to read it.

    Friday, May 13, 2016 6:26 PM