question

SatvirSanghera-9271 avatar image
0 Votes"
SatvirSanghera-9271 asked JennyFeng-MSFT commented

Applying and using a custom .wim file to a USB stick

I have created our own laptop image with all of our settings and software. We shipped this back off to our supplier who then took an image themselves so that any new laptop we purchase from them already has this image on. They provided me with a .wim file on a USB stick so that we can use it ourselves on faulty/returned laptops from our users. This is a single 13.2Gb file. I have managed to get this file uploaded to our MDT so that we can pxe boot laptops.

I am looking for simple and straightforward instructions so that I can now add this .wim file to a bootable USB stick so that I am able to image and build faulty laptops straight from the USB stick as this will be a lot quicker.

Please help

windows-10-setup
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Just checking in to see if the information provided was helpful.

If the reply helped you, please remember to accept as answer.
If no, please reply and tell us the current situation in order to provide further help.

0 Votes 0 ·

1 Answer

GianlucaMelis avatar image
0 Votes"
GianlucaMelis answered

you basically have to convert your WIM in ESD with dism, something like this:

dism /Export-Image /SourceImageFile:C:\path_to\Install.wim /SourceIndex:1 /DestinationImageFile:C:\path_to\Install.esd /Compress:max

Source in your case should be usually = 1, you can check that using dism /get-wiminfo /wimfile:C:\path_to\install.wim

Now you rename the install to "install.esd" and copy/replace it on a bootable windows 10 USB inside the folder sources\

After That, you have to put the unattend.xml you use in your mdt in the root directory of your USB Stick and rename it to "autounattend.xml"

Naturally, you'll have to change some of the parameters in the xml to automate the installation Process.

maybe this can help you out:
https://win10.guru/simple-deployment-with-autounattend-xml-answer-file/

did not try that myself and i don't know if it is going to work, especially because your install.esd will be kinda big (normally is around 4GB, your is 13GB+..)

Good Luck!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.