The machine is Windows 2003 X64 and I have a simple task configured as such:
Execution context: Foreground
Execute on specified desktop session: <<username>>@session0
Before execution: Logon/Unlock using Credential: <<username selected>>
Next I log off the machine and I expect the task to execute, but I get an error message:
Impersonation was skipped because the current user is already the specified user.
Impersonation failed in task.
That is impossible considering there are no users logged in the system at the time.