Have you ever left your computer on for doing some tasks like downloading, calculating, video processing or any other continuous task only to find out that windows decided to run an update and disrupted anything you were doing?

Well? that happened to me more than I wanted, so I looked for a creative solution for this problem.

Searching online didn’t yield the results I was looking for, so I looked at common settings over Windows to see how to achieve this.

Please note that I do not recommend leaving your system without regular updates, this tip is only for special situations when you want to prevent an unintended restart to the computer.

Method 1: Delay Windows updates

Go to PC settings -> Update & Security -> Advanced Options and there change “Update notifications” and “Pause updates” to “on”. “Update Notification” means that most of the time Windows will ask you before installing updates (unfortunately, this can’t be completely trusted) and “Pause updates” means that Windows will wait 35 days from the moment you changed this setting until it starts to download updates again.

How to pause windows updates

How to pause Windows updates

 

Method 2: Prevent updates from being downloaded at all (more persistent solution)

Windows has a setting that allows you to avoid downloading updates while the computer is using a “metered” connection to access the internet. This setting is meant for situations where you are paying for data that is consumed (or if you have data caps). We can use this to our advantage in this scenario and mark our connection as “metered”.

To change to connection to metered go to PC Settings -> Network & Internet -> Change Connection Properties and there set “Set as metered connection” to “on”.

Change to metered connection on Windows 10

Change to metered connection on Windows 10

Just make sure Windows isn’t configured to download updates while on metered connections (marked with a red square on the image below)

download updates on metered connections

download updates on metered connections

Update: Method 3: Using group policy editor

Preventing the auto-restart after update that results in the loss of important work/services / virtual machines that were running.

This way we’re doing it via the local group policy editor:

Go to Start and type gpedit.msc and then Enter

Click on Administrative Templates under Computer Configurations

local group policy editor

Then open Windows components in the menu, and look for Windows Update:

dont restart automatically after update

 

Click on the setting called “No auto-restart with logged on users for scheduled automatic update installations” and change it to enable.

That’s it, you’re done.

This is great for situations when your Windows computer acts as a server: you are logged in on RDP or leaving programs running. No need to purchase Windows Server 🙂

Want to know why and when your system was last restarted? use the  Windows last restarted App

Leave a comment