[How To] Enable Boot Logging In Windows 10

When your Windows operating system won't boot, you need to analyze boot process for troubleshooting. Here's how to enable boot logging in Windows 10.

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

In past, we’ve seen many instances when Windows won’t boot. For any anonymous reason, it may stuck on boot screen, or in some cases it will show just a black screen after manufacturer logo screen. Generally in such cases, you need to boot from your recovery or installation media and boot into Safe Mode or need to perform other recovery options such Reset, Refreshdowngrade to earlier version. Most of such cases can be solved by recreating or repairing Master Boot Record.

Since the problem seems with booting process, boot logging can help you much better in such cases, as compared to any other recovery option. See, boot logging is process by which Windows writes everything it does while starting the system, to a log file called ntbtlog.txt. Usually the file is stored in system root drive. But the boot logging is not enabled by default. Users need to enable it from their end.

Here are the steps you need to perform to enable boot logging in Windows 10.

How To Enable Boot Logging In Windows 10

1. Right click Start Button or press W8K + X keys and select Settings.

2. In the Settings app, navigate to Update & Security > Recovery.

How To Enable Boot Logging In Windows 10

3. In Recovery section, under Advanced startup, click Restart now.

How To Enable Boot Logging In Windows 10

4. Moving on, then on next screen, select Troubleshoot.

How To Enable Boot Logging In Windows 10

5. Next, pick up Advanced options on Troubleshoot screen.

How To Enable Boot Logging In Windows 10

6. On Advanced options screen, click Startup Settings option.

How To Enable Boot Logging In Windows 10

7. Then click on Restart button on next screen.

How To Enable Boot Logging In Windows 10

8. After restart, on Startup settings screen, press F2 or 2 to Enable boot logging option.

How To Enable Boot Logging In Windows 10

9. The system should restart now as boot logging enabled. Then you can open File Explorer and go to C:\Windows (assuming Windows is installed on C: drive) and locate the ntbtlog.txt file.

How To Enable Boot Logging In Windows 10

10. Double click on this file or open it in Notepad or the text editor you use. This would display the recent boot log which you can analyze to observe the booting performance of your Windows 10.

How To Enable Boot Logging In Windows 10

If you’re unable to boot your machine, you may not be able to access ntbtlog.txt file via File Mananger. In that case you need to use Advanced Recovery Command Prompt to access this file.

How To Enable Boot Logging In Windows 10

Hope you find the boot logging feature useful!

Share this article
https://www.kapilarya.com/how-to-enable-boot-logging-in-windows-10

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

Leave a Comment

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