Wednesday, January 19, 2022

[MDT ]Error while importing Operating System

Before proceeding to Part 3 of the MDT OS Upgrade, I am encountering the below error message while trying to import the updated Operating System into Deployment Workbench :

Error:

 

Explanation: 

Deployment Workbench does not understand the .esd files [in the ISO image when mounted on the server] , therefore I need to export the 'install.esd' file to 'install.wim'.

Steps to fix:

1. Create a folder and label it as ESD

2. Mount the ISO of the Operating System

3. Copy the install.esd from sources to the newly created folder ESD

4. Open Windows PowerShell as an administrator. Change the directory from Root to the location of the ESD folder :

5. Run the following command:


 dism /Get-WimInfo /WimFile:install.esd

This command will get the version of the operating system that are contain within the ESD file.

6. Since the version I wish to install is the Windows 10 Pro, I made a note of the Index: 6 and use the following command to export the image as wim

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

That might take a while to get done and you can go and get some coffee in the meantime ☕.

7. After the image has been exported, check the ESD folder to locate the WIM file :

8. Check the new .wim created and copy and paste it in the 'sources' folder:

9. Open Deployment Workbench to import the image again

10. A successful import will look like this:

 

 

 That is how this little bug is solved! Happy coding and problem solving! 🌱

No comments:

Post a Comment

[Coding with python][Installing Flask App]

  I am trying website coding with Python to better organise my tools. For starters, I installed Flask. Below are the commands that I am usin...