Right click My Computer -> Select Properties -> Select the Advanced tab -> Select Settings for Startup and Recovery -> Deselect Automatically restart under System Failure and press the OK button on both windows.
If you need to do this in safe mode, hold down F8 or CTRL (I can't remember which one does it or if it is easy to do on the Intel Mac's).