Yes it is possible.
Enable Driver Status Logging
- Type msconfig.exe is the run dialog
- Go to the Boot tab
- There are 2 options here that interest you: Boot log and OS boot information.
Boot log - This creates a log file which list every driver that has been loaded. After reboot the log file will be on %SystemRoot%\ntbtlog.txt
. Note that each time you reboot the computer the log is not overwritten, so it'll be good practice to disable this option after troubleshooting due to potentially long and big log file.
OS boot information - This option enable you to see which driver is loaded when is loaded. This can be useful if you're troubleshooting faulty driver or long boot process.
Enable Verbose Service Startup/Shutdown Messages
The aforementioned options are used to see which drivers are loaded. As you may know, after drivers are loaded successfully, Windows is starting various services. At this stage you're staring at the Logon Screen, while in the background the services are loaded.
In order to enable verbose service messages, you'll need to do some registry tweak:
- Open regedit.exe
- Navigate to this registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- Right-click and choose new DWORD 32 bit
- Name this value "VerboseStatus" and give it 1 as the actual value.
You may find this useful if you're troubleshooting some problem.
This is useful if the machine is properly booting. Assume you need to deal with machine which fails to boot, but you can mount it's disk in another computer. Is there some files I can use for diagnostics ? – Pavel Niedoba – 2018-10-11T22:01:57.870
2
@PavelNiedoba You can do it all using bcdedit, on drive mounted in another windows machine (select /Boot/BCD file from patient's EFI partition with /store switch): https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/bcdedit--set e.g.
– Dominik Szymański – 2018-11-13T22:51:00.450bcdedit /store F:\Boot\BCD /set {default} bootlog Yes
The boot log in ntbtlog.txt is useful, but I am not sure which driver causes my system to occasionally freeze during boot time. The problem is that the order slightly varies from boot to boot. Is there perhaps a way to get a more detailed log, which lists drivers that begin to be loaded (as opposed to those that were already loaded or not loaded)? – Jake – 2019-07-03T19:36:52.847