Why would a brief power-down of a windows 11 pro server not constitute a re-boot?
After a recent re-boot I was investigating why a task scheduled against the trigger 'At system startup' hadn't run. Eventually I discovered that the reboot time was listed as two weeks previously - this explains why the task didn't run, it hadn't realised the system had restarted.
My question is...
Why did this shutdown, followed by being physically disconnected from the power for over a minute NOT constitute a reboot? or to put a different slant on the issue why is my lastBootTime still 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, manually powered down (clicked on 'start' followed by 'power' followed by 'shutdown'), then waited for the screen to die and the lights on the computer to switch off. The computer was then physically unplugged from the mains for about 120 seconds before being plugged in and the power button pressed.
The task that I was expecting to start normally works successfully in the event of an automated update, or after accidental power failures.
The method for determining the last boot time is discussed in this thread