I have a job on my machine that will (weekly) backup any psts for a given profile in outlook. I've been able to write a job that shuts down any running instances of OL, backs up the PSTs and attempts to restart outlook on the machine. The problem is the last step. I have an "Execute task" whereby I point to the outlook exe (e.g. "C:\Program Files (x86)\Microsoft Office\Office12\OUTLOOK.EXE". I always get one of two problems, both of which prevent me from SEEING outlook running:
1) I can see outlook.exe running in the task manager, but it is iconless and is not running in a context where I can use it (and the task in the job never ends)
2) I cannot see it in task manager and get an error in the job that regarding a context to execute
I want the task to kick off outlook and then end, how can I do this? I've even tried doing it via a batch file but usually see a #1 type of behavior
Thanks,