I set up a lab environment (a Windows VM) to test a scheduled task. This is not a real device, only a test setup that I built myself.
I intentionally created a scheduled task triggered by Event ID 4624 (successful logon) in the Security log, with shutdown /r /f /t 0 as its action.
Event ID 4624 is also generated during system startup, so the task runs on every boot and the VM is now stuck in a continuous reboot loop.
How can I disable or delete this scheduled task while the VM keeps restarting, without reinstalling Windows?