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.

Keep Track of Why Windows 7 is Being Shutdown

Navigate to HKEY_LOCAL_MACHINE \ Software \ Policies \ Microsoft \ Windows NT \ Reliability.

Double punch ShutdownReasonUI and ShutdownReasonOn and change the Value Data to 1.

2shut

3shut

4shut

5shut

6shut

7shut

8shut

Windows