|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Net use lpt1 commandI 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 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 > > 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 >> >> > > 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 >>> >>> >> >> > > 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 >>>> >>>> >>> >>> >> >> > > 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 > >>> > >>> > >> > >> > > > > > >
What DOS command to unlock acct?
L2TP/Ipsec on RRAS Exporting AD users and Groups Installing Windows SErver 2003 Password problem server shuts down unexpectedly every morning around 5 am Server 2003 Backup Internal vs External Web Access SCSI disks on Windows 2003 Server 2003 reinstall with data on Stripeset without parity |
|||||||||||||||||||||||