Unable to Map (Net Use) LPT1 in Windows XP Unable to Map (Net Use) LPT1 in Windows XP
Whenever try to perform “net use lpt1″ command, the system cannot and unable map to the printer share/queue properly. Wann immer versuchen, "net use lpt1"-Befehl, kann das System nicht, und nicht in der Lage Karte an den Drucker share / Warteschlange. Instead, it will prompts you for user id and password (if no user id and/or password is specified when issued net use commad). Stattdessen wird sie fordert Sie auf, Benutzer-ID und Passwort (falls keine Benutzer-ID und / oder Passwort angegeben wird bei der Ausstellung net use commad). For example, Zum Beispiel,
Command Prompt:\> net use lpt1: \\computer_name\printer Eingabeaufforderung: \> net use lpt1: \ \ Computername \ Drucker
The password is invalid for \\computer_name\printer. Das Kennwort ist ungültig für \ \ Computername \ Drucker.
Enter the user name for ‘computer_name’: user Geben Sie den Benutzernamen für "Computername": user
Enter the password for ‘computer_name’: Geben Sie das Passwort für "Computername":
System error 5 has occured. Systemfehler 5 aufgetreten ist.
Access is denied. Zugriff verweigert.
To make matter worse, no matter what security settings and permissions you have changed, the net use command simply is not working. Um die Sache noch schlimmer, egal welche Sicherheitseinstellungen und Berechtigungen Sie geändert haben, die net use Befehl einfach nicht funktioniert.
The reason for this issue is because in Windows XP and Windows Server 2003, non-administrators cannot remap an LPT port to a network printer, when the LPT port is already assigned to the local parallel port. Der Grund für dieses Problem liegt daran, dass in Windows XP und Windows Server 2003, Nicht-Administratoren können nicht remap ein LPT-Schnittstelle vom Computer in einem Netzwerk Drucker, wenn der LPT-Port ist bereits für die lokale parallele Schnittstelle. In other words, only a member of the Administrators group can use the net use command tomap the LPT port for a local (hardware) parallel port to a network printer. Mit anderen Worten, nur ein Mitglied der Gruppe Administratoren können mit dem Befehl net use tomap der LPT-Port für ein lokales (Hardware) Parallel-Port an einen Netzwerk-Drucker. According to Microsoft, this behaviour is desinged to help improve security. Laut Microsoft, dieses Verhalten ist komplett neu einen Beitrag zur Verbesserung der Sicherheit.
Solutions Lösungen
To solve the cannot net use lpt1 problem, there are several ways: Zur Behebung der kann nicht net use lpt1 Problem gibt es mehrere Möglichkeiten:
- Log on as an administrator Melden Sie sich als Administrator
- Use the devcon disable *PNP0401 command to disable the LPT port mapping to the local parallel port when the computer starts. Verwenden Sie die devcon deaktivieren * PNP0401 Befehl zum Deaktivieren der LPT-Port-Mapping auf den lokalen Parallel-Port, wenn der Computer startet. The devcon disable *PNP0401 command is for LPT1. Die devcon deaktivieren * PNP0401 Befehl ist für LPT1. To find the hardware ID for other LPT ports, use the devcon findall * command. So ermitteln Sie die Hardware-ID für andere LPT-Ports, verwenden Sie die devcon findall * Kommando. The devcon command must run when the computer starts. Die devcon Befehl muss ausgeführt werden, wenn der Computer startet. For a computer in a domain, you can set up Group Policy to run devcon as a computer startup script. Für einen Computer in einer Domäne, können Sie Gruppenrichtlinie, um devcon als Computer-Startskript. To set Group Policy, open the appropriate group policy, open Computer Configuration\Windows Settings\Scripts (Startup/Shutdown)\Startup, and then add the command. Um die Gruppenrichtlinie festlegen, öffnen Sie die entsprechende Gruppe Politik, öffnen Sie Computerkonfiguration \ Windows-Einstellungen \ Skripts (Start / Herunterfahren) \ Startup, und fügen Sie dann den Befehl. Alternatively, the command can be run individually at each workstation by adding a command to Startup folder for All Users or particular users. Alternativ kann der Befehl ausgeführt werden kann, individuell auf jeder Workstation, indem Sie ein Kommando zum Autostart-Ordner für alle Benutzer oder bestimmte Benutzer. Devcon utility can be found Devcon Utility finden here with its information hier mit seiner Informations - .
- 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. Wenn Ihr Programm drucken können, um die LPT2-Port oder der Port LPT3, verwenden Sie den Befehl net use, um das Netzwerk an den Drucker-Port LPT2 oder LPT3 der Hafen. 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.” Die meisten Computer haben keine physische LPT2 oder LPT3-Ports, so dass ein nicht-Administrator kann Karte ein LPT2-Port oder einen Port LPT3 auf einem Netzwerk-Drucker. "
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. WICHTIG: Es handelt sich um eine Maschine der Seite übersetzt wird "as is" ohne Garantie. Machine translation may be difficult to understand. Maschinelle Übersetzung ist vielleicht schwierig zu verstehen. Please refer to Bitte wenden Sie sich an original English article Original Englisch Artikel whenever possible. wann immer dies möglich ist.
Share and contribute or get technical support and help at Aktie und einen Beitrag oder erhalten technische Unterstützung und Hilfe an My Digital Life Forums Meine digitalen Lebens Foren .
Related Articles Verwandte Artikel
- Memory-Map Topo PC and Pocket PC Software Review by Geekzone Memory-Karte Topo PC und Pocket PC-Software Überprüfung durch Geekzone
- Relevantis Launches Map Advertising Relevantis startet Karte Werbung
- Free Download: Microsoft Pro Photo Tools Version 1 with Geotag Metadata Support Kostenloser Download: Microsoft Photo Pro Tools Version mit 1 Geotag Metadata Support
- View Google Earth in Web Browser plus Easy Switching with Alternative Satellite and Aerial Mapping Services with Flash Earth Sehen Sie Google Earth im Web-Browser sowie einfache Umschalten mit alternativen Satelliten-und Luftbilder-Mapping-Services mit Flash Earth
- Using Character Map (charmap) to Type and Input Special Characters and Accents in Windows Vista Verwenden Zeichentabelle (Charmap) zu schreiben und Input Sonderzeichen und Akzente in Windows Vista
- France Maps and Satellite Images via Geoportail.fr Frankreich Karten und Satellitenbilder über Geoportail.fr
- Workaround for Slow Large File Copying and Transfering To and From Vista PC Workaround für langsame große Datei Kopieren und Übertragen zu und von Vista-PC
- Mars Map on Google Mars-Karte bei Google
- Unable to Connect to Internet in Virtual PC with NAT Shared Networking NAT on Windows XP Guest Es konnte keine Verbindung zum Internet im Virtual PC mit NAT-Shared Networking NAT unter Windows XP Bewertung
- OFXIE12007 Microsoft Money 2007 Unable to Connect Error OFXIE12007 Microsoft Money 2007 nicht in der Lage, eine Verbindung Fehler



