Incapace tracciare (uso netto) LPT1 in Windows XP

Ogni volta che la prova effettuare “l'ordine netto del ″ di uso lpt1, il sistema non può correttamente e programma incapace alla parte/coda dello stampatore. Invece, richiami voi per l'identificazione usuario e la parola d'accesso (se nessun identificazione usuario e/o parola d'accesso è specificata quando commad netto pubblicato di uso). Per esempio,

Richiamo di ordine: \ > uso lpt1 della rete: \ \ computer_name \ stampatore
La parola d'accesso è non valida per \ \ computer_name \ stampatore.

Introduca il nome dell'utente per il computer_name del `': utente
Digiti la parola d'accesso per il computer_name del `':
L'errore del sistema 5 ha accaduto.

Accedi a è negato.

Per rendere la materia più difettosa, qualunque cosa le regolazioni di sicurezza ed i permessi voi siano cambiato, l'ordine netto di uso non sta funzionando semplicemente.

Il motivo per questa edizione è perché in Windows XP ed assistente 2003 di Windows, i non-coordinatori non possono remap un orificio del LPT ad uno stampatore della rete, quando l'orificio del LPT già è assegnato all'orificio parallelo locale. Cioè soltanto un membro del gruppo dei coordinatori può usare il tomap netto di ordine di uso l'orificio del LPT per (fissaggi) un orificio parallelo locale ad uno stampatore della rete. Secondo Microsoft, questo comportamento è desinged per contribuire a migliorare la sicurezza.

Soluzioni

Risolvere non può coprire il problema con reti di uso lpt1, là è parecchi sensi:

  • Inizio attività come coordinatore
  • Usi il devcon inabilitano l'ordine *PNP0401 inabilitare il tracciato port del LPT all'orificio parallelo locale quando il calcolatore si avvia. Il devcon inabilita l'ordine *PNP0401 è per LPT1. Per trovare l'identificazione dei fissaggi per altri orificii del LPT, usi il findall del devcon * ordine. L'ordine del devcon deve funzionare quando il calcolatore si avvia. Per un calcolatore in un dominio, potete installare la politica del gruppo per fare funzionare il devcon come scritto di partenza del calcolatore. Per per regolarsi gruppo il politica, si aprono adatto gruppo il politica, aperto calcolatore configurazione \ Windows il regolazione \ scritto () \ partenza arresto/di partenza ed allora aggiunga l'ordine. Alternativamente, l'ordine può essere fatto funzionare individualmente ad ogni stazione di lavoro aggiungendo un ordine al dispositivo di piegatura Startup per tutti gli utenti o gli utenti particolari. Il programma di utilità di Devcon può essere trovato qui con le relative informazioni.
  • Se il vostro programma può stampare all'orificio LPT2 o all'orificio LPT3, usi l'ordine netto di uso tracciare lo stampatore della rete all'orificio LPT2 o all'orificio LPT3. La maggior parte dei calcolatori non hanno orificii fisici LPT2 o LPT3, in modo da un non-coordinatore può tracciare un orificio LPT2 o un orificio LPT3 ad uno stampatore della rete.„

IMPORTANTE: Ciò è una pagina tradotta dall'ordinatore che è fornita “come è„ senza garanzia. La traduzione automatica può essere difficile da capire. Riferisca a prego articolo inglese originale per quanto possibile.

Share and contribute or get technical support and help at My Digital Life Forums.



