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 or Windows Server 2025 devices, where older or mismatched ADK versions may not function as expected.
Note that this error can occur regardless of the storage device size or type you're using (including various USB flash drives or external hard drives).
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
-
Download Windows ADK (version 10.1.26100.2454 from December 2024)
-
Download Windows PE add-on for Windows ADK
-
-
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
-
If you encounter this issue after a SmartDeploy software upgrade, you may need to completely uninstall and reinstall the ADK components to ensure proper compatibility.