When Windows crashes, it collects information about the crash during the time that the Crash Screen is displayed. At this point, the OS collects information from running applications, drivers, ...