This batch script is designed to disable the Ethernet connection and ensure it remains disabled upon system startup by creating a scheduled task.
Only the scheduled scritp needs to be run.
Steps Performed:
Disable Ethernet Interface: Disables the specified Ethernet interface to prevent network access.
Create Scheduled Task: Creates a scheduled task that runs the same script to ensure the Ethernet interface remains disabled on startup.
Run this script to disable the Ethernet connection and create a scheduled task to keep it disabled upon system startup.
Enable Ethernet Interface: Re-enables the specified Ethernet interface to restore network access.
Run this script to re-enable the Ethernet connection and remove the scheduled task that disables it on startup.