Might be an over temp alarm.

If so, the reason it happens when you box is because it's probably the only time you hit the CPU that hard.

Are the fans and stuff all turning as they should?