Why does Windows 10 "Update and shut down" not complete the update?
I'm curious if there is any technical or user experience design reason for this phenomenon I'm experiencing: Whenever I select "Update and shut down", the machine will update for a while and then shut down, but when I start it up again, it will still spend time on updating. As far as I know, an "Update and restart" will fully complete the update. So why is that not the case with "Update and shut down"?
I clicked update and shut down last night, expecting Windows to be done with whatever it needs to do, and turned on the machine this morning to be greeted with an hour-long update process I did not expect.
I see no technical reason for this behavior, as Windows is perfectly capable of rebooting any number of times during an update (as it indeed did this morning).
As for user experience, consider this: What is the use case for shutting down versus turning on the PC?
- Why do I want to turn off my computer? Because I'm not planning on using it for a good while. It now has all the time in the world to install updates and reboot as necessary along the way, then shut down.
- Why do I want to turn on my computer? It is very likely that I want to turn it on because I actually want to use it, perhaps for work.
I'm sorry if this sounds a bit more like a rant than a question, but I'm genuinely curious about the reasons behind this behavior. Is there a technical reason? Does Microsoft simply think that this is the best way to go about updates? Is my preferred use case so unexpected / out of norm?
Is there a way to tell Windows to really install everything and then shut down?
1.When windows updates, it first downloading files from whatever storage of MS there is.
2.Then it start to look thought packages your system already has and downloaded.
3.After this there is a dependency mechanism on what package need what actions to be performed: for example you have packages downloaded:
pack1
pack2
pack3
pack4
and already present packages:
pk0
pk1
pk2
pk3
...
The system during update can for example check that package "pack2" needs reboot and be installed only after "pack1" should be installed onto system, because of this it will need a complete system reboot.
That is the suggestion why after you shutdown your PC your downloaded updates are still "Updating" (but they are Installing in fact)
And the option that goes from Microsoft about shutdown your PC for good after download of updates can be more universall, maybe you want to see the process with your own eyes and shut it down for this reason. I think more can be found here: https://technet.microsoft.com/en-us/security/bulletins
for more detailed process on update i think it will be better to contact the support and mention the specific version of Windows you are using.
Is there a way to tell Windows to really install everything and then shut down?
I don't realy tried that, but scheduled reboot and then shutdown should help you in this. (Tasks Scheduler)
Few observations
When I have fast internet connection, "update and shutdown" will take about 2 mins to finish installing at next start up
When I dont have internet or I have slow internet, "Update and shutdown" doesn't finish at next start up. It takes about 5 to 10 mins and then I see the homescreen with "Failed to install update" notification
Interrupting the update process (by holding power button) never caused any problem in Windows 10. Though I noticed booting issues on Windows 7 and 8. [Try at your own risk]
From these observations, I suspect windows downloads a part of update while installing or sends some data to MS before it finishes installing.
For me, its not a good use case. Many of my friends are also frustrated of this behaviour. There's no legal way to postpone or schedule updates. You can set idle time but its restricted to contigious 12 hrs.
If I wish to update, I would expect it to finish it asap instead of waiting for me to restart it next morning.
However the update process is risk free now as compared to previous versions.
Workarounds to postpone update
- Hibernate instead of shutdown
- Or set your internet connection as metered (this will prevent windows from downloading updates, not recommended)
- Use something like 360 Security to patch security updates and postpone non-security updates with hibernation
- In windows update settings, check "Defer updates". (though it never seem to work for me)
Why I am sharing this?
There was an instance when I left Windows for an update. Next morning I had a presentation. I turned on windows to start the presentation in front of a huge audience and guess what? "Getting Ready..."
This is because Windows does not allow altering or replacing files that are currently open, so anything that is running cannot be updated without being stopped and restarted.
The component system that Windows is built on does not allow components lower in the stack to be restarted transparently, so a reboot is needed to make sure that all components are stopped at the same time.
The upgrade process basically just unpacks the new files before the reboot (so the upgrade can no longer fail because it runs out of disk space at this point), but does not actually modify component registration.
After the reboot, an early upgrade task checks if core components like the registry itself have been updated and moves the new files into place if so, then begins the normal upgrade process for registered desktop components that begins by unregistering the old version, moving the new file in place of the old, and registering the new version. Once that is complete, the system boots normally, using the new versions.
The "upgrade and shut down" option uses a shutdown instead of a reboot in the middle of the upgrade process, but again nothing but unpacking has happened up to this point.
This could be avoided by rebooting once and then shutting down, but people would probably complain that the shutdown process was broken since the computer did not shut down.