There is also a dropdown list of various reasons for the shutdown or restart.
you might then go in and check out the logs in Event Viewer.
Registry Hack MethodClick on Start and bang out in regedit and hit enter.
Navigate to HKEY_LOCAL_MACHINE \ Software \ Policies \ Microsoft \ Windows NT \ Reliability.
Double punch ShutdownReasonUI and ShutdownReasonOn and change the Value Data to 1.