Switch to full style
User discussion and information resource forum for Image products.
Forum rules
Post a reply

WinRE Build Error

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?

Re: WinRE Build Error

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.
Post a reply