Connect to a network printer with a local user

G

Guest

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.
 
B

Bryan Martin

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 said:
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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top