Vista Task Scheduler - Batch File

M

MCM

I have a batch file with an xcopy routine. This runs correctly when I execute
it manually. I am trying to automate this task with task scheduler on my
Vista machine. When it attempts to run, the scheduler reports the task
completed with an exit code of 0x4. It is never actually executed.
 
M

Mark L. Ferguson

When you setup the scheduled task, there is a checkbox for running 'with the
highest privileges'. This will grant you the 'Permissions' you need to open
files. If you are also setting this task to 'run whether logon on or not' is
will fail to show a run window.(GUI)
 
M

MCM

Highest privileges is already checked.

I am aware that it will not show a window, but the task takes about 2 hrs to
run and when I run it from the task scheduler, it finishes instantly. I can
also see from the results that it is not executing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top