Author: pinscomputerSubject: What does Boot Logging do?
Posted: 29 May 2015 at 1:52pm
from the sysinternals admins reference:
When you Enable Boot Logging from the Options menu, Procmon configures its driver to run
as a boot start driver that loads very early in the boot sequence at the next system startup,
before most other drivers. Procmon’s driver will log activity into %windir%\Procmon.PMB
and it will continue logging through shutdown or until you run Procmon again. Thus, if you
don’t run Procmon during a boot session, you’ll capture a trace of the entire boot-to-shutdown
cycle. As a boot start driver, it remains loaded very late into the shutdown sequence.
After the boot-start driver loads, it changes its startup configuration to be a demand-start
driver for subsequent boots. Consequently, when you enable boot logging, it is only for the
next boot. To enable boot logging for subsequent boots, you must explicitly enable it again
each time.
When you run Procmon, it looks to see whether an unsaved boot log has been generated,
either from the current session or from a previous boot session. If Procmon finds one, it asks
you whether and where you want to place the processed boot log output file. (See Figure
4-19.) Procmon then opens and displays the saved log. If you do not save the boot log to
another location, it will be overwritten the next time you capture a boot-time log.
When looking at boot-time activity, remember that the System process is the only process
early in a boot and that activity originating from the System process is filtered by default.
Choose Advanced Output on the Filter menu to see System process activity.
Note that tracing of network events depends on Event Tracing for Windows (ETW) and is not
available in boot logs. Also, Process and Thread Profiling events are not captured during boot
logs either. Finally, note that Procmon does not configure its boot logging to run during Safe
Mode.
If you configure boot logging and the system crashes early in the boot, you can deactivate
the boot logging by choosing the Last Known Good option from the Windows boot menu.
Press F8 during Windows startup to access this option.