You could try one of the task scheduler tools to define and then immediatly execute the task. I'm not sure if Jens' ScheduleTask UDF has a function to RunNow, but my tcLib udf library does. Once you have a task defined, it's a separate environment and should be unaffected by the login process.

Define the task as a Run Once, choose the Remove Task After Run option, and pick a time in the past - noon on 1/1/2004, for example.

My library is designed to manipulate the Scheduled Tasks, not just create a task event. As such, it can be a bit intimidating to use the first time. Feel free to ask if that's the direction you choose to try.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D