16 Responses to “Unable to Map (Net Use) LPT1 in Windows XP”

  1. Brian Buchholtz
    February 3rd, 2006 04:33
    1

    Thanks for posting this! I never would have thought to use devcon.

    I’ve been trying (in vain) to tighten security on our network. And I am absolutely befuddled as to why Microsoft is so adament about having its users run as Administrators on Windows XP workstations. Come guys… I rather a system allow for LPT port redirects then having everyone run as the God user.

    Anyways… I’ve been working on logon scripts for OU’s in our domain. LPT redirects work just fine when the logged in user has admin rights. But! LPT redirects still aren’t working (for even power users) even when there isn’t a locally defined LPT port.

    And (perhaps on a related note), devcon doesn’t seem to work for my login scripts. Here’s what I’m trying:

    I have devcon.exe copied to my NETLOGON share

    I map L: to \\server\NETLOGON

    In my logon script I run:

    PATH = L:\
    devcon disable *PNP0401

    Any ideas?!

  2. Administrator
    February 3rd, 2006 15:28
    2

    I believe devcon needs administrative rights too to function properly.

  3. Brian Buchholtz
    February 6th, 2006 23:03
    3

    Think I figured it out…

    As far as I can tell, LPT port disable seems to be working. Forget about using the PATH command and just use START.

    Example:
    START L:\devcon\disable *PNP0401

    Hope this helps anyone else who’s a bit rusty with batch files ;)

  4. Eric
    February 28th, 2006 22:14
    4

    Hi Guys. I have been using the devcon utility to disable LPT1 for many of the computers in the office, then using net use to re-map the LPT1 port to a network queue. This is well documented and works. My problem is that a few computers in the office will not allow me to disable the LPT1 port. When I check the LPT1 setting in Control Panel it is “greyed out” so I can’t disable it there either. I’ve done numerous “google” searches but come up without any information about this issue.
    Any info would be appreciated - Eric

  5. Administrator
    March 1st, 2006 02:49
    5

    Is the users been assigned Administrator rights?

  6. Eric
    March 1st, 2006 04:44
    6

    Hi - the users do not have Admin rights to the machine - but I do as a local IT support person but it is still “greyed-out” for me. Further I had one of the NTAdmins (full power over the NT LAN) try by logging on to the machine - still greyed-out. We obtained the local Admin password and still greyed-out. No one at any level in the oganization can log in and disable the LPT1 port through either the Device Manager or through devcon utility - strange! The NTAdmins in the organization are still stratching their heads. I thought I may find the solution through some user groups.
    Any other suggestions are appreciated.
    Eric

  7. Jonathan
    May 21st, 2006 10:25
    7

    The devcon utility is a waste of time. It also requires local admin rights to run.

    The easiest way around this problem is to go to device manager, and change the properties for the LPT1 port and change to LPT2, or any other port you are not using.

    Once this has been done, any unpriviledged user can map LPT1.

    Cheers,

    Jonathan.

  8. Eric2
    August 22nd, 2006 22:12
    8

    I agree with Jonathan, changing the LPT1 port settings to use LPT2 allows LPT1 to be accessed and works very nicely. It’s amazing how many ancient DOS 16 bit apps are still floating around needing these types of workarounds.

  9. Doug P
    December 12th, 2006 23:39
    9

    Disabling LPT1 in device manager or the BIOS will work also. Of course this will not allow a user to switch back and forth between a local and network printer if they have that requirement.

  10. Martyn
    February 25th, 2007 02:24
    10

    Well here we go again. If you think we have problems with the net use in XP /2003 wait until you try vista.. The Net Use work great in a parent
    but try handing it down to a child and guess what! its not available.. What does this mean!! Well anybody running a 16-bit dos program currently will not see any redir’s when you have redirected to a usb port. For excample open a command box (Dos Box) type: Net Use Lpt2: \\servername\printername /persistent:yes then do a dir *.* > lpt2 works great ! Now start your dos application and try to print to the same lpt port… Read write error or I/O error.. The reason.. When your dos application starts it becomes the child application and permissions do not pass to the child.. Can you change this? NO at least I have not been able

    ahh just a few moments with uncle bill would be nice.. Let me know if there is a fix for this .
    I will post anyhing I find.. Currently working with MS as I’m not the first guy to run into this.. cheers all

  11. Lars Høiberg
    March 4th, 2007 18:26
    11

    ok same problem, printer not ready in vista 16 bit dos program, BUT I GOT MY NETWORK PRINTER to print from DOS in Vista… under propeties for the shared printer use printergroup in the botton, mark the “network printer” AND mark “LPT 1″, then it works….But but but, when you restart the pc, same problem is there again, any there can find solution for this….

  12. thanh Tung
    April 14th, 2007 11:08
    12

    I have a problem with lpt also. When I use net use command, it’s say ok, but I still cannot print. My network deltail: computer1 connect direct to HP laser 1320 by USB and share this printer with name’s hplaserj (default share name). Computer2: I install hp 1320 driver in LPT2. I use command: net use lpt2: \\computer1\hplaserj.
    I have check it is map OK, but I still cannot printing.

    I thinks have some virus in my network, but I can’t find out it. Somebody have any idea??

    Thanks so much.
    If Someone have some idea please send mail to me: thanhtung0811@yahoo.com.

  13. Angela
    June 8th, 2007 04:36
    13

    Check and see if you have an error message in your printer queue if so delete it out, because the errors are holding up the rest of your print jobs also PowerPoint presentation
    take long to spoon.

  14. kuldeep
    September 8th, 2007 15:01
    14

    System error 1202 has occurred. The local device name has a remembered connection to another network resource

  15. JasonN
    September 27th, 2007 22:23
    15

    @ Kuldeep:
    try “net use lpt1″ to see what your LPT1 thinks it is.

    otherwise delete your LPT mapping by running “net use lpt1 /d” If you’re gonna script the delete you might need to add a /y or a /yes to confirm (can’t remember which)

  16. john from www.imcco.net
    May 20th, 2008 02:26
    16

    XP Pro solution to net use … issue

    One caveat that may not work for you:
    You must disable LPT1 on the bios of the affected XP workstation

    this worked for me!

    yes, Just disable the LPT1 in the bios.

    You may also try changing it to lpt2- i did not test that

    I AM the man!!!

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

net use lpt1 - net use lpt - net use lpt1: - all - "NET USE LPT1" - net use lpt1 XP - net use lpt1 vista - net use lpt1 windows Xp - openawindow.net - "net use" vista - net use lpt2 - LPT1 - net use lpt3 - net use lpt1 password - NET USE LPT1 ACCESS DENIED - UNABLE TO MAP PORT - net use xp - net use lpt access denied - capture lpt1 - net use lpt1 user - net use lpt1 - vista "net use" - net use lpt password - "net use lpt" - net use - net use lpt1 access is denied - map usb to lpt - net use windows xp - net use lpt1 system error 5 - lpt1 xp - pnp0401 - net use lpt1: \ - NET USE LPT VISTA - net use lpt1 error 5 - net use access denied - "net use lpt1:" - map usb to lpt1 - map lpt1 to usb - map lpt port - lpt1 access denied - net use lpt1 invalid password - capture lpt1 windows xp - net share lpt1 - allow power users group to map printers - net use LPT1 gpo - vista net use LPT1 - "system error 5 has occured" - windows xp net use lpt1 - map lpt1 to network printer - capture lpt1 in windows xp - devcon disable *PNP0401 - DEVCON LPT1 - net use system error 5 - redirect lpt1 to usb - Access denied LPT1 - windows xp map lpt1 - xp capture lpt1 - xp lpt1 - capture LPT1 xp - "net use lpt1" xp - "net use" "the password is invalid" - net use for lpt1 - net use lpt1 password is invalid - net use lpt1 password - map net print to lpt windows xp - "usb to lpt1" - Net Use Lpt1 Problem - net use lpt1 rights - net use lpt1 on XP - net use lpt: - net use lpt to usb - "net use" lpt1 - net use lpt1: password - net use lpt1 error - map lpt1 -