Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista print fax & scan

Vista - Redirect Printer w/Line Command

Reply
 
Old 04-11-2007   #1 (permalink)
Dave T.


 
 

Redirect Printer w/Line Command

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

My System SpecsSystem Spec
Old 04-17-2007   #2 (permalink)
Alan Morris [MSFT]


 
 

Re: Redirect Printer w/Line Command

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." <DaveT@discussions.microsoft.com> wrote in message
news:83EB96A9-E751-4FCC-83B6-D04DC17CFC81@microsoft.com...
> 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



My System SpecsSystem Spec
Old 04-17-2007   #3 (permalink)
Dave T.


 
 

Re: Redirect Printer w/Line Command

Owner is "guest"

"Alan Morris [MSFT]" wrote:

> 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." <DaveT@discussions.microsoft.com> wrote in message
> news:83EB96A9-E751-4FCC-83B6-D04DC17CFC81@microsoft.com...
> > 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

>
>
>

My System SpecsSystem Spec
Old 04-17-2007   #4 (permalink)
Alan Morris [MSFT]


 
 

Re: Redirect Printer w/Line Command

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." <DaveT@discussions.microsoft.com> wrote in message
news:4BE18031-6A82-414D-9262-A8AAE1DA5501@microsoft.com...
> Owner is "guest"
>
> "Alan Morris [MSFT]" wrote:
>
>> 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." <DaveT@discussions.microsoft.com> wrote in message
>> news:83EB96A9-E751-4FCC-83B6-D04DC17CFC81@microsoft.com...
>> > 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

>>
>>
>>



My System SpecsSystem Spec
Old 04-17-2007   #5 (permalink)
Dave T.


 
 

Re: Redirect Printer w/Line Command

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 [MSFT]" wrote:

> 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." <DaveT@discussions.microsoft.com> wrote in message
> news:4BE18031-6A82-414D-9262-A8AAE1DA5501@microsoft.com...
> > Owner is "guest"
> >
> > "Alan Morris [MSFT]" wrote:
> >
> >> 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." <DaveT@discussions.microsoft.com> wrote in message
> >> news:83EB96A9-E751-4FCC-83B6-D04DC17CFC81@microsoft.com...
> >> > 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
> >>
> >>
> >>

>
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Running a command from inside a script, command line is corrupted PowerShell
What is the command line command for unzipping files? Vista General
Remote Desktop connection does not redirect printer Vista General
Command Line Ren (Rename) command broken? Vista General
Windows server 2003 printer redirect Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46