How to prevent Windows Updates with Metered Connection

Sometimes you need to prevent Windows updates and following restarts of the PC (for example during long endurance test while PC Stays connected to Internet). An easiest way to do this - is just set Metered Connection to public interface

The Metered Connection can be enabled here:

Then on Windows Update will still notify you about updates, but they will be not downloaded:

image-20241113090734607

Until not enabled in Advanced Options:

image-20241113091954123

You may get “No connection” troubles with updates in NI Package Manager, in this case just turn off metered connection temporarily.