Google

» How To Enable Boot Logging For Fixing Startup Problems in Windows

When facing a system crash or startup up problems on Windows Computers, troubleshooting the problem can be difficult to resolve. The first step with recovery is to use Windows Safe Mode option during startup. One Safe Mode option that will help troubleshoot boot problems is to enable Boot Logging which will create a log and help identify the device or driver that is causing the problem during startup.

When Boot Logging is enable, Windows boots normally, until the device or driver that is causing the problem either crashes the system or completes starting up but causes an error message in the Event Log. While booting, Windows creates a log file that lists every step processed that is attempted and completed.

You can then reboot in to Safe Mode and review the log file named ntbootlog.txt. The log is stored in the %SYSTEMROOT% directory (normally C:\Windows or C:\WINNT folder). Below is an example of
ntbootlog.txt log file on Windows XP (Vista log is similar):

Service Pack 2 5 4 2007 10:45:44.500
Loaded driver \WINDOWS\system32\ntkrnlpa.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 compbatt.sys
Loaded driver \WINDOWS\System32\DRIVERS\BATTC.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 vmscsi.sys
Loaded driver \WINDOWS\System32\DRIVERS\SCSIPORT.SYS
Loaded driver disk.sys
Loaded driver \WINDOWS\System32\DRIVERS\CLASSPNP.SYS
Loaded driver fltmgr.sys
Loaded driver sr.sys

To enable Boot Logging on Windows XP and Vista, boot your Computer, and during startup continually press F8 until the menu screen appears:

NOTE: screen shot is from XP. Vista menu will look slightly different than XP.

bootlogging1.png

Press F8 to display the Advanced Menu screen and select Enable Boot Logging

bootlogging2.png

You will be returned to the menu screen and you should see Enable Boot Logging in blue displayed at the bottom of the screen (don't worry if this screen is not displayed and Windows starts to boot):

bootlogging3.png

If the problem does not cause Windows to crash, and after startup has completed, you can review the ntbootlog.txt file. Look for any signs of problems loading device drivers. If you find problems, go into Device Manager and disable the device or uninstall the program, then reboot again. If the problem does not occur then you know it was that device and you should check the vendor website for new drivers or known issues.

If your problem does cause Windows to crash, reboot into Safe mode by selecting Safe Mode from the Advanced Menu screen. When reviewing ntbootlog.txt file, look for events that were attempted to load but not completed. More than likely the problem will be toward the end of the file (since that was the last item logged before crashing). When you identify the problem, either uninstall the application or go in to Device Manager and disable the device. Reboot your Computer and see if the problem still exist. If it boots without crashing, check the vendor website for new drivers or known issues.

If you are still having problems, enable Boot Logging again to see if new events are logged after you have disabled the device or uninstalled the program. If you are unable to fix the problem, you may need to have a Computer shop troubleshoot the problem for you.

Notes on Boot Logging:

  • Boot Logging can only be enabled from Safe Mode. Once it is enabled, it only logs during the current boot. It will not log during the next reboot unless you enable it again from Safe Mode.
  • If an existing ntbootlog.txt files exist, the next time Boot Logging is enabled, Windows will append to the existing log file.
  • It is a good idea to have Windows create a new log when there are no problems or after you have added new devices. This will allow full logging to occur and will let you compare with a log when problems exists.

| 925 Sterling Silver Jewellerys | Video On Demand | ATV-Sport | Baby Monitor | Basket Ball Shoes | Lady Fashion Shoes | Bedroom Sets | Best LCD TV Brand | Best Wireless Bluetooth Headset | Body Massager | Brand Sport Shoes | Brands Handbag | Car Monitor | Car MP3 Player | CCTV Camera | CCTV Systems | CDMA Cell Phones | Cheap Mountain Bikes | Cheap Road Bikes | Computer Monitor | Costume Jewellery | Dressing Shoes | Fashion Jewellery | Fashion Handbags | Fashion T-shirts | Fashionable Sports Shoes | Fashion Handbags | Fashion Shoes | Fire Extinguisher | Fishing Boats | Flash Memory Cards | Flash USB Disk | Gas BBQ | Gas Grill | Gold Jewellery | GSM Cell Phones | Home DVD Player | Ice Breakers | Integrated Kitchen Cabinets | Kids Children Furniture | Lady T-Shirt | LCD TV With DVD Combo | LCD TV With DVD Player | LCD Monitor | LED Lights | Memorial Cards | Mibo Shade | Mini Bluetooth Headset | Mini Digital Camera | Mini DVD Player | Mobile Phone Bluetooth Headset | Modern Leather Sofas | MP3 Necklace | Nokia Cell Phones | Notebook Keyboard | Outdoor Patio Furniture | Pave Diamond Wedding Bands | PC Video Cards | PC Webcam | Plywood | Polyester Fabric | Popular Shoes | Prenatal Vitamins | Safety Shoes | Sata Hard Drive | Sata Harddrive | Seas Pearl Necklace | Security Cameras | Server Hard Drive | Skin Care Products | Skin Moisturizer | Skin Oil Control | Slim Digital Camera | Slim Keyboard | Slimming Diet Pills | Small Electric Skillet | Solar Lights | Sportbasketball Shoes | Sterling Silver Jewellery | TFT LCD Display | TFT LCD Monitor | TFT LCD TV | Tiffany Lamps | USB Card Reader | USB Disk | USB DVD Player | USB External Harddrive | USB Webcam | Window Blinds | Wireless Baby Monitor | Wireless Keyboard | Wireless Multimedia Keyboard | Women Beautiful Shoes | Discounttire | Sexual Toys | iPhone 3G Accessories | Whirlpool Bathtubs | Toilets | Americanracing | Christringminist | HTC Max 4g | Car Electronics | Satellite Television | HP Laptops | HP United States | Discount Computer Software | Borders Books | Acer United States | Video Game Players | Buy Cheap Apple iPods | Magazines USA | USA Electronics | Video VHS Used Videos | Kitchen H ousewares Small Appliances Cookware | Furniture Decor Dining Bedroom Patio | Bed Bath Bedding Bathroom Accessories | Home Appliances Air Conditioners Sewing Machines | Housewares Kitchens | Home Improvement Garden Tools Lawn Hardware | Outdoor Living Grills Patio Furniture | Pet Supplies Birds Sats Dogs | Sewing Craft Hobby | Grocery Breakfast Foods Snacks Organic | Natural Organic Grocery | Gourmet Food Gifts Chocolate Seafood | Health Personal Care Nutrition Fitness | Beauty Makeup Fragrance Skin Care | Jewelry Watches Engagements Rings Diamonds | Tools Power Cordless Saws Drills | Lawn Garden Tools Hardware | Automotive Auto Truck Replacements Parts | Powersports Automotive | Industrial Scientific Fastners Raw Materials | Watches Mens Womens Children Accessories | Shoes Men Women Kids Baby | Apparel Accessories Men Women | Office Products Supplies Electronics Furniture | Musical Instruments Accessories Sound Recording | Toys Games Electronics Action Figures | Computer Video Games Hardware Accessories | Baby Car Seats Strollers Bedding | PC Components Computer Add Ons Computers | Software Business Education Finance Childrens | DVD Used HD Action Comedy Oscar | MP3 Music Download | Music Rock Classical Pop Jazz | Canon United States | Computer Tips Online |