Home All Groups Group Topic Archive Search About
Author
27 May 2005 6:14 PM
karson
Can someone please provide me with a little guidance?


I have a user with user rights that log onto a windows 2000 server which I
need to capture LPT1 and redirect it.


Anytime I log in as the user and run the following command

net use lpt1 \\xxx.xxx.xx.x\l1 /persistent:yes


I get the following error permission denied.

I am able to successful complete this command as an administrator..

Is there a trick because I do not want to give this user admin rights..

Local policy setting?  Group policy setting?


Thanks in advance,
Karson

Author
27 May 2005 6:36 PM
Doug Sherman [MVP]
Try:

net use lpt1 \\xxx.xxx.xx.x\l1 /USER:administrator@domainname password

Doug Sherman
MCSE, MCSA, MCP+I, MVP

Show quoteHide quote
"karson" <kar***@canada.com> wrote in message
news:uo28tfuYFHA.3584@TK2MSFTNGP12.phx.gbl...
> Can someone please provide me with a little guidance?
>
>
> I have a user with user rights that log onto a windows 2000 server which I
> need to capture LPT1 and redirect it.
>
>
> Anytime I log in as the user and run the following command
>
> net use lpt1 \\xxx.xxx.xx.x\l1 /persistent:yes
>
>
> I get the following error permission denied.
>
> I am able to successful complete this command as an administrator..
>
> Is there a trick because I do not want to give this user admin rights..
>
> Local policy setting?  Group policy setting?
>
>
> Thanks in advance,
> Karson
>
>
Are all your drivers up to date? click for free checkup

Author
27 May 2005 6:42 PM
karson
No luck..


system error 5 has occured

It's weird as a user I have full access to \\xxx.xxx.xx.x\l1 just will not
let me net use lpt1 to it?




Show quoteHide quote
"Doug Sherman [MVP]" <dsherman@nospamtampabay.rr.com> wrote in message
news:%23b%23C0ruYFHA.1040@TK2MSFTNGP10.phx.gbl...
> Try:
>
> net use lpt1 \\xxx.xxx.xx.x\l1 /USER:administrator@domainname password
>
> Doug Sherman
> MCSE, MCSA, MCP+I, MVP
>
> "karson" <kar***@canada.com> wrote in message
> news:uo28tfuYFHA.3584@TK2MSFTNGP12.phx.gbl...
>> Can someone please provide me with a little guidance?
>>
>>
>> I have a user with user rights that log onto a windows 2000 server which
>> I
>> need to capture LPT1 and redirect it.
>>
>>
>> Anytime I log in as the user and run the following command
>>
>> net use lpt1 \\xxx.xxx.xx.x\l1 /persistent:yes
>>
>>
>> I get the following error permission denied.
>>
>> I am able to successful complete this command as an administrator..
>>
>> Is there a trick because I do not want to give this user admin rights..
>>
>> Local policy setting?  Group policy setting?
>>
>>
>> Thanks in advance,
>> Karson
>>
>>
>
>
Author
27 May 2005 6:52 PM
karson
One other thing to add..  I am able to net use g: \\xxx.xx.xx.x\test it just
doesn't like lpt1 as a non admionistrator




Show quoteHide quote
"karson" <kar***@canada.com> wrote in message
news:ezCxnvuYFHA.2420@TK2MSFTNGP12.phx.gbl...
> No luck..
>
>
> system error 5 has occured
>
> It's weird as a user I have full access to \\xxx.xxx.xx.x\l1 just will not
> let me net use lpt1 to it?
>
>
>
>
> "Doug Sherman [MVP]" <dsherman@nospamtampabay.rr.com> wrote in message
> news:%23b%23C0ruYFHA.1040@TK2MSFTNGP10.phx.gbl...
>> Try:
>>
>> net use lpt1 \\xxx.xxx.xx.x\l1 /USER:administrator@domainname password
>>
>> Doug Sherman
>> MCSE, MCSA, MCP+I, MVP
>>
>> "karson" <kar***@canada.com> wrote in message
>> news:uo28tfuYFHA.3584@TK2MSFTNGP12.phx.gbl...
>>> Can someone please provide me with a little guidance?
>>>
>>>
>>> I have a user with user rights that log onto a windows 2000 server which
>>> I
>>> need to capture LPT1 and redirect it.
>>>
>>>
>>> Anytime I log in as the user and run the following command
>>>
>>> net use lpt1 \\xxx.xxx.xx.x\l1 /persistent:yes
>>>
>>>
>>> I get the following error permission denied.
>>>
>>> I am able to successful complete this command as an administrator..
>>>
>>> Is there a trick because I do not want to give this user admin rights..
>>>
>>> Local policy setting?  Group policy setting?
>>>
>>>
>>> Thanks in advance,
>>> Karson
>>>
>>>
>>
>>
>
>
Author
27 May 2005 7:25 PM
karson
RESOLUTION
To work around this behavior, use one of the following methods: . Log on as
an administrator, and then use the net use command.
      . Use the devcon disable *PNP0401 command to disable the LPT port
