While Windows 10 may be the most widely used OS across the globe, but if there’s one thing about the OS that annoys users, is its tendency to reboot on its own to apply new updates. Microsoft tried fixing the issue with the Anniversary Update, with a new feature in Windows 10 called Active Hours to prevent installing updates while you’re actively working on your computer. However, it didn’t always work as intended, which was a problem if users left their computer in the middle of a task for an extended period.

To fix the issue, Microsoft is now testing a new feature with the latest Windows 10 Build for Fast Ring Insiders, that will allow the PC to install updates only when it’s not in use. Microsoft is apparently relying on Machine Learning to stop Windows 10 from performing automatic restarts after installing updates. With machine learning, the computer will learn usage pattern over time, and then install updates when the system is not in use.

“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 explained in an official blog post.

The company further claims that internal testing of the feature has brought positive results so far. Though, we’ll have to wait and see whether it improves or negatively impacts the overall Windows 10 user experience. And more importantly – doesn’t force install updates when a user is in the middle of a task.