Symptoms
When creating media in Media Wizard, you may receive the following error message:
"An error occurred while unmounting the image file."
Cause
This error is commonly caused by a compatibility issue between the SmartDeploy Media Wizard and the installed version of the Windows Assessment and Deployment Kit (ADK). This is especially prevalent when working with Windows 11 24H2 devices, where older or mismatched ADK versions may not function as expected.
Note: While ADK compatibility is the most common cause, other issues may result in this error.
If you’ve confirmed that you're using the correct version of the ADK for your operating system, please submit a support ticket and include the following log file:C:\SmartDeploy\Logs\MediaWizard.log
(If you installed SmartDeploy to a different location, such asD:\
orE:\
, check that path instead.)
Resolution
To resolve this issue:
-
Install the latest Windows ADK and Windows PE add-on
-
Delete the SmartDeploy scratch folder
-
Navigate to
C:\SmartDeploy\Scratch
-
Delete all contents in this folder
-
-
Recreate your media
-
Open the SmartDeploy Console
-
Launch Media Wizard and try creating the media again
-