I am trying to schedule a task which runs a powershell script. This script copy several files from one server to the one which the script is running.
If i run the script with an elevated powershell prompt it is working like a charme. When I create a scheduled task with the same user as I used for running manual directly, the script isn't working anymore because the script isn't able to find the folders. Oddly enough there is no error shown in the task scheduler.
If I log on to the system with the same user, there are no problems connecting the shares.
We have allready tried to permit the user same like our domain admin. Still no luck.
My guess is there is something in the security policy wrong. We allready set the logon as a batch job and the log on locally policy.
Any suggestions?