WinRE Build Error

User discussion and information resource forum for Image products.

WinRE Build Error

Postby tas3086 » Sat Dec 09, 2017 10:17 am

Use the /forceunsigned option to install the drivers.
Error: 50
The command completed with errors. For more information, refer to the log file.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

Is it possible to change the WinRe procedure to allow this option to be passed, as some of my drivers are old and unsigned?
Posts: 257
Joined: Mon Mar 19, 2012 11:15 am

Re: WinRE Build Error

Postby TeraByte Support(PP) » Sat Dec 09, 2017 4:32 pm

If you're using the TBWinRE.cmd script, you could edit the line in the script and add the /forceunsigned option if you wanted to make the fix. For example, in the ":: Add Drivers" section:
Dism /image:"!tbpath!\mount" /Add-Driver /driver:"!tbpath!\Drivers" /recurse /forceunsigned

If you're using the TBWinPE/RE Builder program (TBWinPE.exe), it should already force unsigned drivers if using the DISM API is supported and enabled. If using this method, can you provide a complete log of the build where it errors?

Otherwise, if using Builder, but not the DISM API, it can be looked into to add support for the option in that mode.
Paul Purviance
TeraByte Support
TeraByte Support(PP)
Posts: 1290
Joined: Thu Aug 11, 2011 5:51 pm

Return to Image for DOS/Linux/Windows