View Full Version : Scheduled disable/enable Network adaptors?
ORLOVA
03-24-2018, 10:05 AM
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 ??
Freya009
05-02-2020, 07:03 PM
(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
lishmalinyjames
10-24-2020, 07:07 AM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.