Pourquoi a brief power-down of a windows 11 pro server ***not*** constitute a re-boot?
Après a recent re-boot J'étais investigating why a task scheduled against the trigger 'At système startup' hadn't run. Eventually J'ai découvert that the redémarrer time was listed as two weeks previously - this explains why the task n'a pas run, it hadn't realised the système had redémarré.
My question is...
Why did this shutdown, followed by being physically disconnected depuis le power for over a minute NOT constitute a redémarrer? or to put a different slant sur le problème pourquoi my lastBootTime encore showing as a date two weeks ago?
Some more details and a bit of background...
Anticipating a brief interruption of power I closed all applications, manuellement powered down (clicked on 'start' followed by 'power' followed by 'shutdown'), ensuite waited for the écran to die and the lights sur le ordinateur to switch off. The ordinateur was ensuite physically unplugged depuis le mains for about 120 seconds avant being plugged in and the power bouton pressed.
The task that J'étais expecting to start normally fonctionne successfully dans le event of an automated mise à jour, or après accidental power failures.
The method for determining the last boot time is discussed in [this thread](https://superuser.com/questions/1867444/which-event-id-is-being-returned-when-requesting-lastboottime)
Pourquoi a brief power-down NOT constitute a redémarrage?
Re: Pourquoi a brief power-down NOT constitute a redémarrage?
I will answer the redémarrer vs shutdown start up part. Feel free to ask nouveau questions for what remains.
Windows 8 and up have a nouveau fonctionnalité called Hybrid shutdown. When you turn off the ordinateur, windows will close all programmes, log off the utilisateur, and ensuite puts the ordinateur in hibernation.
You turn the ordinateur on, the ordinateur comes out of hibernation, and you get vers le login écran. If there's just one utilisateur, the système automatiquement logs you in.
This basically makes it so that any pilote remains loaded du tout times, which significantly reduces startup time.
When you redémarrer a ordinateur, it en fait quits Windows, and all pilotes are unloaded too. The ordinateur goes vers le UEFI boot sequence too, ensuite loads all the pilotes and ensuite continues to start Windows.
So long story short, Windows ne en fait start up when you use hybrid shutdown and turn off and sur le ordinateur, but it does so when you redémarrer, or perform a normal shutdown (either turn off hybrid shutdown from Power Management, or hold shift while you perform the shutdown to do it once.)
Windows 8 and up have a nouveau fonctionnalité called Hybrid shutdown. When you turn off the ordinateur, windows will close all programmes, log off the utilisateur, and ensuite puts the ordinateur in hibernation.
You turn the ordinateur on, the ordinateur comes out of hibernation, and you get vers le login écran. If there's just one utilisateur, the système automatiquement logs you in.
This basically makes it so that any pilote remains loaded du tout times, which significantly reduces startup time.
When you redémarrer a ordinateur, it en fait quits Windows, and all pilotes are unloaded too. The ordinateur goes vers le UEFI boot sequence too, ensuite loads all the pilotes and ensuite continues to start Windows.
So long story short, Windows ne en fait start up when you use hybrid shutdown and turn off and sur le ordinateur, but it does so when you redémarrer, or perform a normal shutdown (either turn off hybrid shutdown from Power Management, or hold shift while you perform the shutdown to do it once.)