I have more information about the "phenomen", maybe it helps for further analysis:
The above kix script is configured within a scheduled task with the option "runas user_1" at a windows 2003 server. The task itself is disabled.

Case 1)
a) Logging on remote at the server as user_1
b) Execute the task (right-click->run)
c) Result:
2005/05/19 08:12:46 connection successfull of \\ntalgs10\ph73

Case 2)
a) Logging on remote at the server as user_2 (like user_1 member of the administrator group)
b) Execute the task (right-click->run)
c) Result:
2005/05/19 08:13:57 ErrorCode=2, Error=The system cannot find the file specified.

My conclusion is whenever this task is executed and the specific "runas" user is currently not logged in at the machine, the addprinterconnection command fails. How can i prevent this, please help!