Thanks! However, for some reason this problem reboots the computer regardless of whether that "Automatically Restarts" check box is checked or not. At the moment it is unchecked but the computer still reboots whenever the problem occurs.

I have narrowed the problem down to a file in the "Windows" directory although, at this stage I don't know which file it is.