Windows Tasks Scheduler Job fail

Susja 716 Reputation points

I'm using Tasks Scheduler on Windows 2008 R2.
It executes .bat file which removes some files in particular directory.
When I am running this .bat file from command prompt it does the job and removes files but when I run it using Tasks Scheduler it 'completes successfully' but does not remove files. Note: I'm using the same account both for Scheduler and command prompt.
I tried to play with 'Run with highest privileges'', add path to 'Start in' ... nothing helped. The same batch works from prompt but does not from Scheduler.
Any suggestion?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,006 questions
0 comments No comments
{count} votes