I'm sorry but I don't believe you. You must be giving misinformation.
First off, what are you running, AT or Task Scheduler? Task Scheduler is the Scheduled Tasks applet in Control Panel. Scheduled Tasks can indeed run tasks in a domain users context. I know that for sure because I use it all the time.
When you run a script in the context of another user, it is that user's @Fullname that is returned. In the case of the local administrator account that would be blank. This I tested even though I was confident to be true.
Here is a very simple test script:
code:
Break on
$RC=WriteProfileString('C:\test.ini','Test','Name',@Fullname)
I ran it interactively with my domain account as well as a Scheduled Task. I also ran the Scheduled Task under various domain and local accounts.
Also, when the task is run in another user's context, it does not interact with the screen so there is no way you could see the @FullName macro results on the console.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.