mapping to the local parallel port when the computer starts. The devcon
disable *PNP0401 command is for LPT1. To find the hardware ID for other LPT
ports, use the devcon findall * command. The devcon command must run when
the computer starts. For a computer in a domain, you can set up Group Policy
to run devcon as a computer startup script. To set Group Policy, open the
appropriate group policy, open Computer Configuration\Windows
Settings\Scripts (Startup/Shutdown)\Startup, and then add the command.
      . If your program can print to the LPT2 port or the LPT3 port, use the
net use command to map the network printer to the LPT2 port or the LPT3
port. Most computers do not have physical LPT2 or LPT3 ports, so a
non-administrator can map an LPT2 port or an LPT3 port to a network printer.







Show quoteHide quote
"karson" <kar***@canada.com> wrote in message
news:%23iUGA1uYFHA.2160@TK2MSFTNGP10.phx.gbl...
> One other thing to add..  I am able to net use g: \\xxx.xx.xx.x\test it
> just doesn't like lpt1 as a non admionistrator
>
>
>
>
> "karson" <kar***@canada.com> wrote in message
> news:ezCxnvuYFHA.2420@TK2MSFTNGP12.phx.gbl...
>> No luck..
>>
>>
>> system error 5 has occured
>>
>> It's weird as a user I have full access to \\xxx.xxx.xx.x\l1 just will
>> not let me net use lpt1 to it?
>>
>>
>>
>>
>> "Doug Sherman [MVP]" <dsherman@nospamtampabay.rr.com> wrote in message
>> news:%23b%23C0ruYFHA.1040@TK2MSFTNGP10.phx.gbl...
>>> Try:
>>>
>>> net use lpt1 \\xxx.xxx.xx.x\l1 /USER:administrator@domainname password
>>>
>>> Doug Sherman
>>> MCSE, MCSA, MCP+I, MVP
>>>
>>> "karson" <kar***@canada.com> wrote in message
>>> news:uo28tfuYFHA.3584@TK2MSFTNGP12.phx.gbl...
>>>> Can someone please provide me with a little guidance?
>>>>
>>>>
>>>> I have a user with user rights that log onto a windows 2000 server
>>>> which I
>>>> need to capture LPT1 and redirect it.
>>>>
>>>>
>>>> Anytime I log in as the user and run the following command
>>>>
>>>> net use lpt1 \\xxx.xxx.xx.x\l1 /persistent:yes
>>>>
>>>>
>>>> I get the following error permission denied.
>>>>
>>>> I am able to successful complete this command as an administrator..
>>>>
>>>> Is there a trick because I do not want to give this user admin rights..
>>>>
>>>> Local policy setting?  Group policy setting?
>>>>
>>>>
>>>> Thanks in advance,
>>>> Karson
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Author
27 May 2005 7:26 PM
Doug Sherman [MVP]
Oops - try a colon:

net use lpt1: \\xxx.xxx.xx.x\l1 /USER:administrator@domainname password

or maybe just - net use lpt1: \\xxx.xxx.xx.x\l1

Doug Sherman
MCSE, MCSA, MCP+I, MVP

Show quoteHide quote
"karson" <kar***@canada.com> wrote in message
news:%23iUGA1uYFHA.2160@TK2MSFTNGP10.phx.gbl...
> One other thing to add..  I am able to net use g: \\xxx.xx.xx.x\test it
just
> doesn't like lpt1 as a non admionistrator
>
>
>
>
> "karson" <kar***@canada.com> wrote in message
> news:ezCxnvuYFHA.2420@TK2MSFTNGP12.phx.gbl...
> > No luck..
> >
> >
> > system error 5 has occured
> >
> > It's weird as a user I have full access to \\xxx.xxx.xx.x\l1 just will
not
> > let me net use lpt1 to it?
> >
> >
> >
> >
> > "Doug Sherman [MVP]" <dsherman@nospamtampabay.rr.com> wrote in message
> > news:%23b%23C0ruYFHA.1040@TK2MSFTNGP10.phx.gbl...
> >> Try:
> >>
> >> net use lpt1 \\xxx.xxx.xx.x\l1 /USER:administrator@domainname password
> >>
> >> Doug Sherman
> >> MCSE, MCSA, MCP+I, MVP
> >>
> >> "karson" <kar***@canada.com> wrote in message
> >> news:uo28tfuYFHA.3584@TK2MSFTNGP12.phx.gbl...
> >>> Can someone please provide me with a little guidance?
> >>>
> >>>
> >>> I have a user with user rights that log onto a windows 2000 server
which
> >>> I
> >>> need to capture LPT1 and redirect it.
> >>>
> >>>
> >>> Anytime I log in as the user and run the following command
> >>>
> >>> net use lpt1 \\xxx.xxx.xx.x\l1 /persistent:yes
> >>>
> >>>
> >>> I get the following error permission denied.
> >>>
> >>> I am able to successful complete this command as an administrator..
> >>>
> >>> Is there a trick because I do not want to give this user admin
rights..
> >>>
> >>> Local policy setting?  Group policy setting?
> >>>
> >>>
> >>> Thanks in advance,
> >>> Karson
> >>>
> >>>
> >>
> >>
> >
> >
>
>

Bookmark and Share