Search found 4 matches

by haobinnan
Fri Mar 27, 2026 6:40 am
Forum: wimlib discussion
Topic: wimlib_extract_image fails with WIMLIB_ERR_OPEN (47) during "Applying metadata to files"
Replies: 4
Views: 1437

Re: wimlib_extract_image fails with WIMLIB_ERR_OPEN (47) during "Applying metadata to files"

Does wimlib-imagex apply install.wim 2 f: use wimlib_global_init, wimlib_open_wim_with_progress, and wimlib_extract_image with all flags set to 0 by default?
by haobinnan
Fri Mar 27, 2026 3:13 am
Forum: wimlib discussion
Topic: wimlib_extract_image fails with WIMLIB_ERR_OPEN (47) during "Applying metadata to files"
Replies: 4
Views: 1437

Re: wimlib_extract_image fails with WIMLIB_ERR_OPEN (47) during "Applying metadata to files"


Does anyone know what could typically cause this?

Does anything appear in the error log, if you enable error logging?

On Windows, does wimlib_global_init() automatically enable privileges like SeBackupPrivilege / SeRestorePrivilege?

Yes, it enables those by default.



I encountered a ...
by haobinnan
Fri Mar 27, 2026 2:26 am
Forum: wimlib discussion
Topic: wimlib_extract_image fails with WIMLIB_ERR_OPEN (47) during "Applying metadata to files"
Replies: 4
Views: 1437

wimlib_extract_image fails with WIMLIB_ERR_OPEN (47) during "Applying metadata to files"

Content

I'm encountering an issue when using wimlib to extract a WIM image.

During wimlib_extract_image, the stages behave as follows:

Creating files ✅ OK
Extracting file data ✅ OK
Applying metadata to files ❌ Failed

Error code:

WIMLIB_ERR_OPEN (47)

Code snippet:

wimlib_global_init(0 ...