Hi, i'm trying to add a printer with RunAs credentials in a domain environment.
I'm loged on as a local user, and in the startupscript it says:
runas("administrator","domain","******",1,runwait("rundll32 printui.dll,PrintUIEntry /in /n" & "\\printserver\printername" & " /q"))
It will not connect to the domain, and therefor will not install printer.