First use this command to get the names of your wlan profiles:
netsh wlan show profiles
Secondly, use this command to get the current settings:
netsh wlan show profile name="Your profile name"
It prints “Cost: Fixed” if the connection is measured, “Cost: Unlimited” if not measured
To change between measured and immediate, use the following:
netsh wlan set profileparameter name="Your profile name" cost=Unrestricted netsh wlan set profileparameter name="Your profile name" cost=Fixed
source share