Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble with Net Use to map a Win2k server print queue on WinXP Pro 1

Status
Not open for further replies.

mskennicutt

IS-IT--Management
Oct 18, 2002
59
US
Whenever I have used 'net use' in the past on Win2k Pro machines to map print queues to lpt ports I have been able to do so with any domain account, but I now have 15 new XP Pro computers (all these computers have been added to my Windows 2000 domain) who will not let me do a simple net use command unless I am logged onto the XP Pro computer with a domain admin account??? What gives? Is this Bill Gates' subtle way of trying to convince me to upgrade to XP server?

DETAILS:
On the XP Pro box I type:
net use lpt1: \\rms2k\printq_6
Response:
The Password is invalid for \\rms2k\printq_6
Enter user for 'rms2k': (I enter domain admin account... I've tried using fully qualified name and just the name)
Enter password for 'rms2k' (I enter the domain admin password)
Response:
System error 5 has occured
Access is denied.

Grrrrrrrrrr....
 
I have a similar problem however I have a dos app that requires two printers on a 98 se workstation and I need to map them as LPT5 and LPT6 on an xp pro workstation.

any suggestions?
 
You need to modify the registry to add lpt1 ports > 3 and < 10. This small batch file will add lpt4, lpt5, lpt6, lpt7, lpt8 and lpt9 for you:

@echo off
setlocal
@echo REGEDIT4>%temp%\LPT.REG
@echo.>>%temp%\LPT.REG
@echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports]>>%temp%\LPT.REG
do @echo &quot;LPT%%i:&quot;=&quot;&quot;>>%temp%\LPT.REG
@echo.>>%temp%\LPT.REG
regedit /s %temp%\LPT.REG
net stop spooler
net start spooler
endlocal


You can adjust the lpt assignments by editing this portion of the above &quot;for /l %%i in (4,1,9)&quot; changing 4 to some other start value, and 9 to some other end value. In you specific case it would read 5,1,6 to add lpt5 and lpt6.

 
Anybody actually resolved this problem?

I disabled LPT1 - yes I can now get 'net use' to work but now I get an error when printing. No info given with error, just 'Error - printing' in the LPT1 printer box...
 
I fixed this by adding the dos printer to lpt2 now I also had to go into my dos app and change it to lpt1. Try that DMOLL
 
I was wondering if this issue is present only in Xp sp1.
I started experiencing this issue with my last purchase of pc's that came with xp sp2. Coincedently i went to a machine that was running xp to try the above mentioned solutions and i did not get the error and was able to map fine without admin privilage. then i realized that it had sp1

 
Did anyone ever come up with a solution for the original problem? Or is it just something microsoft will never fix?

Envision's tip works for me for the moment, because I only have a small number of XP workstations. But I can't say I want to go around disabling the LPT1 port on every workstation when we get more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top