Failed to export surface recovery image to wim file

Comments, questions, bug reports, etc.
Post Reply
yangyulin
Posts: 5
Joined: Mon Nov 08, 2021 4:19 am
Location: China

Failed to export surface recovery image to wim file

Post by yangyulin »

I had downloaded the Surface Laptop 7's recovery image from https://support.microsoft.com/en-us/sur ... very-image, and found it is in split form (swm file). But when I tried to export these images, the program showed these errors:

Code: Select all

[ERROR] blob could not be assigned to a solid resource
ERROR: Exiting with error code 20:
       An entry in the WIM's lookup table is invalid.
wimlib version:1.14.4
Surface image details (output from get-filehash):

Code: Select all

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          356B0A6479B3ACF6844289D689950D95524A36D664EA4F7B4790C72C1D535B39       SurfaceLaptop7_BMR_172010_2024.514.223.zip
Invoked Command:

Code: Select all

wimexport D:\SurfaceLaptop7_BMR_172010_2024.514.223\sources\install.swm all D:\install.wim --ref="D:\SurfaceLaptop7_BMR_172010_2024.514.223\sources\install*.swm"
Tokener
Posts: 22
Joined: Mon Sep 10, 2018 11:18 pm

Re: Failed to export surface recovery image to wim file

Post by Tokener »

Hello yangyulin
With another Surface image I could reproduce the error.
Have no clue how to use wimlib on this, but DISM solved it:

Code: Select all

DISM.exe /Export-Image /SourceImageFile:"D:\TEMP\SurfaceProX H BMR 172 6 111 0\sources\install.swm" /SourceIndex:1 /English /SWMFile:"D:\TEMP\SurfaceProX H BMR 172 6 111 0\sources\install*.swm" /DestinationImageFile:"E:\TEMP\install_export.wim"
Regards T.
Post Reply