This is rarely a hardware issue. You'll want the latest BIOS and review http://aumha.org/win5/a/shtdwnxp.php
Bob
I have a PC Pentium II 400 MHz 288 MB RAM using Windows XP can't shutdown automatically, it always stop on the black screen with the message 'Now You Can Shutdown Your Computer' when I turn off my PC.
Then I have to manually shutdown by pressing power button.
But sometimes it go through reboot instead of shutdown when I press the button.
I already update the BIOS but nothing change.
Any help will be appreciated.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic