Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Toggle metered connection

Windows 10 allows the user to schedule when updates are applied, but not when they are downloaded.

One way to control Windows 10 update downloads is to manually define the wifi connection as a metered connection, and then to manually set it back to unmetered again.

My ISP allows free downloads between midnight and 6am. It would therefore be best if I could schedule Windows updates to happen during this time.

Is it possible to use Task Scheduler and a Windows script to change from metered to unmetered on a schedule.

If yes, any pointers on how to do it?

Thanks Brendon

like image 412
BrilliantWeb Avatar asked Dec 09 '15 06:12

BrilliantWeb


People also ask

Should metered connection be on or off?

If you have a data plan that is quite limited or even if it is expensive to surpass the amount you have in your plan, using a metered connection to not go over that amount would definitely be a good thing.

How do I turn off metered connection?

To do this: Select the Start button, then select Settings > Network & Internet > Status . Under the network you're connected to, select Data usage. Select the network connection under Choose a network, and then select Remove limit > Remove.

What does turning on metered connection do?

A metered network connection will try to control and reduce data usage on the network, so some apps might work differently on a metered connection. Also, some updates for Windows won't be installed automatically.

What happens if metered connection is off?

As soon as you leave the Wi-Fi network and connect to another Wi-Fi network that isn't considered metered, Windows 10 will resume automatically downloading updates and using the other restricted features. You'll need to set that Wi-Fi connection as metered after you connect to stop this from happening.


1 Answers

First, use this command to get names of your wlan profiles:

netsh wlan show profiles

Second, use this command to get current settings:

netsh wlan show profile name="Your profile name"

It prints "Cost : Fixed" if connection is metered, "Cost : Unrestricted" if non-metered

To change between metered and non-metered use these:

netsh wlan set profileparameter name="Your profile name" cost=Unrestricted

netsh wlan set profileparameter name="Your profile name" cost=Fixed
like image 61
JIT Avatar answered Nov 02 '22 11:11

JIT