Most of the time any problems with Windows shutting down are driver related.
This is because Windows is closing down the drivers, but when a driver doesn't respond or hangs Windows will never shut down.
So the first thing to do is to make sure you have the newest drivers installed, start with network drivers, sound, video and chip set and go from there
Shane