Topic: Build Error:Winre.wim image files were not successfully applied in Target folder  (Read 906 times)

Baradar67

  • Apprentice
  • *
  • Date Registered: Jul 2019
  • Posts: 5


Just following the quick setup guide but not having luck due to this error.

Using latest 1903 ISO.
Run the builder as admin from folder on D drive. Target folder tested with default and fixed path.
Source is downloaded from the Techbench link in the program and extracted to D drive - Win10_1903_V1_English_x64
Windows Defender disabled

Suggestions most welcome.

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Ok, you mounted 1903 ISO and copied the contents of ISO in to D:\Win10_1903_V1_English_x64
I see you stated extracted ISO

I also see you stated  Target folder tested with default and fixed path
On Main Opening Page "Win10XPE" Interface - did you set the source and is the media information populated ??

ila_rendered

No Need to use the "SOURCE" Tab
« Last Edit: July 22, 2019, 09:37:58 AM by James »

Baradar67

  • Apprentice
  • *
  • Date Registered: Jul 2019
  • Posts: 5
Thanks for taking time to assist James.

Yep, looks similar to your pic but different version, you're using a windows preview? (1907?)

It appears to extract the winre.wim without issues and then fails at this point.

I used 7-zip to extract the iso, did not mount and copy.  Any issues with that?  (I've done it for years without issue)

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
yes, using current preview release - But that should not matter with your issue...

As far as 7zip extract - I am unsure - never tested that way... I always copy contents...

after error - the log will pop up - at bottom of log select "Save as Log.html"

Browse into "Win10XPE" Folder - compress log file and then attach to forum post..

Although I believe you need 5 posts before attachment allowed

Or in log you will see warning with an exit code
Quote
Wimlib Apply Winre.wim in Target Folder return : %ExitCode%

Somewhere the Exit Codes where posted by ChrisR here in Forum - just have not found, yet...
« Last Edit: July 22, 2019, 11:51:17 AM by James »

Baradar67

  • Apprentice
  • *
  • Date Registered: Jul 2019
  • Posts: 5
The error code is:   Wimlib Apply Winre.wim in Target Folder return : 57

And according to http://theoven.org/index.php?topic=2421.msg26763#msg26763 it means WIMLIB_ERR_SET_ATTRIBUTES                     = 57,

I assume set attributes means the usual windows set attributes command, read-only, etc.  So that sounds like permissions or the extracted winre.wim is corrupted (tried again using win 10 mount and copy, no different).

Mega link to log file in case that can help: https://mega.nz/#!yyoSEKIZ!gRR8nY8cA3QhoFMC_vqlBSbtVXegC94R6pArxTxP0L8

Thanks again for the help (10.30pm, heading to bed).

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
I am sorry, but I could not reproduce the error....
Using any of the "Build Type" Options

Please allow windows defender Exception on D:\Win10XPE folder
Please re-download project and overwrite existing D:\Win10XPE folder
set source and try again without any additional selections

Edit:
I must assume D:\ is a DATA Drive with enough space to handle the extraction...
« Last Edit: July 22, 2019, 03:02:32 PM by James »

Baradar67

  • Apprentice
  • *
  • Date Registered: Jul 2019
  • Posts: 5
re-downloaded both win10xpe and iso.  extracted them to a different drive with 200GB free space (SSD, was previously a HDD with 170GB free).

windows defender has the exceptions and is disabled in any case.

very peculiar.

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
so working now ??

Baradar67

  • Apprentice
  • *
  • Date Registered: Jul 2019
  • Posts: 5
Welp, I'll let you know how I continue.  I got it to work on another system with the same files copied over.  It is definitely getting stuck at extraction/reduction of winre.wim.  The other system doesnt get used much but some differences between them:
old/new
1803/1903
intel i3-4100/ryzen 7 2700X
HTPC system/gaming-work system (I install everything including easy anticheat on the new system.  EAC maybe? nephew wanted to play fortnite)
Standard local account/Office 365(Azure) connected pc (although I tried a local admin acct)


Thanks a lot for your help James and sorry for not trying the different pc sooner.  This is quite a new system (reinstalled a couple months ago) and I found it hard to understand what was going wrong.  I also assumed someone might have had the same problem.  Add to that it's my first time using the builder (which is too simple, really, I expected it to be more difficult).

Anyhow, thanks again.  I've got a pe boot drive now so I'll see if it works after upgrading the older pc to 1903.

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Funny Really, because some members are Windows 7 Users and I am a Windows 8.1 & 10 User...
My guess is it something about installed software and pretty sure not the OS itself

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
I know the topic is quite old, but if someone face this issue in the future.

The Wimlib return:57 means WIMLIB_ERR_SET_ATTRIBUTES = 57, This is caused because NTFS compression is disabled in registry on the drive used to build XPE.

Setting
Code: [Select]
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisableCompression=0

Or at least not disabling NTFS compression on the drive used to build, Fixes the problem.

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
So Where would a User find that setting from within the OS Interface ?? Not the Registry...

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
There is no Gui for these settings, Microsoft never disable this. But Third party system optimization software sometime does.

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisableCompression"=dword:00000000

Create a reg file with this and merge it into problematic machine. Reboot computer to apply changes.
« Last Edit: November 22, 2019, 05:25:45 PM by Malok »

 

Powered by EzPortal