I meant whenever the specific runas user is additionaly logged in remote (via remote desktop connection or terminal server) the script works, when the user is not logged in remote, the addprinterconnection fails (i repeated that more than 3 times)...