Turn off automatic restart for installing updates.
Turn off automatic restart for installing updates.
I just left the computer for a couple of hours and Windows 10 rebooted by itself to apply updates. All my files and edit history in Visual Studio are gone. Before you ask, I already updated the group policy and turned off automatic restarts for logged users so updates can install without interrupting. I've also tried other settings, but nothing works. Microsoft is trying hard to disrupt our progress.
Settings > Update & Security > Windows Update > Advanced options. There’s an option to confirm you’d like the system to restart as soon as possible. It’s usually disabled by default—make sure it’s turned off. You can enable a notification message when a restart is needed, and also set your Active Hours correctly. This helps avoid installing updates while you’re working. Remember: Skipping updates for an extended period (days) may cause the system to restart automatically later.
Thank you for your feedback. After only two days, all the configurations I had made—especially the group policy—were wiped away. I needed to finish urgent tasks and couldn’t risk closing the workspace. It’s really annoying when a development machine restarts unexpectedly. Two days feels short, doesn’t it? The Windows setup seems so unstable; leaving the system running for even a few hours can cause chaos. On macOS, I can restart without saving anything and get back up quickly, plus it won’t shut down by itself.
I haven't relied on any group policies or workarounds. My performance has remained stable even during extended downtime without restarts. It seems something unusual is happening, perhaps the group policies aren't the issue, or maybe the update was applied recently. This situation doesn't seem typical.
Records indicate updates were applied on Wednesday morning, the machine rebooted on Thursday evening—two hours after I ceased using it. Sadly, this was intentional and led to issues in our professional setting.