Just FYI I always use rundll32 for logon scripts (rundll32 printui.dll,
PrintUIEntry /?) but I still think you will have a problem unless you either
run a net use \\youruser\print$ /USER:THEOTHERPERSON script prior to setting
up the printer or allow X user permission to the printer.
Bryan
"Bruno" <(E-Mail Removed)> wrote in message
news:8C46FC30-EC4F-41BE-BA1B-(E-Mail Removed)...
> Hi,
>
> I'm logging on a W2K server using a local user (SERVER\username).
> I need to connect to a domain network printer using a logon script.
> I tried to use the CON2PRT program but it cannot find the printer (as I am
not logged in with a domain user).
> However the CON2PRT program cannot connect to a network printer using
another username like the 'net use' command.
> I tried the runas command but we must provide a password interactively.
> So the question is : how to connect to a domain network printer in a
command line when logged in with a local user ?
>
> Thanks.
|