1.    18 Jan 2017 #1
    Join Date : Jan 2017
    Posts : 2
    Windows 10

    Task Scheduler Script


    I want to enable and disable my Ethernet connection at specific times each day. Task Scheduler prompts me for the script identifying the action of enabling or disabling the Ethernet connection. How do I identify these two specific scripts?
      My ComputerSystem Spec
  2.    18 Jan 2017 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,077
    Win 10 Pro (1703)

    If you search the internet for e.g.
    command line enable ethernet

    you will find helpful results like
    Network Adapter (NIC) - Enable or Disable in Windows
    (Option 3, 4).

    You should be able to use those in a *.bat file.
    Note these require to be run as admin, so configure the task accordingly.
      My ComputerSystem Spec
  3.    19 Jan 2017 #3
    Join Date : Jan 2017
    Posts : 2
    Windows 10
    Thread Starter

    Thanks for the info. Was successful using netsh cmd
      My ComputerSystem Spec
  4.    19 Jan 2017 #4
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,077
    Win 10 Pro (1703)

    Great!
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Solved Problem Getting a Powershell Script to Run in Task Scheduler
Hope I'm in the right place! I am trying to get a Powershell script to run daily in the task scheduler. It basically purges a folder on one of my drives: Get-ChildItem –Path “D:\Dropbox\Quicken\Backup” –Recurse | Where-Object CreationTime...
Software and Apps
Solved How do I re-create (restore) a task in Task Scheduler?
Once Windows 10 got itself updated to the Anniversary edition, I noticed there was some problem with the Family Safety feature - namely, whenever my kids asked me for a remote extension of the time limit, and I granted it, it simply wouldn't push...
User Accounts and Family Safety
How to show Command Prompt Window when running task in Task Scheduler?
Is there a way to make the "Command Prompt" window show when I have a task running in Windows task Scheduler? I would like to be able to view the progress of the task. For example, I have a program called "Zap2xml" that collects TV EPG data. It...
General Support
What script do I use in Task Scheduler to delay/minimize on startup?
I am creating a task in the task scheduler to delay the startup of OneDrive for 5 minutes and it is working but when it launches it is opening a window instead of minimizing or running in background. I am using "\minimize" as argument but it's not...
General Support
Solved Time Zone change causes error in Task Scheduler for every task
My issue is kind of strange. I am an insider currently on Windows 10 build 10240. All the build I have tried so far has this same error in task scheduler when I change my time zone to my current location which is kathmandu (UTC+5:45). When i change...
Performance & Maintenance
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:45.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums