Friday, July 1, 2011

How to Enable Logging to solve windows startup issue?

You can troubleshoot many of computer startup problems using windows boot logging. When you start you computer with enable boot logging feature, a log file will be created to identify the drivers and services that is creating the problem during startup.  The name of this file is ntbootlog.txt and located in root directory (%SYSTEMROOT%, normally in C drive). You can search this file with the name "ntbootlog.txt" in C drive. Follow the example of ntbootlog.txt in windows XP.

Service Pack 2 8  7 2007 22:02:09.500
Loaded driver \WINDOWS\system32\ntoskrnl.exe
Loaded driver \WINDOWS\system32\hal.dll
Loaded driver \WINDOWS\system32\KDCOM.DLL
Loaded driver \WINDOWS\system32\BOOTVID.dll
Loaded driver ACPI.sys
Loaded driver \WINDOWS\system32\DRIVERS\WMILIB.SYS
Loaded driver pci.sys
Loaded driver isapnp.sys
Loaded driver intelide.sys
Loaded driver \WINDOWS\system32\DRIVERS\PCIIDEX.SYS
Loaded driver MountMgr.sys
Loaded driver ftdisk.sys
Loaded driver dmload.sys
Loaded driver dmio.sys
Loaded driver PartMgr.sys
Loaded driver VolSnap.sys
Loaded driver atapi.sys
Loaded driver disk.sys
Loaded driver \WINDOWS\system32\DRIVERS\CLASSPNP.SYS
Loaded driver fltMgr.sys
Loaded driver sr.sys
Loaded driver Fastfat.sys
Loaded driver KSecDD.sys
Loaded driver NDIS.sys
Loaded driver Mup.sys
Loaded driver agp440.sys
Did not load driver ACPI Uniprocessor PC
Did not load driver Audio Codecs
Did not load driver Legacy Audio Drivers
Did not load driver Media Control Devices
Did not load driver Legacy Video Capture Devices
Did not load driver Video Codecs


 To enable boot logging, boot your computer and press F8 keys. An advance menu screen will appear with different options.

To enable boot logging, boot your computer and press F8 keys. An advance menu screen will appear with different options.
  • Safe Mode
  • Safe Mode with Networking
  • Safe Mode with Command Prompt
  • Enable Boot Logging
  • Enable VGA Mode.
  • Last known Good Configuration
  • Start Windows Normally
  • Reboot

Here select the option Enable Boot Logging, and press Enter button, your system will be returned to main menu screen and again press Enter button to start logging. 
  If there is no problem in windows startup, then your system will boot successfully in normal mode, and you can review the log file. In case any problems in log file regarding loading services and drivers then you can troubleshoot that services (stop and restart) and drivers (reinstall). 

 If your problem does cause Windows to crash then restart your system and again Press F8 button to boot your system in safe mode. In safe mode again reviewing the ntbootlog.txt file and identifies the problems either disable any device or uninstall any third party application. If your problem is still there then visit your hardware vendor website for help.

No comments:

Post a Comment

Dear Reader, if you like My Blog content, feel free to comment on our blog posts.