Ici’s a message from my eventvwr EventLog (Windows Logs > Système):
The previous system shutdown at 11:51:15 AM on 7/29/2009 was unexpected.
Ceci est funny parce que J’étais wondering why the système shut down while J’étais playing Civilizations IV full écran. Maintenant I know. It was unexpected.
Quelqu’un a-t-il encountered and resolved this?
A little background:
Je suis running Windows 7 RC inside VMWare Fusion 2 (just updated a few months back) on a MacBook (Bitterly not Pro) aluminum-body. Windows 7 occasionally will shut down. This n’est pas a quick turn-off, c’est a shutdown where all the programmes are exited, the système waits until they quit (and Civ4 ne prompt me to save), it even installé Windows Mises à jour avant restarting. And oui it is restarting right après the shutdown. Parce que I run a game in full écran mode I ne pas notice any dialog avec a countdown timer or anything like that that pourrait être a warning.
As J’ai iStat sur mon dashboard widgets Je peux see about 8 temperature moniteurs. J’ai seen the CPU get up to 74C avant, but during the shutdown, though it seemed hot vers le touch (toujours is), it read 61C for the CPU, 60C for heatsink A, 50C for heatsink B and dans le 30s-40s for the enclosure and harddrives. As I tapez this maintenant, the temps are en fait higher, so Je ne pense pas the temperature caused it.
J’ai au moins six such events dating first from 5/17 which was a week après l’installation Windows 7.
I did find one information level warning from USER32 dans le système log that says:
The process C:\Windows\system32\svchost.exe (DLAMBLIN-WIN7) has initiated the restart of
computer DLAMBLIN-WIN7 on behalf of user NT AUTHORITY\SYSTEM for the following reason:
Operating System: Recovery (Planned)
Reason Code: 0x80020002
Shutdown Type: restart
Comment:
And another 15 minutes avant that from Windows Mise à jour:
Restart Required: To complete the installation of the following updates,
the computer will be restarted within 15 minutes:
- Cumulative Security Update for Internet Explorer 8 for Windows 7 Release Candidate
for x64-based Systems (KB972260)
Which Je pense kind of explains it. Though Je ne sais pas why restarting après an mise à jour would créer an erreur event of “shutdown was unexpected”, n’est pas that pretty odd?
Maintenant, how do I réglez-le sur jamais redémarrer après an mise à jour unless I click quelque chose.
Application of solution:
As fretje reminded me, there’s a couple of configurable paramètres for this, in windows 7 they’re much dans le same place as in Windows 2000 SP3 and XP SP1. Running gpedit.msc pops up a window that looks like:
Windows 7 has changed the order and added a couple of newer options I’ve italicized:
-
Do not display ‘Installer Mises à jour and Shut Down’ in Shut Down Windows dialog box
-
Do not adjust par défaut option to ‘Installer Mises à jour and Shut Down’ in Shut Down Windows dialog box
-
Enabling Windows Power Management to automatiquement wake up the système to installer scheduled mises à jour
-
Configurer Automatic Mises à jour
-
Specify intranet Microsoft mise à jour service location
-
Automatic Mises à jour detection frequency
-
Allow non-administrators to receive mise à jour notifications
-
Turn on Software Notifications
-
Allow Automatic Mises à jour immediate installation
-
Turn on recommended mises à jour via Automatic Mises à jour
-
No auto-redémarrer avec logged-on utilisateurs for scheduled Automatic Mises à jour
-
Re-prompt for redémarrer avec scheduled installations.
-
Delay Redémarrer for scheduled installations
-
Reschedule Automatic Mises à jour scheduled installations
-
Activer Client Side targeting
-
Allow signed mises à jour from an intranet Microsoft mise à jour service
Personally I chose to activer 9, 11, 12, and 13. 9 enables seulement those mises à jour that ne pas have to redémarrer Windows nor stop a service. Enabling 11 en fait disables the auto-redémarrer. 12 and 13 were activé and set vers leir max valeurs avec the scroll wheel. 16 sounds good but ne va pas affect utilisateurs lacking their own mise à jour server.
Addendum
C’est been pointed out that Home editions of Windows ne come avec gpedit.msc, and you must therefore set things directly dans le registry. There’s probably more paramètres you could add besides NoAutoRebootWithLoggedOnUsers … In fact I’m going to check that maintenant. Okay in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU add:
-
AutoInstallMinorUpdates= 1 -
NoRebootWithLoggedOnUsers= 1 -
RebootRelaunchTimeout= 1440 (decimal) -
RebootRelaunchTimeoutEnabled= 1 [I’m en fait curious if that’s what I wanted] -
RebootWarningTimeout= 30 (decimal) -
RebootWarningTimeoutEnabled= 1 [Je pense the above four ne happen due to #2]