Hello,
You might want to look at
Win32::AdminMisc for an alternative method of scheduling tasks without the use of a system call to "at.exe". Specifically, look at the Schedule methods. It makes it easier to list and delete tasks programmatically.
Error: Keyboard not attached. Press F1 to continue.