Recipe 16.15. Enabling Boot Logging


Problem

You are experiencing problems during system startup and you want to enable logging to determine what drivers and services are being loaded.

Solution

Restart your computer and press the F8 key until you see the Windows Advanced Options menu as shown in Figure 16-1.

Figure 16-1. Windows Advanced Options menu


You can enable boot logging by selecting Safe Mode, Safe Mode with Networking, Safe Mode with Command Prompt, or Enable Boot Logging.

After the system boots up, you can log in and view the log file located at %SystemRoot%\Ntbtlog.txt using a tool such as Notepad.

Discussion

Boot logging can assist you in spotting drivers or services that may be preventing the system from starting up correctly. The system writes out the ntbtlog.txt log file after you see the Preparing network connections screen. If your system isn't making it that far in the boot process, check out MS KB 275735 for more troubleshooting tips.

See Also

MS KB 275735, "Ntbtlog.txt File Not Written When Boot Logging Is Enabled," and MS KB 315222, "A Description of the Safe Mode Boot Options in Windows XP"



Windows XP Cookbook
Windows XP Cookbook (Cookbooks)
ISBN: 0596007256
EAN: 2147483647
Year: 2006
Pages: 408

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net