February 3rd, 2006 04:33 3. Februar 2006 04.33 Uhr
Thanks for posting this! Vielen Dank für dieses Posting! I never would have thought to use devcon. Ich hätte nie gedacht zu verwenden devcon.
I’ve been trying (in vain) to tighten security on our network. Ich habe versucht (vergeblich) zur Verschärfung der Sicherheit in unserem Netzwerk. And I am absolutely befuddled as to why Microsoft is so adament about having its users run as Administrators on Windows XP workstations. Und ich bin absolut befuddled, warum Microsoft so adament darum, ihren Nutzern als "Administratoren" laufen auf Windows XP-Workstations. Come guys… I rather a system allow for LPT port redirects then having everyone run as the God user. Kommen Jungs… ich eher ein System für LPT-Port-Weiterleitungen dann haben alle laufen als der Gott Benutzer.
Anyways… I’ve been working on logon scripts for OU’s in our domain. Auch immer… Ich habe seit über Anmeldeskripts für OU's in unserer Domäne. LPT redirects work just fine when the logged in user has admin rights. LPT-Weiterleitungen funktionieren gut, wenn der angemeldete Benutzer hat im Admin-Rechte. But! Aber! LPT redirects still aren’t working (for even power users) even when there isn’ta locally defined LPT port. LPT-Weiterleitungen sind noch nicht funktioniert (auch für Power-User), auch wenn es kein lokal definierten LPT-Port.
And (perhaps on a related note), devcon doesn’t seem to work for my login scripts. Und (vielleicht in diesem Zusammenhang sei bemerkt), devcon scheint nicht zu funktionieren für meine Login-Skripte. Here’s what I’m trying: Hier ist es, was ich bin versucht:
I have devcon.exe copied to my NETLOGON share Ich habe devcon.exe kopiert meine Freigabe NETLOGON
I map L: to \\server\NETLOGON Ich Karte L: \ \ Server \ Netlogon
In my logon script I run: In meinem Anmeldeskript ich:
PATH = L:\ PATH = L: \
devcon disable *PNP0401 Devcon deaktivieren * PNP0401
Any ideas?! Irgendwelche Ideen?
February 3rd, 2006 15:28 3. Februar, 2006 15:28
I believe devcon needs administrative rights too to function properly. Ich glaube, devcon braucht administrative Rechte auch ordnungsgemäß funktioniert.
February 6th, 2006 23:03 6. Februar 2006 23:03
Think I figured it out… Ich denke, figured it out…
As far as I can tell, LPT port disable seems to be working. Soweit ich das beurteilen kann sagen, LPT-Port deaktivieren, scheint zu funktionieren. Forget about using the PATH command and just use START. Vergessen Sie über die Verwendung der PATH-Befehl und nur Nutzungsbestimmungen Start.
Example: Beispiel:
START L:\devcon\disable *PNP0401 START-L: \ devcon \ deaktivieren * PNP0401
Hope this helps anyone else who’sa bit rusty with batch files Hope this helps anyone else who'sa Bit rostig mit Batch-Dateien
February 28th, 2006 22:14 28. Februar 2006 22:14
Hi Guys. 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. Ich habe mit der devcon Dienstprogramm zum Deaktivieren von LPT1 für viele von den Computern im Büro, dann mit net use zur Wiederherstellung der Karte LPT1 zu einem Netzwerk Warteschlange. This is well documented and works. Dies ist gut dokumentiert und arbeitet. My problem is that a few computers in the office will not allow me to disable the LPT1 port. Mein Problem ist, dass ein paar Computer im Büro wird nicht zulassen, dass mir zu deaktivieren Sie die LPT1. When I check the LPT1 setting in Control Panel it is “greyed out” so I can’t disable it there either. Wenn ich den LPT1-Einstellung in der Systemsteuerung ist es "grau" und deshalb kann ich nicht deaktivieren, gibt es entweder. I’ve done numerous “google” searches but come up without any information about this issue. Ich habe zahlreiche "google" sucht, sondern kommen ohne jegliche Informationen zu diesem Thema.
Any info would be appreciated - Eric Alle Infos wären wir jedoch dankbar - Eric
March 1st, 2006 02:49 1. März 2006 02:49
Is the users been assigned Administrator rights? Ist der Benutzer zugewiesen wurde Administrator-Rechte?
March 1st, 2006 04:44 1. März 2006 04:44
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. Hi - die Benutzer nicht über Admin-Rechte auf der Maschine - aber ich als lokale IT-Unterstützung Person, aber es ist immer noch "grau-out" für mich. Further I had one of the NTAdmins (full power over the NT LAN) try by logging on to the machine - still greyed-out. Weitere Ich hatte eine der NTAdmins (volle Macht über die NT-LAN) zu versuchen, indem Sie sich auf der Maschine - immer noch grau-Out. We obtained the local Admin password and still greyed-out. Wir erhalten die lokalen Admin-Passwort und immer noch grau-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! Niemand auf allen Ebenen in die oganization können sich anmelden und deaktivieren Sie die LPT1 entweder durch den Geräte-Manager oder durch devcon Utility - seltsam! The NTAdmins in the organization are still stratching their heads. Die NTAdmins in der Organisation nach wie vor stratching ihre Köpfe. I thought I may find the solution through some user groups. Ich dachte, ich kann die Lösung durch einige Benutzergruppen.
Any other suggestions are appreciated. Jede andere Anregungen sind erwünscht.
Eric
May 21st, 2006 10:25 21. Mai 2006 10:25
The devcon utility is a waste of time. Die devcon Dienstprogramm ist eine Verschwendung von Zeit. It also requires local admin rights to run. Es erfordert auch lokale Admin-Rechte zu laufen.
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. Der einfachste Weg, um dieses Problem zu umgehen ist, sich auf Geräte-Manager, und ändern Sie die Eigenschaften für den LPT1 und LPT2 zu ändern, oder jeder anderen Anschluss, den Sie nicht verwenden.
Once this has been done, any unpriviledged user can map LPT1. Sobald dies getan wurde, jeder Benutzer kann unpriviledged Karte LPT1.
Cheers, Prost,
Jonathan.
August 22nd, 2006 22:12 22. Aug 2006 22:12
I agree with Jonathan, changing the LPT1 port settings to use LPT2 allows LPT1 to be accessed and works very nicely. Ich stimme mit Jonathan, der sich verändernden LPT1-Einstellungen anzupassen, dass sie LPT2 erlaubt LPT1 zugegriffen werden soll und funktioniert sehr gut. It’s amazing how many ancient DOS 16 bit apps are still floating around needing these types of workarounds. Es ist erstaunlich, wie viele alte DOS 16-Bit-Anwendungen werden immer noch rund schwimmende benötigen diese Art von Workarounds.
December 12th, 2006 23:39 12. Dez 2006 23:39
Disabling LPT1 in device manager or the BIOS will work also. Deaktivieren LPT1 im Geräte-Manager oder das BIOS funktioniert auch. Of course this will not allow a user to switch back and forth between a local and network printer if they have that requirement. Natürlich wird dies nicht zulassen, dass ein Benutzer zu wechseln hin und her zwischen einer lokalen und Netzwerk-Drucker, wenn sie diesem Erfordernis.
February 25th, 2007 02:24 25. Februar 2007 02:24
Well here we go again. Nun hier we go again. If you think we have problems with the net use in XP /2003 wait until you try vista.. Wenn Sie denken, dass wir Probleme haben mit der net use in XP / 2003 warten, bis Sie versuchen vista .. The Net Use work great in a parent Der Net Verwenden Sie arbeiten in einer großen übergeordneten
but try handing it down to a child and guess what! aber versuchen Aushändigung es in eine Kinder-und erraten, was! its not available.. seine nicht verfügbar .. What does this mean!! Was bedeutet das! Well anybody running a 16-bit dos program currently will not see any redir’s when you have redirected to a usb port. Nun jemand mit einer 16-Bit-DOS-Programm wird derzeit keine redir's, wenn Sie umgeleitet haben, mit einem USB-Anschluss. For excample open a command box (Dos Box) type: Net Use Lpt2: \\servername\printername /persistent:yes then do a dir *.* > lpt2 works great ! Für excample öffnet sich ein Kommando Box (DOS-Box) Art: net use LPT2: \ \ Servername \ Druckername / persistent: ja dann ein Richt *.*> lpt2 works great! Now start your dos application and try to print to the same lpt port… Read write error or I/O error.. Starten Sie nun Ihre DOS-Anwendung und versuchen Sie es zum Drucken auf der gleichen LPT-Port… Lesen Schreiben Fehler oder I / O-Fehler .. The reason.. Der Grund .. When your dos application starts it becomes the child application and permissions do not pass to the child.. Wenn Sie Ihre DOS-Anwendung gestartet wird es das Kind Anwendung und Berechtigungen nicht auf das Kind .. Can you change this? Kann man das ändern? NO at least I have not been able NR zumindest habe ich nicht in der Lage gewesen
ahh just a few moments with uncle bill would be nice.. ahh nur ein paar Momente mit Onkel Rechnung wäre schön .. Let me know if there is a fix for this . Lassen Sie es mich wissen, wenn es eine Lösung für dieses.
I will post anyhing I find.. Ich werde nach anyhing Ich finde .. Currently working with MS as I’m not the first guy to run into this.. Derzeit arbeitet mit MS, wie ich bin nicht der erste Mann, um in diesem .. cheers all cheers alle
March 4th, 2007 18:26 4. März, 2007 18:26
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…. ok gleiche Problem, Drucker nicht bereit in Vista 16-Bit-DOS-Programm, aber ich bekam meinen Netzwerkdrucker drucken, von DOS in Vista… unter propeties für den freigegebenen Drucker verwenden printergroup im unteren Rand des Kleidungsstücks, markieren Sie die "Netzwerk-Drucker" und markieren Sie "LPT 1 ", Dann funktioniert es…. Aber, aber, aber, wenn Sie Starten Sie den PC neu, gleiche Problem ist wieder da, jeder kann es eine Lösung für dieses….
April 14th, 2007 11:08 14. April 2007 11:08
I have a problem with lpt also. Ich habe ein Problem mit lpt auch. When I use net use command, it’s say ok, but I still cannot print. Wenn ich Befehl net use, it's sagen, ok, aber ich kann immer noch nicht gedruckt. My network deltail: computer1 connect direct to HP laser 1320 by USB and share this printer with name’s hplaserj (default share name). Mein Netzwerk deltail: computer1 Direkter Anschluss an HP Laser 1320 per USB-und teilen diesen Drucker mit dem Namen des hplaserj (Standard Freigabenamen). Computer2: I install hp 1320 driver in LPT2. Computer2: Ich installieren Treiber PS 1320 in LPT2. I use command: net use lpt2: \\computer1\hplaserj. Ich benutze Befehl ein: net use lpt2: \ \ computer1 \ hplaserj.
I have check it is map OK, but I still cannot printing. Ich habe check it Karte ist OK, aber ich kann immer noch nicht drucken.
I thinks have some virus in my network, but I can’t find out it. Ich habe einige denkt Virus in meinem Netzwerk, aber ich kann nicht herausfinden. Somebody have any idea?? Jemand hat eine Idee?
Thanks so much. Thanks so much.
If Someone have some idea please send mail to me: Wenn jemand eine Idee haben, wenden Sie sich bitte per Mail an mich: thanhtung0811@yahoo.com .
June 8th, 2007 04:36 8. Juni 2007 04:36
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 Überprüfen Sie und sehen Sie, wenn Sie eine Fehlermeldung in Ihrem Drucker-Queue löschen, wenn es so aus, denn die Fehler sind, bis der Rest Ihres Druckjobs auch PowerPoint-Präsentation
take long to spoon. zu lange dauern Löffel.
September 8th, 2007 15:01 8. September 2007 15:01
System error 1202 has occurred. Systemfehler 1202 ist aufgetreten. The local device name has a remembered connection to another network resource Die lokale Gerät hat einen Namen erinnern Verbindung zu einem anderen Netzwerk-Ressource
September 27th, 2007 22:23 27. September 2007 22:23
@ Kuldeep: @ Kuldeep:
try “net use lpt1″ to see what your LPT1 thinks it is. versuchen Sie "net use lpt1", um zu sehen, was Ihr denkt, LPT1 es ist.
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) ansonsten löschen Ihre LPT-Mapping, indem Sie "net use lpt1 / d" Wenn Sie das Skript gonna löschen Sie könnten nötig sein, zusätzliche a / y "oder" a / ja bestätigen (kann nicht mehr erinnern, welche)
May 20th, 2008 02:26 20. Mai 2008 02:26
XP Pro solution to net use … issue XP Pro Lösung net use Problem…
One caveat that may not work for you: Ein Vorbehalt, dass möglicherweise nicht für Sie:
You must disable LPT1 on the bios of the affected XP workstation Sie müssen deaktivieren LPT1 über das BIOS des betroffenen XP Workstation
this worked for me! Das funktionierte problemlos bei mir!
yes, Just disable the LPT1 in the bios. ja, deaktivieren Sie einfach den LPT1 im BIOS.
You may also try changing it to lpt2- i did not test that Sie könnten auch versuchen Sie es zu lpt2-Ich habe das nicht testen
I AM the man!!! Ich bin der Mann!