Results 1 to 3 of 3

Thread: Scheduled disable/enable Network adaptors?

  1. #1

    Default Scheduled disable/enable Network adaptors?

    Basically i want to schedule a disable command on a network at a given time and enable another after that.

    Is it possible to do so ??

  2. #2
    Join Date
    Apr 2020
    Posts
    19

    Default

    (Assuming you are running Windows): Create two scripts (.BAT/.CMD file), with the following contents:

    <Disable script>

    Code:

    netsh interface set interface “Local Area Connection” DISABLED

    <Disable script>

    Code:

    netsh interface set interface “Local Area Connection” ENABLED

    Rename "Local Area Connection" to match the interface you want to manage

    Put these scripts in Task Scheduler

  3. #3
    Join Date
    Feb 2020
    Posts
    1,103

    Default

    Step 1: Determine Your NIC Name. Go to a command prompt and type the following command.
    Step 2: Create Tasks To Enable and Disable The NIC.
    Step 3: Task - General Settings.
    Step 4: Task - Action - Create.
    Step 5: Task - Action - Review.
    Step 6: Task - Scheduler.
    Step 7: Task - Test.

Similar Threads

  1. How to enable cookies in Chrome?
    By ORLOVA in forum Software & Hardware
    Replies: 5
    Last Post: 06-06-2023, 06:48 PM
  2. Aspnix.com Database Vault for Windows - fast backups, compression, scheduled backups!
    By Rumsfo in forum Web Hosting and Related Offers Forum
    Replies: 0
    Last Post: 04-06-2016, 02:36 PM
  3. How does enable/disable suPHP help me in webuzo
    By Arkwyn in forum Web Hosting Solutions
    Replies: 0
    Last Post: 12-19-2011, 06:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •