Translate this site using Windows Live Translator:
Welcome to TechNet Blogs Sign in | Join | Help

How to enable Kernel Debugging in WinPE booted from WDS

I recently faced a challenge with a specific WinPE image experiencing an issue.

As I'm not a debug specialist, I had some trouble to find the way out to attach my debugger to a WinPE image booted from WDS.

In fact it's quite easy :

  1. Boot your machine over PXE by pressing "F12"
  2. When you see the boot menu presented by WDS, hover the image you want to run and press "F10" instead of "Enter"

    image
  3. Then a special prompt will be presented on which you can specify debug settings :

    image
  4. Add the following arguments /debug /debugport=COM1 /baudrate=115200 and press "Enter" :

    image

Don't forget to run your debugger and attach to the machine !

Note that this procedure is provided "as is" with no warranty nor supportability engagement. It does not engage Microsoft at all.
Nevertheless if you consider this not clear, incomplete or inadequate, please let me know !

Published Saturday, February 16, 2008 8:54 PM by GuillaumeD
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: How to enable Kernel Debugging in WinPE booted from WDS

Hi Guillaume,

nice blog.  The "Windows PE Developer’s Guide"

http://www.microsoft.com/DownLoads/details.aspx?familyid=DDCAEB16-D1E2-44EA-9BC8-D89FFE4F2B46&displaylang=en

might be beneficial to look at, too. The paper  goes a different way to set up kernel debugging. It also details the steps to debug a user mode component for instance.

Thomas

Monday, March 23, 2009 6:27 AM by tjuengling@hotmail.com

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker