How To Enable Boot Log in Windows 10

It is possible to enable the boot log in Windows 10. The boot log is a special text file which contains a list of loaded and unloaded drivers during the boot process. It can be helpful when you are troubleshooting startup issues. Here is how it can be done.


Having the boot log enabled will allow you to analyze the internals of the boot process on your Windows 10 computer. The boot log is stored in the file C:\Windows\ntbtlog.txt and can be opened with your favorite text editor app like Notepad.

Boot Log Windows 10

There are two ways to enable or disable this feature. The first method is msconfig, the GUI tool which can be used to configure various startup options of the OS. The second one is the console tool, bcdedit.exe. In this article, we will review both methods.

The boot log feature is disabled by default. In order to enable it, you must be signed in as administrator.

To enable boot log in Windows 10, do the following.

  1. Press Win + R keys together on the keyboard and type msconfig in the Run box. Press Enter.
  2. Confirm the UAC prompt if it appears and go to the boot tab.Msconfig Boot Tab Windows 10
  3. There, enable the option Boot log under the Boot options group.Windows 10 Enable Boot Log
  4. You might be prompted to restart Windows 10. If you click on Restart, the operating system will be rebooted.Windows 10 Msconfig Restart PromptYou can safely postpone this action if you have unfinished tasks opened.

How to Enable Boot Log using Bcdedit.exe

The same can be done with the built-in console utility bcdedit.exe. Here is how.

  1. Open an elevated command prompt.
  2. Type or copy-paste the following:
    bcdedit

    Once you press the Enter key, the tool will list all the installed operating systems and their boot records. You need to note the identifier of the OS for which you want to enable the boot log. See the following screenshot:Bcdedit Output Windows 10

    For the currently running instance, the identifier {current} can be used for quick reference.Bcdedit Find OS Id Windows 10

  3. To enable the boot log, run the command
    bcdedit /set {IDENTIFIER} bootlog Yes

    Replace the {IDENTIFIER} with the actual value you noted, e.g. {current}.Windows 10 Enable Boot Log Bcdedit

  4. To disable the boot log, run the command
    bcdedit /set {IDENTIFIER} bootlog No

    This will disable the boot log feature, which is the default option.Windows 10 Disable Boot Log Bcdedit

That's it.

2 thoughts on “How To Enable Boot Log in Windows 10

  1. Brad Karal

    You didn’t tell us where to find the actual ntbtlog.txt file!

    Reply
    1. M

      Second paragraph. You didn’t read.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *