Published by


Brink's Avatar
Administrator

Posts: 25,172

Show Printable Version 


How to Enable or Disable the Boot Log in Windows

information   Information
In Windows, you can enable the boot log that includes a list of loaded and unloaded drivers during the boot process. This information can be useful when you are trying to troubleshoot related issues.

The boot log is saved to the C:\Windows\ntbtlog.txt file.

This tutorial will show you how to enable or disable the boot log in Windows 7, Windows 8, and Windows 10.

You must be signed in as an administrator to be able to enable or disable the boot log.


CONTENTS:
  • Option One: To Enable or Disable Boot Log in System Configuration (msconfig)
  • Option Two: To Enable or Disable Boot Log in Command Prompt


EXAMPLE: Boot log (ntbtlog.txt)
Click image for larger version. 

Name:	ntbtlog.png 
Views:	751 
Size:	209.2 KB 
ID:	122910






Enable or Disable Boot Log in Windows OPTION ONE Enable or Disable Boot Log in Windows
To Enable or Disable Boot Log in System Configuration (msconfig)

1. Press the Win+R keys to open Run, type msconfig, and click/tap on OK to open System Configuration.

2. Click/tap on the Boot tab in System Configuration, check or uncheck (default) the Boot log box in Boot options for what you want, and click/tap on OK. (see screenshot below)

Name:  Boot_log_msconfig-1.jpg
Views: 6659
Size:  46.7 KB

3. If you made any changes, click/tap on Restart to apply. (see screenshot below)

Name:  Boot_log_msconfig-2.jpg
Views: 6563
Size:  20.1 KB





Enable or Disable Boot Log in Windows OPTION TWO Enable or Disable Boot Log in Windows
To Enable or Disable Boot Log in Command Prompt

1. Open an elevated command prompt in Windows or a command prompt at boot.

2. Type bcdedit in the command prompt, and press Enter. (see screenshot below)
Note   Note
Look for the OS (ex: "Windows 10") to the right of the description entry you want to enable or disable the boot log for.

Look to the right of the bootlog entry for this OS (ex: "Windows 10") to see if it is currently enabled (Yes) or disabled (No).

Make note of the identifier (ex: "{current}") for this OS (ex: "Windows 10"). You will need it for the command in step 3 below.


Click image for larger version. 

Name:	boot_log_bcdedit-1.png 
Views:	550 
Size:	58.0 KB 
ID:	122907

3. Enter the command below you want to use into the command prompt, and press Enter. (see screenshots below)

(Enable boot log)
bcdedit /set {identifier} bootlog Yes


(Disable boot log - default)
bcdedit /set {identifier} bootlog No

Note   Note
Substitute {identifier} in the commands above with the actual identifier (ex: "{current}") from step 2 above.

For example:

bcdedit /set {current} bootlog Yes

OR

bcdedit /set {current} bootlog No

Name:  boot_log_bcdedit-yes.png
Views: 6588
Size:  13.9 KB
Name:  boot_log_bcdedit-no.png
Views: 6585
Size:  13.7 KB

4. When finished, you can close the elevated command prompt in Windows, or restart the computer if you used a command prompt at boot.


That's it,
Shawn