Re: Problem With Task Sceduler
I have documented the issue with Pageant on:
https://winscp.net/eng/docs/faq_scheduler
https://winscp.net/eng/docs/faq_scheduler
You are authenticating with Pageant which is running in a different session than the scheduler. So WinSCP cannot communicate with Pageant.
You need to specify a private key explicitly in the script.