My XP box usually boots OK, but occasionally freezes partway through the startup process. When it's frozen, the mouse cursor works but there's no response to input, and the only fix is to hard reboot. If the machine makes it all the way up, it works fine after that. Presumably one of the startup tasks fails intermittently, or deadlocks with another startup task, but I don't know which one(s) are the culprits.
Does anyone know of tools to help log what happens during the startup process, or other ways to diagnose this type of problem?