How Windows 10 will prevent updates from randomly rebooting your PC: machine learning

The latest Windows 10 Insider preview builds predict when to install updates by using machine learning to determine if you're at your PC.
  • Brad Chacos (PC World (US online))
  • 27 July, 2018 01:09

One of Windows 10’s biggest annoyances is the aggressive way it pushes out updates. The operating system has a nasty habit of installing new updates while you’re in the middle of using your PC, which can slow down your computer and cascade into forced, random reboots in the middle of the day—woe unto whatever you were working on. Microsoft responded to complaints by adding optional Snooze and Active Hours features that help users delay Windows Updates for more convenient times, but it’s still an issue. The next big Windows 10 release could—could—cure the headaches with the help of machine learning.

Microsoft announced Preview Builds 17723 and 18204 for Windows 10 Insiders late Wednesday. Tucked among the various other tweaks and changes—new emoji, a Mixed Reality “Flashlight” view into the real world, et cetera—is the introduction of a new system for rolling out Windows Updates.

“We heard you, and to alleviate this pain, if you have an update pending we’ve updated our reboot logic to use a new system that is more adaptive and proactive,” Microsoft’s Dona Sarkar and Brandon Leblanc wrote. “We trained a predictive model that can accurately predict when the right time to restart the device is. Meaning, that we will not only check if you are currently using your device before we restart, but we will also try to predict if you had just left the device to grab a cup of coffee and return shortly after.”

Microsoft says it’s been seeing promising results in internal testing, and since the predictive model is based in the cloud, the company can fine-tune its behavior quickly. Now Windows Insiders get to act as the guinea pigs for the rest of us. If you’re an Insider and find your PC rebooting at weird times on the newest builds, leave a report in the Insider feedback hub app so Microsoft can take a peek at what happened.

The new system sounds much more convenient than today’s update process, though we’ll need to see how it behaves in the real world before passing judgement. Is the predictive model solely time-based, or does it take your current workload into account? Will my PC still potentially reboot if I step away for an hour but left a crucial, unsaved document or browser tab open? If Windows Updates are going to rely on the brains of the cloud rather than the active consent of the user for reboots, the devil’s in the details.

active hours Brad Chacos/IDG

Protect your work now with Active Hours: The next big Windows 10 release isn’t expected until fall, however. If you want to assume more control over when updates reboot your system today, use the handy (yet hidden) Active Hours tool. Head to Start > Settings > Update & Security and click on the Change active hours option. You can then tell Windows which hours you typically spend at your PC, and the operating system won’t automatically restart your system during those hours unless you give it permission.

Be warned: If you shut down your PC when you’re done with it and never let it update during off-hours, it will still eventually force a reboot even with Active Hours enabled. You can’t put updates off forever. Check out our guide to Windows 10’s best tips, tricks, and tweaks for even more useful tools lurking deep inside the OS.