My computer keeps updating restarting
When the updates are done installing, you’ll be prompted to reboot.With this method of installing updates, you can have Windows install only updates when you’re actually ready to reboot your computer.You’ll likely find that the last two parts of the key — the Windows Update\AU parts — don’t yet exist. To do so, right-click the Windows key, point to New, and select Key. Then, right-click the Windows Update key, point to New, and select Key. This will create the correct registry key structure.With the AU key selected in the left pane, right-click in the right pane, point to New, and select DWORD (32-bit) value.
There's a way to work around this, however, in Windows 10 and a fix for earlier versions of Windows. After downloading updates, Windows 10 automatically picks a time to restart your computer for you, based on when you tend to not use it (e.g., 3 am), but that would depend on your computer being on at that time. You'll see the option to select the time and day (up to 6 days forward) in Windows Update like below.Instead, choose a more convenient day and time for the reboot so the update gets installed and your work doesn't get cut off. MORE: How to Snap 4 Windows at Once in Windows 10 In previous versions of Windows, there's a registry hack you could use to prevent your Windows Update from restarting your computer. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Update\AU If you don't see the Windows Update or the AU keys, you'll have to create them by following these steps. Right-click on Windows and go to New DWORD (32-bit) Value 5. Going forward, Windows won't automatically restart your computer after installing updates.Here's how to tell Windows you want to choose the restart time for Windows Updates: 1. You can get there by selecting Settings from the Start menu.2. (You could follow the steps below for Windows 10, but many people are reporting it doesn't work, so you might have to just stick with the scheduled automatic restarts above.) Head to the Registry Editor to make the changes. Open the Registry Editor by pressing Win R to open a run box. Name the new DWORD No Auto Reboot With Logged On Users.6. However, it's important to know that, after updates are installed, you should definitely still reboot your computer, since important security patches might be involved.But Microsoft has gone too far — they shouldn’t be hassling Windows users and rebooting their computers without permission.Windows 8 handles these forced restarts with a longer grace period, but still pesters you and eventually reboots your computer automatically.
Type No Auto Reboot With Logged On Users and press Enter to name the new value.