Feb 1, 2024

Convert an ESD File to a WIM File versus convert ESD file to a WIM for Driver Updates in Your Windows Image

Convert an ESD File to a WIM File

 Since the introduction of Windows 10, Microsoft has started using the Electronic Software Distribution (ESD) file format instead of the Windows Imaging Format (WIM) in ISO files. If you have a Windows 10 ISO file and you want to work with the ESD file within it, you can use the following steps:


1. Copy the ESD file to a directory (e.g., C:\ESD).

  • Open Command Prompt as Administrator:
  • Press Win + X and choose "Command Prompt (Admin)" or "Windows PowerShell (Admin)."
  • Navigate to the directory where the ESD file is located:

cd C:\ESD


2. List Windows Versions:

  • Run the following command to list the Windows versions available in the ESD file:

dism /Get-WimInfo /WimFile:install.esd

  • Note the index (Index: X) of the Windows version you want to extract.


3. Convert to WIM:

  • Run the following command to convert the chosen Windows version to WIM format:

dism /Export-Image /SourceImageFile:install.esd /SourceIndex:X /DestinationImageFile:install.wim /Compress:max /CheckIntegrity

  • Replace X with the index of the Windows version you want to extract.
  • Wait for Export:
  • Allow some time for the export process to complete. The duration depends on your system's performance.

4. Check WIM File:

Once the export is complete, the WIM file (install.wim) is created in the same directory (C:\ESD).

With these steps, you should now have the Windows version you selected from the ESD file in WIM format (install.wim) in the specified directory (C:\ESD).


convert  ESD file to a WIM for Driver Updates in Your Windows Image

The provided instructions guide you through the process of converting Electronic Software Delivery (ESD) files to Windows Imaging Format (WIM) using the Deployment Image Servicing and Management (DISM) tool. This is useful when you need to add updated device drivers to your Windows image files. Here's a summarized version of the steps:


Create a folder:


Create a folder (e.g., c:\Win10USB) to store the converted files.

  • Copy install.esd:
  • Navigate to the sources directory on your installation media.
  • Copy the install.esd file to the Win10USB folder.
  • Open Command Prompt as Administrator:

Press Windows Key + X and select "Command Prompt (Admin)."


Change directory:

  • Change the directory to the working folder using the command: 

cd c:\Win10USB

 

List available images in install.esd:

  • Use the command: 

dism /Get-WimInfo /WimFile:install.esd

  • Identify the Index number of the image you want to modify (e.g., Index 2).
  • Export the image to a WIM file:


Execute the command:

dism /export-image /SourceImageFile:install.esd /SourceIndex:2 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity

  • Replace "2" with the Index number you identified.
  • This creates a new install.wim file.
  • Backup and replace files:


Backup the original install.esd.

  • Replace the original install.esd on your installation media with the new install.wim.
  • Repeat for additional versions:


If you have more versions of the OS, repeat Step 6, changing the SourceIndex accordingly.

Note: Always back up your files before performing these operations, and make sure to replace the original files on your installation media carefully.


This process helps in modifying and updating Windows image files with the necessary device drivers for deployment.

No comments:

Post a Comment