Redirect Printer w/Line Command

G

Guest

We still run an old DOS application that requires a printer redirection to be
able to print. Using the NET USE LPT1: \\SERVER\PRINTER works in XP, but I
cannot get it to work in Vista. It keeps asking for a a user name and
password. I have put the username and password on both computers with admin
rights and continually receive a System Error 5 message. Is Vista security
blocking this? Where am I missing the connection?

Thanks,
Dave
 
A

Alan Morris [MSFT]

Yes this is in the security layer somewhere.


pause the printer on the "server" , open notepad on the Vista machine and
send a job to the shared printer.

What user account is listed as Owner?



--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Guest

Owner is "guest"

Alan Morris said:
Yes this is in the security layer somewhere.


pause the printer on the "server" , open notepad on the Vista machine and
send a job to the shared printer.

What user account is listed as Owner?



--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Dave T. said:
We still run an old DOS application that requires a printer redirection to
be
able to print. Using the NET USE LPT1: \\SERVER\PRINTER works in XP, but
I
cannot get it to work in Vista. It keeps asking for a a user name and
password. I have put the username and password on both computers with
admin
rights and continually receive a System Error 5 message. Is Vista
security
blocking this? Where am I missing the connection?

Thanks,
Dave
 
A

Alan Morris [MSFT]

I think you will need to open a cmd window with the guest account

runas /user:guest cmd
enter the guest password normally blank so just hit return, but I think this
might fail with user account control enabled.

if it works then redirect LPT2: to the networked device (XP limited
redirection access on physical hardware to admins, this still holds true)

net use LPT2: \\server\printer

or just put in guest and password at the prompt

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Dave T. said:
Owner is "guest"

Alan Morris said:
Yes this is in the security layer somewhere.


pause the printer on the "server" , open notepad on the Vista machine
and
send a job to the shared printer.

What user account is listed as Owner?



--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no
rights.

Dave T. said:
We still run an old DOS application that requires a printer redirection
to
be
able to print. Using the NET USE LPT1: \\SERVER\PRINTER works in XP,
but
I
cannot get it to work in Vista. It keeps asking for a a user name and
password. I have put the username and password on both computers with
admin
rights and continually receive a System Error 5 message. Is Vista
security
blocking this? Where am I missing the connection?

Thanks,
Dave
 
G

Guest

Thanks Alan. I will try the "guest" option for future reference, but the
LPT2 option worked and I should be able to work with that.

Alan Morris said:
I think you will need to open a cmd window with the guest account

runas /user:guest cmd
enter the guest password normally blank so just hit return, but I think this
might fail with user account control enabled.

if it works then redirect LPT2: to the networked device (XP limited
redirection access on physical hardware to admins, this still holds true)

net use LPT2: \\server\printer

or just put in guest and password at the prompt

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Dave T. said:
Owner is "guest"

Alan Morris said:
Yes this is in the security layer somewhere.


pause the printer on the "server" , open notepad on the Vista machine
and
send a job to the shared printer.

What user account is listed as Owner?



--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no
rights.

We still run an old DOS application that requires a printer redirection
to
be
able to print. Using the NET USE LPT1: \\SERVER\PRINTER works in XP,
but
I
cannot get it to work in Vista. It keeps asking for a a user name and
password. I have put the username and password on both computers with
admin
rights and continually receive a System Error 5 message. Is Vista
security
blocking this? Where am I missing the connection?

Thanks,
Dave
 

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