locked
Opening bdd.log with trace32 in WinPE RRS feed

  • Question

  • I've added trace32 to my winpe (in C:\Windows\system32) image so that I can open bdd.log when a deployment fails, but when I try to open trace32 I get a message saying "The subsystem needed to support the image type is not present."\

    Am I doing something wrong?  How can I view bdd.log while in winpe?

    Thursday, January 14, 2016 4:17 PM

Answers

  • 64 bit WinPE won't open a 32 bit application.  If you launch CMTrace (the current version of trace32) a tmp file is created in %tmp%. Copy the created tmp file and save it as CMTrace.exe

    Logs are very important. https://keithga.wordpress.com/2014/10/24/video-mdt-2013-log-files-basics-bdd-log-and-smsts-log/ Mention any customizations you have made.

    • Marked as answer by Ty Glander Thursday, January 14, 2016 7:05 PM
    Thursday, January 14, 2016 4:38 PM
  • It is because the CMTrace is 32 and 64.  In a full OS what happens is the 32 bit image is launched but, it detects that it is on a 64 bit OS and creates the temp file and launches that as native 64.  In WinPE however you are completely unable to launch a 32 bit process on an x64 boot image.  Hence my suggestion about having to extract the 64 bit native image.

    Logs are very important. https://keithga.wordpress.com/2014/10/24/video-mdt-2013-log-files-basics-bdd-log-and-smsts-log/ Mention any customizations you have made.


    • Edited by Ty Glander Thursday, January 14, 2016 7:04 PM
    • Marked as answer by J. Wall Thursday, January 14, 2016 7:53 PM
    Thursday, January 14, 2016 7:04 PM

All replies

  • 64 bit WinPE won't open a 32 bit application.  If you launch CMTrace (the current version of trace32) a tmp file is created in %tmp%. Copy the created tmp file and save it as CMTrace.exe

    Logs are very important. https://keithga.wordpress.com/2014/10/24/video-mdt-2013-log-files-basics-bdd-log-and-smsts-log/ Mention any customizations you have made.

    • Marked as answer by Ty Glander Thursday, January 14, 2016 7:05 PM
    Thursday, January 14, 2016 4:38 PM
  • Thanks for the reply Ty, I should have thought of that.

    I've renamed the tmp file, but if I already have CMSetup.exe why do I need to take the tmp file?  The original and the tmp seem to be the same, aren't they?

    EDIT: Not CMSetup.exe, I mean CMTrace.exe


    • Edited by J. Wall Thursday, January 14, 2016 5:28 PM
    Thursday, January 14, 2016 5:26 PM
  • It is because the CMTrace is 32 and 64.  In a full OS what happens is the 32 bit image is launched but, it detects that it is on a 64 bit OS and creates the temp file and launches that as native 64.  In WinPE however you are completely unable to launch a 32 bit process on an x64 boot image.  Hence my suggestion about having to extract the 64 bit native image.

    Logs are very important. https://keithga.wordpress.com/2014/10/24/video-mdt-2013-log-files-basics-bdd-log-and-smsts-log/ Mention any customizations you have made.


    • Edited by Ty Glander Thursday, January 14, 2016 7:04 PM
    • Marked as answer by J. Wall Thursday, January 14, 2016 7:53 PM
    Thursday, January 14, 2016 7:04 PM
  • Gotcha, thanks for the help.
    Thursday, January 14, 2016 7:53 PM