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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

net use lpt1: user/password prompt

Status
Not open for further replies.

ag6969

Technical User
Jun 4, 2001
85
CA
I am moving our clients to Windows XP in the near future, and need to map lpt1 to a printer on the server. I set this up in the logon script:

net use lpt1: \\server\printer

However, during the script processing, it's asking for a username then a password. Is there anyway to get rid of this for a normal user? Administrator doesn't get prompted, but I definitely don't want everybody to have admin access!
I just want the script to process without any user intervention.

Thanks
 
Why do you want to map LPT1 to a printer on the server? Why not just share the printer then map it normally?

HTH!

--James
 
Make sure your users have permission to print to your printer.
 
I had this problem as well when moving to xp. I ended up disabeling the lpt port in the bios. I was no longer prompted.
 
Thanks for the help. I will try disabling the port in the BIOS as mlandsittel suggested. To answer your questions:
Yes - all users have permission to use the printer, as they can set it up manually in the Add Printer Wizard. It can be set up by selecting network printer, etc.
Yes - the printer has been shared, but we have an application that uses the printer like a DOS app, so I need to make sure the lpt1: port gets redirected. This is not an issue with Win98 systems, only XP. I tried using the /user:username switch, but doesn't help. It's obviuosly a matter of the user not being allowed to fiddle with hardware (which is a good thing usually)unless they have admin rights.

Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top