Collections:
Other Resources:
How do I control the metered data connection switch in Win 8 with a batch file?
Howdy, I need someone to show me how to write a batch file that will control the metered data connection switch in Win 8. My ISP offers free data from midnight to 5 AM, but of course nobody is in the office at that time to turn off the unlimited use of data, so I need a batch file that will do it with command line. I already wrote this for a desktop to turn an Ethernet connection on and off:
@echo off
netsh interface set interface "Local Area Connection" Disable
@echo off
netsh interface set interface "Local Area Connection" Enable
I'll take the file that I create and put it into a scheduled task to run every night.
✍: Guest
I would suggest you to post your query in MSDN forums for better assistance on this issue. Here is the link: http://social.msdn.microsoft.com/Forums/en-US/home
Get back to us for any issues related to Windows in future. We will be glad to help you.
2014-01-24, 2357🔥, 0💬
Popular Posts:
What files are stored in the "C:\Users\<userid >\AppData\Local\M icrosoft\Windows\Tempor. ..
Where are services hosted by "svchost.exe -k netsvcs" on Windows XP? What is the meaning of "-k nets...
What is Java Runtime Environment 1.4.2 - Download Program Files (DPF)? Java Runtime Environment 1.4....
How to install PHP engine on Windows systems? If you followed our Downloading PHP Engine tutorial , ...
How to remove BacsTray.exe from the startup application list to gain performance and reduce security...