So the best "official" solution appears to be this:
- Use (or upgrade to) Windows 10 Pro.
- Set the group policy settings, per the second comment in this thread.
The rest of us who are stuck with Windows 10 Home must try the various workaround solutions provided in this thread.
Setting your operating hours is a worthless solution, and the person who suggested that should hang their head in shame and never again post in this group. That might work for a corporate PC, but I use my PC at all times of the day with no regular pattern.
Plus, you're only allowed to block off a maximum of 18 hours, which is unrealistic.
As far as I can tell, the only official solution is to enable the "Show a notification when your PC requires a restart to finish updating" in the advanced settings. But for some reason this option was disabled for me. I know for certain that I never disabled
it, so Windows must have done that.
Alternatively, if you know you're going to be doing something that cannot be interrupted, you can pause updates for up to 35 days. This is not, however, a viable permanent solution.
And finally, I remember reading somewhere that Windows would not automatically restart if you were busy using the computer. This appears to no longer be the case. I was playing an online game the other day, when Windows decided to do an automatic restart.
I had no warning. One moment I'm playing my game, the next I see a screen with "Restarting" in the middle.
I find it somewhat mind boggling that Microsoft decided to implement automatic restarts the way it has. Someone, somewhere, thinks this is a good idea. Whoever you are, know that you've made life more difficult for a lot of people.