Um, check the system event logs for ID 9, 11, 15 to pinpoint a potential hardware problem, but there's a bazillion reasons the hive can get corrupted. My personal one a while back was a piece of software that was still writing to the registry during shutdown. I think I spent 4 months on that one.