How to enable text-mode debugging during setup in Windows Server 2003 and Windows Small Business Server 2003 (814334)



The information in this article applies to:

  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Small Business Server 2003, Standard Edition
  • Microsoft Windows Small Business Server 2003, Premium Edition

SUMMARY

With Windows Server 2003 you can enable text-mode debugging during setup by pressing the F8 key. This means that you do not have to edit the Txtsetup.sif file to enable text-mode debugging.

Enable text-mode debugging during setup

To enable text-mode debugging during setup, press F8 when the Setup program is loading, and then press F8 again when you are prompted to press the F6 function key to install third-party small computer system interface (SCSI) and host controller drivers.

back to the top

Debug sections that are added to setup

When you press F8 to enable text-mode debugging during Setup, the following default debug options are added to Setup:

/debug
/debugport=com2
/baudrate=19200

The computer will send debugging output to COM2 during the text mode portion of setup. If your system has only COM1, you must modify the Txtsetup.sif file for the computer to send debugging output to COM1.

To use debugging, you must have symbols. You must also have a debugger computer that has a debug cable attached.

Note To use text-mode debugging, the COM2 communications (COM) port must be available on your computer. If COM2 is not available on your computer, and you have to enable text-mode debugging during setup, copy the setup files to your hard disk, edit the Txtsetup.sif file to address COM1, and then run the Setup program from the hard disk. Make the following modifications to the Txtsetup.sif file:

[SetupData]
OsLoadOptions = "/noguiboot /fastdetect /debug /baudrate=57600 /debugport=com1"
OsLoadOptionsVar = "/fastdetect /debug /baudrate=57600 /debugport=com1"

Note If your computer only has COM1, you must modify the Txtsetup.sif file to connect the debugger to COM1. For additional information about how to set up a remote debug session, click the following article number to view the article in the Microsoft Knowledge Base:

151981 How to set up a remote debug session using a null modem cable

If you want to use additional debug options, you must modify the Txtsetup.sif file. For additional information about how to modify the Txtsetup.sif file, click the following article number to view the article in the Microsoft Knowledge Base:

123750 Debugging Windows NT setup STOP screens

back to the top

Modification Type:MinorLast Reviewed:11/11/2004
Keywords:kbMgmtServices kbHOWTOmaster KB814334