I've got a problem with a Win7 machine that up until now has been very reliable. During the boot it will just power off -- no warnings or BSOD. Sometimes it gets as far as the login screen but shuts down on login, other times during the splash screen. System repair and System Restore don't make any difference. I can boot into safe mode or onto a boot disk, which suggests it's not a CPU overheating problem. I wondered if it was some kind of disk corruption, but I wouldn't have thought it would boot into safe mode. I've removed all peripherals but that makes no difference. Nothing in the event viewer either.
What other steps could I use to diagnose what's going wrong?