0

When I try to import windows 10 image to MDT, I am getting below error. Even with local folder or with mounted iso file.

enter image description here

Please suggest how to fix this,

The error is "THe specified source directory doesn't contain install.wim" But this is the iso file I downloaded from msdn and working with manual install of OS.

Uday Kiran Reddy
  • 109
  • 1
  • 2
  • 12

1 Answers1

0

MDT is unable to process ESD files and is not aware of install.esd files. To fix your issue, you must convert the install.esd into an install.wim file.

ESD files are included in modern Windows installs and contains a compression algorithm that makes them read only with DISM. They are also called push button reset recovery images. The compression is much better than a normal WIM file.

As a best practice to ensure that your deployment share isn't too big, make sure you delete the install.esd file after you are finished with it.

If you want to import multiple indexes into MDT, you will need to run step 2 for every image index you want in the final install.wim. DISM is intelligent enough to recognise an existing install.wim and it will add an additional index to it.


How to Fix

To use modern install images (ESD Files):

  1. Copy the contents of your ISO to a read/write folder.
  2. Use DISM to extract the ESD compressed WIM file Index(s) of your choice to an Install.WIM in the sources directory of the extracted ISO.
    It is best practice to remove the install.esd file after you have finished exporting the image. This prevents the deployment share from being too big.
  3. Use MDT to import the extracted installer ISO with the converted install.wim.

Links:

Elliot Huffman
  • 1,169
  • 1
  • 10
  • 22
  • Thank you, I tried converting but the esd file is 3.2 GB and has 6 indexes. When I tried to created separate wim file for each index, it came to 6x3.2G Any suggestions, how to decrease the overall size as there is repetition of data. And also, is there any way to import centos/ubuntu images to MDT. – Uday Kiran Reddy Jul 13 '20 at 11:40
  • You can export the `WIM` files on top of themselves. it is append instead of replace. You can still keep all the `install.wim` indexes in the main install image. `MDT` is not compatible out of the box with Linux distros. With some hacking you can make it work. E.g. I run MDT off of a raspberry pi for my portal deployment engine. but adding Ubuntu as deployable is tricky. I would try something with VHDs but this is a separate topic. – Elliot Huffman Jul 13 '20 at 14:54
  • Just use the example in the `How to extract WIM/ESD Images` docs with the same destination image, it will append new indexes to the destination. – Elliot Huffman Jul 13 '20 at 14:56
  • @UdayKiranReddy, does the explanation of how `DISM` works fix your multiple image issue? – Elliot Huffman Jul 16 '20 at 15:26
  • 1
    Yes, it is working. Thank you so much.Can you suggest any on Linux deployment also. – Uday Kiran Reddy Jul 18 '20 at 09:17
  • For Linux, I use a non WDS server to do my PXE booting. I use wimboot to chainload into MDT for windows and a normal pxelinux chainload for the linux options. but I don't use WDS for multi OS because of the complexity requirements of linux. https://ipxe.org/wimboot – Elliot Huffman Jul 23 '20 at 12:38
  • Instead of Using WDS, LTE image is also fine.. Please share the option to add Linux as one of the OS in MDT. – Uday Kiran Reddy Jul 23 '20 at 17:15
  • You can't out of the box. You need to use a different deployment platform. `MDT` is run from within Windows. Windows doesn't understand file systems like `ZFS` or `EXT4`. You need to boot into an OS that does support those technologies. Try `PXE` booting into Linux to deploy it. You can try to make a `VHD` of Linux to deploy from `MDT` but that is outside of the scope of this question. `WDS` = `Windows Deployment Services`. – Elliot Huffman Jul 24 '20 at 13:24
  • So, can you suggest any other deployment tool which supports both Linux and windows. – Uday Kiran Reddy Jul 28 '20 at 08:24
  • Yes, Set up a custom `PXE` server running linux. Have a Windows `WIM` in its boot configuration. Use `PXELinux` for the main OS that is initially booted via `TFTP`. Set up linux `chain loading` for any of your Linux OSs and set up `WIMBOOT` for your Windows operating systems. It is a manual process, I am not aware of any tools like `WDS` or `MDT` for multi platform systems. – Elliot Huffman Jul 29 '20 at 13:05