Windows 10 - Task scheduler (access denied when running .bat)

Solution 1:

Jobs run in the Task Scheduler need to specify paths and folders, since the defaults are usually system folders.

You need to specify the full path to iperf and also add a cd command, or alternatively add the full path to the file 24htestS.log. Otherwise, you will be trying to save it in a system folder where you don't have the access permissions (not a good idea to run as Admin in order to force it).