Good morning:
I'm having a very odd issue with Task Scheduler and Robocopy on a Windows Server 2016 machine.
I have script that uses net use to connect to a server on a different domain. I am able to get to that server and go to various folders using the provided credentials with no errors or issues. The script then calls robocopy to copy files and subdirectories to a server on our local domain. I can run this script manually with no problem. When I put it in Task Scheduler and run it from there, the log file keeps giving me this error:
ERROR 1907 (0x00000773) Accessing Source Directory <directory name> The user's password must be changed before signing in.
Neither the user used to run the task nor the user connecting to the other domain are flagged in AD to change their passwords. I can't figure out why I keep getting this message. Again, I can run the script manually with no errors, but when I try to run it using task scheduler I get this error.
Thanks in advance for any help you can offer,
Mary