Tech Support > Operating Systems > Windows 2000 > Connect to a network printer with a local user
Connect to a network printer with a local user
Posted by Bruno on January 28th, 2004


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.

Posted by Bryan Martin on January 28th, 2004


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" <anonymous@discussions.microsoft.com> wrote in message
news:8C46FC30-EC4F-41BE-BA1B-8D2C7A86C351@microsoft.com...